1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 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
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 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
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3383 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3384 // define a dummy class for builds that don't have wxSearchCtrl
3387 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3388 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3391 class wxSearchCtrl
: public wxTextCtrl
3394 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3395 wxSearchCtrl(wxWindow
*, wxWindowID
,
3401 const wxString
& name
)
3402 { wxPyRaiseNotImplemented(); }
3404 bool Create( wxWindow
*, wxWindowID
,
3410 const wxString
& name
) {}
3412 virtual void SetMenu( wxMenu
* ) {}
3413 virtual wxMenu
* GetMenu() { return NULL
; }
3415 // get/set search options
3416 // ----------------------
3417 virtual void ShowSearchButton( bool ) {}
3418 virtual bool IsSearchButtonVisible() const { return false; }
3420 virtual void ShowCancelButton( bool ) {}
3421 virtual bool IsCancelButtonVisible() const { return false; }
3428 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3429 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3434 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3435 PyObject
*pyobj
= 0;
3439 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3441 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3448 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
= 0;
3450 wxWindow
*arg1
= (wxWindow
*) 0 ;
3451 int arg2
= (int) -1 ;
3452 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3453 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3454 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3455 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3456 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3457 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3458 long arg6
= (long) 0 ;
3459 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3460 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3461 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3462 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3463 wxButton
*result
= 0 ;
3468 bool temp3
= false ;
3475 bool temp8
= false ;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3478 PyObject
* obj2
= 0 ;
3479 PyObject
* obj3
= 0 ;
3480 PyObject
* obj4
= 0 ;
3481 PyObject
* obj5
= 0 ;
3482 PyObject
* obj6
= 0 ;
3483 PyObject
* obj7
= 0 ;
3484 char * kwnames
[] = {
3485 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3490 if (!SWIG_IsOK(res1
)) {
3491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3493 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3496 if (!SWIG_IsOK(ecode2
)) {
3497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3499 arg2
= static_cast< int >(val2
);
3503 arg3
= wxString_in_helper(obj2
);
3504 if (arg3
== NULL
) SWIG_fail
;
3511 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3517 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3521 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3522 if (!SWIG_IsOK(ecode6
)) {
3523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3525 arg6
= static_cast< long >(val6
);
3528 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3529 if (!SWIG_IsOK(res7
)) {
3530 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3535 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3539 arg8
= wxString_in_helper(obj7
);
3540 if (arg8
== NULL
) SWIG_fail
;
3545 if (!wxPyCheckForApp()) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3574 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3575 PyObject
*resultobj
= 0;
3576 wxButton
*result
= 0 ;
3578 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3580 if (!wxPyCheckForApp()) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (wxButton
*)new wxButton();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3593 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
= 0;
3595 wxButton
*arg1
= (wxButton
*) 0 ;
3596 wxWindow
*arg2
= (wxWindow
*) 0 ;
3597 int arg3
= (int) -1 ;
3598 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3599 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3600 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3601 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3602 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3603 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3604 long arg7
= (long) 0 ;
3605 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3606 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3607 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3608 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3616 bool temp4
= false ;
3623 bool temp9
= false ;
3624 PyObject
* obj0
= 0 ;
3625 PyObject
* obj1
= 0 ;
3626 PyObject
* obj2
= 0 ;
3627 PyObject
* obj3
= 0 ;
3628 PyObject
* obj4
= 0 ;
3629 PyObject
* obj5
= 0 ;
3630 PyObject
* obj6
= 0 ;
3631 PyObject
* obj7
= 0 ;
3632 PyObject
* obj8
= 0 ;
3633 char * kwnames
[] = {
3634 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3639 if (!SWIG_IsOK(res1
)) {
3640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3642 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3644 if (!SWIG_IsOK(res2
)) {
3645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3647 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3650 if (!SWIG_IsOK(ecode3
)) {
3651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3653 arg3
= static_cast< int >(val3
);
3657 arg4
= wxString_in_helper(obj3
);
3658 if (arg4
== NULL
) SWIG_fail
;
3665 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3671 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3675 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3676 if (!SWIG_IsOK(ecode7
)) {
3677 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3679 arg7
= static_cast< long >(val7
);
3682 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3683 if (!SWIG_IsOK(res8
)) {
3684 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3689 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3693 arg9
= wxString_in_helper(obj8
);
3694 if (arg9
== NULL
) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3729 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3730 PyObject
*resultobj
= 0;
3731 wxButton
*arg1
= (wxButton
*) 0 ;
3734 PyObject
*swig_obj
[1] ;
3736 if (!args
) SWIG_fail
;
3738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3739 if (!SWIG_IsOK(res1
)) {
3740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3742 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 (arg1
)->SetDefault();
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= SWIG_Py_Void();
3756 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3757 PyObject
*resultobj
= 0;
3760 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= wxButton::GetDefaultSize();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3774 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
= 0;
3776 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3777 SwigValueWrapper
<wxVisualAttributes
> result
;
3780 PyObject
* obj0
= 0 ;
3781 char * kwnames
[] = {
3782 (char *) "variant", NULL
3785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3787 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3788 if (!SWIG_IsOK(ecode1
)) {
3789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3791 arg1
= static_cast< wxWindowVariant
>(val1
);
3794 if (!wxPyCheckForApp()) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 result
= wxButton::GetClassDefaultAttributes(arg1
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3807 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3810 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3811 return SWIG_Py_Void();
3814 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3815 return SWIG_Python_InitShadowInstance(args
);
3818 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
= 0;
3820 wxWindow
*arg1
= (wxWindow
*) 0 ;
3821 int arg2
= (int) -1 ;
3822 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3823 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3828 long arg6
= (long) wxBU_AUTODRAW
;
3829 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3830 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3831 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3832 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3833 wxBitmapButton
*result
= 0 ;
3846 bool temp8
= false ;
3847 PyObject
* obj0
= 0 ;
3848 PyObject
* obj1
= 0 ;
3849 PyObject
* obj2
= 0 ;
3850 PyObject
* obj3
= 0 ;
3851 PyObject
* obj4
= 0 ;
3852 PyObject
* obj5
= 0 ;
3853 PyObject
* obj6
= 0 ;
3854 PyObject
* obj7
= 0 ;
3855 char * kwnames
[] = {
3856 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3861 if (!SWIG_IsOK(res1
)) {
3862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3864 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3867 if (!SWIG_IsOK(ecode2
)) {
3868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3870 arg2
= static_cast< int >(val2
);
3873 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3874 if (!SWIG_IsOK(res3
)) {
3875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3880 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3885 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3891 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3895 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3896 if (!SWIG_IsOK(ecode6
)) {
3897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3899 arg6
= static_cast< long >(val6
);
3902 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3903 if (!SWIG_IsOK(res7
)) {
3904 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3909 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3913 arg8
= wxString_in_helper(obj7
);
3914 if (arg8
== NULL
) SWIG_fail
;
3919 if (!wxPyCheckForApp()) SWIG_fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3940 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3941 PyObject
*resultobj
= 0;
3942 wxBitmapButton
*result
= 0 ;
3944 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3946 if (!wxPyCheckForApp()) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 result
= (wxBitmapButton
*)new wxBitmapButton();
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3959 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
= 0;
3961 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3962 wxWindow
*arg2
= (wxWindow
*) 0 ;
3963 int arg3
= (int) -1 ;
3964 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3965 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3966 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3967 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3968 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3969 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3970 long arg7
= (long) wxBU_AUTODRAW
;
3971 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3972 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3973 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3974 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3990 bool temp9
= false ;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3993 PyObject
* obj2
= 0 ;
3994 PyObject
* obj3
= 0 ;
3995 PyObject
* obj4
= 0 ;
3996 PyObject
* obj5
= 0 ;
3997 PyObject
* obj6
= 0 ;
3998 PyObject
* obj7
= 0 ;
3999 PyObject
* obj8
= 0 ;
4000 char * kwnames
[] = {
4001 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4006 if (!SWIG_IsOK(res1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4009 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4011 if (!SWIG_IsOK(res2
)) {
4012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4014 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4017 if (!SWIG_IsOK(ecode3
)) {
4018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4020 arg3
= static_cast< int >(val3
);
4023 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4024 if (!SWIG_IsOK(res4
)) {
4025 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4030 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4035 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4041 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4045 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4046 if (!SWIG_IsOK(ecode7
)) {
4047 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4049 arg7
= static_cast< long >(val7
);
4052 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4053 if (!SWIG_IsOK(res8
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4059 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4063 arg9
= wxString_in_helper(obj8
);
4064 if (arg9
== NULL
) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4091 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4092 PyObject
*resultobj
= 0;
4093 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4097 PyObject
*swig_obj
[1] ;
4099 if (!args
) SWIG_fail
;
4101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4102 if (!SWIG_IsOK(res1
)) {
4103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4105 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (arg1
)->GetBitmapLabel();
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4119 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4120 PyObject
*resultobj
= 0;
4121 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4125 PyObject
*swig_obj
[1] ;
4127 if (!args
) SWIG_fail
;
4129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4130 if (!SWIG_IsOK(res1
)) {
4131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4133 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (arg1
)->GetBitmapDisabled();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4147 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4148 PyObject
*resultobj
= 0;
4149 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4153 PyObject
*swig_obj
[1] ;
4155 if (!args
) SWIG_fail
;
4157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4158 if (!SWIG_IsOK(res1
)) {
4159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4161 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (arg1
)->GetBitmapFocus();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4175 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4176 PyObject
*resultobj
= 0;
4177 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4181 PyObject
*swig_obj
[1] ;
4183 if (!args
) SWIG_fail
;
4185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4186 if (!SWIG_IsOK(res1
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4189 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (arg1
)->GetBitmapSelected();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4203 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4204 PyObject
*resultobj
= 0;
4205 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4209 PyObject
*swig_obj
[1] ;
4211 if (!args
) SWIG_fail
;
4213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4214 if (!SWIG_IsOK(res1
)) {
4215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4217 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (arg1
)->GetBitmapHover();
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4231 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
= 0;
4233 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4234 wxBitmap
*arg2
= 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4241 char * kwnames
[] = {
4242 (char *) "self",(char *) "bitmap", NULL
4245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4250 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4252 if (!SWIG_IsOK(res2
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4258 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= SWIG_Py_Void();
4272 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
= 0;
4274 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4275 wxBitmap
*arg2
= 0 ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4282 char * kwnames
[] = {
4283 (char *) "self",(char *) "bitmap", NULL
4286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4291 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4293 if (!SWIG_IsOK(res2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4299 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_Py_Void();
4313 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
= 0;
4315 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4316 wxBitmap
*arg2
= 0 ;
4321 PyObject
* obj0
= 0 ;
4322 PyObject
* obj1
= 0 ;
4323 char * kwnames
[] = {
4324 (char *) "self",(char *) "bitmap", NULL
4327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4329 if (!SWIG_IsOK(res1
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4332 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4334 if (!SWIG_IsOK(res2
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4340 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_Py_Void();
4354 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
= 0;
4356 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4357 wxBitmap
*arg2
= 0 ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4364 char * kwnames
[] = {
4365 (char *) "self",(char *) "bitmap", NULL
4368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4370 if (!SWIG_IsOK(res1
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4373 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4375 if (!SWIG_IsOK(res2
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4381 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= SWIG_Py_Void();
4395 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
= 0;
4397 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4398 wxBitmap
*arg2
= 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 char * kwnames
[] = {
4406 (char *) "self",(char *) "hover", NULL
4409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4411 if (!SWIG_IsOK(res1
)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4414 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4416 if (!SWIG_IsOK(res2
)) {
4417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4422 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_Py_Void();
4436 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
= 0;
4438 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4449 PyObject
* obj2
= 0 ;
4450 char * kwnames
[] = {
4451 (char *) "self",(char *) "x",(char *) "y", NULL
4454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4456 if (!SWIG_IsOK(res1
)) {
4457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4459 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4461 if (!SWIG_IsOK(ecode2
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4464 arg2
= static_cast< int >(val2
);
4465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4466 if (!SWIG_IsOK(ecode3
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4469 arg3
= static_cast< int >(val3
);
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 (arg1
)->SetMargins(arg2
,arg3
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_Py_Void();
4483 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4484 PyObject
*resultobj
= 0;
4485 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4489 PyObject
*swig_obj
[1] ;
4491 if (!args
) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4497 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= SWIG_From_int(static_cast< int >(result
));
4511 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4512 PyObject
*resultobj
= 0;
4513 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4517 PyObject
*swig_obj
[1] ;
4519 if (!args
) SWIG_fail
;
4521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4522 if (!SWIG_IsOK(res1
)) {
4523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4525 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= SWIG_From_int(static_cast< int >(result
));
4539 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4542 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4543 return SWIG_Py_Void();
4546 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4547 return SWIG_Python_InitShadowInstance(args
);
4550 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4551 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4556 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4557 PyObject
*pyobj
= 0;
4561 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4563 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4570 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxWindow
*arg1
= (wxWindow
*) 0 ;
4573 int arg2
= (int) -1 ;
4574 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4575 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4580 long arg6
= (long) 0 ;
4581 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4582 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4583 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4584 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4585 wxCheckBox
*result
= 0 ;
4590 bool temp3
= false ;
4597 bool temp8
= false ;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4600 PyObject
* obj2
= 0 ;
4601 PyObject
* obj3
= 0 ;
4602 PyObject
* obj4
= 0 ;
4603 PyObject
* obj5
= 0 ;
4604 PyObject
* obj6
= 0 ;
4605 PyObject
* obj7
= 0 ;
4606 char * kwnames
[] = {
4607 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4612 if (!SWIG_IsOK(res1
)) {
4613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4615 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4618 if (!SWIG_IsOK(ecode2
)) {
4619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4621 arg2
= static_cast< int >(val2
);
4625 arg3
= wxString_in_helper(obj2
);
4626 if (arg3
== NULL
) SWIG_fail
;
4633 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4639 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4643 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4644 if (!SWIG_IsOK(ecode6
)) {
4645 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4647 arg6
= static_cast< long >(val6
);
4650 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4651 if (!SWIG_IsOK(res7
)) {
4652 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4657 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4661 arg8
= wxString_in_helper(obj7
);
4662 if (arg8
== NULL
) SWIG_fail
;
4667 if (!wxPyCheckForApp()) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4696 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4698 wxCheckBox
*result
= 0 ;
4700 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4702 if (!wxPyCheckForApp()) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (wxCheckBox
*)new wxCheckBox();
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4715 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
= 0;
4717 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4718 wxWindow
*arg2
= (wxWindow
*) 0 ;
4719 int arg3
= (int) -1 ;
4720 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4721 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4722 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4723 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4724 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4725 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4726 long arg7
= (long) 0 ;
4727 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4728 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4729 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4730 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4738 bool temp4
= false ;
4745 bool temp9
= false ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4748 PyObject
* obj2
= 0 ;
4749 PyObject
* obj3
= 0 ;
4750 PyObject
* obj4
= 0 ;
4751 PyObject
* obj5
= 0 ;
4752 PyObject
* obj6
= 0 ;
4753 PyObject
* obj7
= 0 ;
4754 PyObject
* obj8
= 0 ;
4755 char * kwnames
[] = {
4756 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4761 if (!SWIG_IsOK(res1
)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4764 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4766 if (!SWIG_IsOK(res2
)) {
4767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4769 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4772 if (!SWIG_IsOK(ecode3
)) {
4773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4775 arg3
= static_cast< int >(val3
);
4779 arg4
= wxString_in_helper(obj3
);
4780 if (arg4
== NULL
) SWIG_fail
;
4787 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4793 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4797 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4798 if (!SWIG_IsOK(ecode7
)) {
4799 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4801 arg7
= static_cast< long >(val7
);
4804 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4805 if (!SWIG_IsOK(res8
)) {
4806 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4811 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4815 arg9
= wxString_in_helper(obj8
);
4816 if (arg9
== NULL
) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4851 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4852 PyObject
*resultobj
= 0;
4853 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4857 PyObject
*swig_obj
[1] ;
4859 if (!args
) SWIG_fail
;
4861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4862 if (!SWIG_IsOK(res1
)) {
4863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4865 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (bool)(arg1
)->GetValue();
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4881 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4882 PyObject
*resultobj
= 0;
4883 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4887 PyObject
*swig_obj
[1] ;
4889 if (!args
) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4895 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (bool)(arg1
)->IsChecked();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4911 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
= 0;
4913 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 char * kwnames
[] = {
4922 (char *) "self",(char *) "state", NULL
4925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4927 if (!SWIG_IsOK(res1
)) {
4928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4930 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4932 if (!SWIG_IsOK(ecode2
)) {
4933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4935 arg2
= static_cast< bool >(val2
);
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 (arg1
)->SetValue(arg2
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= SWIG_Py_Void();
4949 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4950 PyObject
*resultobj
= 0;
4951 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4952 wxCheckBoxState result
;
4955 PyObject
*swig_obj
[1] ;
4957 if (!args
) SWIG_fail
;
4959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4960 if (!SWIG_IsOK(res1
)) {
4961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4963 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_From_int(static_cast< int >(result
));
4977 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
= 0;
4979 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4980 wxCheckBoxState arg2
;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4987 char * kwnames
[] = {
4988 (char *) "self",(char *) "state", NULL
4991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4993 if (!SWIG_IsOK(res1
)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4996 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4998 if (!SWIG_IsOK(ecode2
)) {
4999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5001 arg2
= static_cast< wxCheckBoxState
>(val2
);
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 (arg1
)->Set3StateValue(arg2
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_Py_Void();
5015 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5016 PyObject
*resultobj
= 0;
5017 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5021 PyObject
*swig_obj
[1] ;
5023 if (!args
) SWIG_fail
;
5025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5026 if (!SWIG_IsOK(res1
)) {
5027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5029 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5045 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 PyObject
*resultobj
= 0;
5047 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5051 PyObject
*swig_obj
[1] ;
5053 if (!args
) SWIG_fail
;
5055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5056 if (!SWIG_IsOK(res1
)) {
5057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5059 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5075 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
= 0;
5077 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5078 SwigValueWrapper
<wxVisualAttributes
> result
;
5081 PyObject
* obj0
= 0 ;
5082 char * kwnames
[] = {
5083 (char *) "variant", NULL
5086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5089 if (!SWIG_IsOK(ecode1
)) {
5090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5092 arg1
= static_cast< wxWindowVariant
>(val1
);
5095 if (!wxPyCheckForApp()) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5108 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5111 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5112 return SWIG_Py_Void();
5115 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 return SWIG_Python_InitShadowInstance(args
);
5119 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5120 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5125 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5126 PyObject
*pyobj
= 0;
5130 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5132 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5139 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
= 0;
5141 wxWindow
*arg1
= (wxWindow
*) 0 ;
5142 int arg2
= (int) -1 ;
5143 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5144 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5145 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5146 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5147 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5148 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5149 long arg6
= (long) 0 ;
5150 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5151 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5152 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5153 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5154 wxChoice
*result
= 0 ;
5161 bool temp5
= false ;
5166 bool temp8
= false ;
5167 PyObject
* obj0
= 0 ;
5168 PyObject
* obj1
= 0 ;
5169 PyObject
* obj2
= 0 ;
5170 PyObject
* obj3
= 0 ;
5171 PyObject
* obj4
= 0 ;
5172 PyObject
* obj5
= 0 ;
5173 PyObject
* obj6
= 0 ;
5174 PyObject
* obj7
= 0 ;
5175 char * kwnames
[] = {
5176 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5181 if (!SWIG_IsOK(res1
)) {
5182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5184 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5187 if (!SWIG_IsOK(ecode2
)) {
5188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5190 arg2
= static_cast< int >(val2
);
5195 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5201 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5206 if (! PySequence_Check(obj4
)) {
5207 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5210 arg5
= new wxArrayString
;
5212 int i
, len
=PySequence_Length(obj4
);
5213 for (i
=0; i
<len
; i
++) {
5214 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5215 wxString
* s
= wxString_in_helper(item
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5224 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5225 if (!SWIG_IsOK(ecode6
)) {
5226 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5228 arg6
= static_cast< long >(val6
);
5231 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5232 if (!SWIG_IsOK(res7
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5238 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5242 arg8
= wxString_in_helper(obj7
);
5243 if (arg8
== NULL
) SWIG_fail
;
5248 if (!wxPyCheckForApp()) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5256 if (temp5
) delete arg5
;
5265 if (temp5
) delete arg5
;
5275 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5276 PyObject
*resultobj
= 0;
5277 wxChoice
*result
= 0 ;
5279 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5281 if (!wxPyCheckForApp()) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (wxChoice
*)new wxChoice();
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5294 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
= 0;
5296 wxChoice
*arg1
= (wxChoice
*) 0 ;
5297 wxWindow
*arg2
= (wxWindow
*) 0 ;
5298 int arg3
= (int) -1 ;
5299 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5300 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5301 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5302 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5303 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5304 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5305 long arg7
= (long) 0 ;
5306 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5307 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5308 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5309 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5319 bool temp6
= false ;
5324 bool temp9
= false ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5327 PyObject
* obj2
= 0 ;
5328 PyObject
* obj3
= 0 ;
5329 PyObject
* obj4
= 0 ;
5330 PyObject
* obj5
= 0 ;
5331 PyObject
* obj6
= 0 ;
5332 PyObject
* obj7
= 0 ;
5333 PyObject
* obj8
= 0 ;
5334 char * kwnames
[] = {
5335 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5340 if (!SWIG_IsOK(res1
)) {
5341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5343 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5345 if (!SWIG_IsOK(res2
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5348 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5351 if (!SWIG_IsOK(ecode3
)) {
5352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5354 arg3
= static_cast< int >(val3
);
5359 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5365 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5370 if (! PySequence_Check(obj5
)) {
5371 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5374 arg6
= new wxArrayString
;
5376 int i
, len
=PySequence_Length(obj5
);
5377 for (i
=0; i
<len
; i
++) {
5378 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5379 wxString
* s
= wxString_in_helper(item
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5388 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5389 if (!SWIG_IsOK(ecode7
)) {
5390 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5392 arg7
= static_cast< long >(val7
);
5395 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5396 if (!SWIG_IsOK(res8
)) {
5397 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5402 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5406 arg9
= wxString_in_helper(obj8
);
5407 if (arg9
== NULL
) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5421 if (temp6
) delete arg6
;
5430 if (temp6
) delete arg6
;
5440 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5441 PyObject
*resultobj
= 0;
5442 wxChoice
*arg1
= (wxChoice
*) 0 ;
5446 PyObject
*swig_obj
[1] ;
5448 if (!args
) SWIG_fail
;
5450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5451 if (!SWIG_IsOK(res1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5454 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_From_int(static_cast< int >(result
));
5468 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
= 0;
5470 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5471 SwigValueWrapper
<wxVisualAttributes
> result
;
5474 PyObject
* obj0
= 0 ;
5475 char * kwnames
[] = {
5476 (char *) "variant", NULL
5479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5481 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5482 if (!SWIG_IsOK(ecode1
)) {
5483 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5485 arg1
= static_cast< wxWindowVariant
>(val1
);
5488 if (!wxPyCheckForApp()) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5501 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5504 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5505 return SWIG_Py_Void();
5508 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 return SWIG_Python_InitShadowInstance(args
);
5512 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5513 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5518 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5519 PyObject
*pyobj
= 0;
5523 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5525 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5532 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
= 0;
5534 wxWindow
*arg1
= (wxWindow
*) 0 ;
5535 int arg2
= (int) -1 ;
5536 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5542 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5543 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5544 long arg7
= (long) 0 ;
5545 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5546 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5547 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5548 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5549 wxComboBox
*result
= 0 ;
5554 bool temp3
= false ;
5557 bool temp6
= false ;
5562 bool temp9
= false ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5565 PyObject
* obj2
= 0 ;
5566 PyObject
* obj3
= 0 ;
5567 PyObject
* obj4
= 0 ;
5568 PyObject
* obj5
= 0 ;
5569 PyObject
* obj6
= 0 ;
5570 PyObject
* obj7
= 0 ;
5571 PyObject
* obj8
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5584 if (!SWIG_IsOK(ecode2
)) {
5585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5587 arg2
= static_cast< int >(val2
);
5591 arg3
= wxString_in_helper(obj2
);
5592 if (arg3
== NULL
) SWIG_fail
;
5599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5610 if (! PySequence_Check(obj5
)) {
5611 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5614 arg6
= new wxArrayString
;
5616 int i
, len
=PySequence_Length(obj5
);
5617 for (i
=0; i
<len
; i
++) {
5618 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5619 wxString
* s
= wxString_in_helper(item
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5628 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5629 if (!SWIG_IsOK(ecode7
)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5632 arg7
= static_cast< long >(val7
);
5635 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5636 if (!SWIG_IsOK(res8
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5642 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5646 arg9
= wxString_in_helper(obj8
);
5647 if (arg9
== NULL
) SWIG_fail
;
5652 if (!wxPyCheckForApp()) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 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
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5664 if (temp6
) delete arg6
;
5677 if (temp6
) delete arg6
;
5687 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5688 PyObject
*resultobj
= 0;
5689 wxComboBox
*result
= 0 ;
5691 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5693 if (!wxPyCheckForApp()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (wxComboBox
*)new wxComboBox();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5706 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
= 0;
5708 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5709 wxWindow
*arg2
= (wxWindow
*) 0 ;
5710 int arg3
= (int) -1 ;
5711 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5712 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5713 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5714 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5715 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5716 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5717 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5718 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5719 long arg8
= (long) 0 ;
5720 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5721 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5722 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5723 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5731 bool temp4
= false ;
5734 bool temp7
= false ;
5739 bool temp10
= false ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5744 PyObject
* obj4
= 0 ;
5745 PyObject
* obj5
= 0 ;
5746 PyObject
* obj6
= 0 ;
5747 PyObject
* obj7
= 0 ;
5748 PyObject
* obj8
= 0 ;
5749 PyObject
* obj9
= 0 ;
5750 char * kwnames
[] = {
5751 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5756 if (!SWIG_IsOK(res1
)) {
5757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5759 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5761 if (!SWIG_IsOK(res2
)) {
5762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5764 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5767 if (!SWIG_IsOK(ecode3
)) {
5768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5770 arg3
= static_cast< int >(val3
);
5774 arg4
= wxString_in_helper(obj3
);
5775 if (arg4
== NULL
) SWIG_fail
;
5782 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5788 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5793 if (! PySequence_Check(obj6
)) {
5794 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5797 arg7
= new wxArrayString
;
5799 int i
, len
=PySequence_Length(obj6
);
5800 for (i
=0; i
<len
; i
++) {
5801 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5802 wxString
* s
= wxString_in_helper(item
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5811 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5812 if (!SWIG_IsOK(ecode8
)) {
5813 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5815 arg8
= static_cast< long >(val8
);
5818 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5819 if (!SWIG_IsOK(res9
)) {
5820 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5825 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5829 arg10
= wxString_in_helper(obj9
);
5830 if (arg10
== NULL
) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 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
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5848 if (temp7
) delete arg7
;
5861 if (temp7
) delete arg7
;
5871 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5872 PyObject
*resultobj
= 0;
5873 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5877 PyObject
*swig_obj
[1] ;
5879 if (!args
) SWIG_fail
;
5881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5882 if (!SWIG_IsOK(res1
)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5885 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= ((wxComboBox
const *)arg1
)->GetValue();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5905 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
= 0;
5907 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5908 wxString
*arg2
= 0 ;
5911 bool temp2
= false ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5914 char * kwnames
[] = {
5915 (char *) "self",(char *) "value", NULL
5918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5920 if (!SWIG_IsOK(res1
)) {
5921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5923 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5925 arg2
= wxString_in_helper(obj1
);
5926 if (arg2
== NULL
) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->SetValue((wxString
const &)*arg2
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5951 PyObject
*resultobj
= 0;
5952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5955 PyObject
*swig_obj
[1] ;
5957 if (!args
) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5963 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_Py_Void();
5977 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5978 PyObject
*resultobj
= 0;
5979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5982 PyObject
*swig_obj
[1] ;
5984 if (!args
) SWIG_fail
;
5986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5987 if (!SWIG_IsOK(res1
)) {
5988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5990 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= SWIG_Py_Void();
6004 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6005 PyObject
*resultobj
= 0;
6006 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6009 PyObject
*swig_obj
[1] ;
6011 if (!args
) SWIG_fail
;
6013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6014 if (!SWIG_IsOK(res1
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6017 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_Py_Void();
6031 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
= 0;
6033 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6040 PyObject
* obj1
= 0 ;
6041 char * kwnames
[] = {
6042 (char *) "self",(char *) "pos", NULL
6045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6047 if (!SWIG_IsOK(res1
)) {
6048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6050 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6051 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6052 if (!SWIG_IsOK(ecode2
)) {
6053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6055 arg2
= static_cast< long >(val2
);
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 (arg1
)->SetInsertionPoint(arg2
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= SWIG_Py_Void();
6069 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6070 PyObject
*resultobj
= 0;
6071 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6075 PyObject
*swig_obj
[1] ;
6077 if (!args
) SWIG_fail
;
6079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6080 if (!SWIG_IsOK(res1
)) {
6081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6083 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= SWIG_From_long(static_cast< long >(result
));
6097 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6098 PyObject
*resultobj
= 0;
6099 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6103 PyObject
*swig_obj
[1] ;
6105 if (!args
) SWIG_fail
;
6107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6108 if (!SWIG_IsOK(res1
)) {
6109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6111 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= SWIG_From_long(static_cast< long >(result
));
6125 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
= 0;
6127 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6130 wxString
*arg4
= 0 ;
6137 bool temp4
= false ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 PyObject
* obj2
= 0 ;
6141 PyObject
* obj3
= 0 ;
6142 char * kwnames
[] = {
6143 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6148 if (!SWIG_IsOK(res1
)) {
6149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6151 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6152 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6153 if (!SWIG_IsOK(ecode2
)) {
6154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6156 arg2
= static_cast< long >(val2
);
6157 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6158 if (!SWIG_IsOK(ecode3
)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6161 arg3
= static_cast< long >(val3
);
6163 arg4
= wxString_in_helper(obj3
);
6164 if (arg4
== NULL
) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= SWIG_Py_Void();
6188 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
= 0;
6190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6201 PyObject
* obj2
= 0 ;
6202 char * kwnames
[] = {
6203 (char *) "self",(char *) "from",(char *) "to", NULL
6206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6208 if (!SWIG_IsOK(res1
)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6211 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6212 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6213 if (!SWIG_IsOK(ecode2
)) {
6214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6216 arg2
= static_cast< long >(val2
);
6217 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6218 if (!SWIG_IsOK(ecode3
)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6221 arg3
= static_cast< long >(val3
);
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 (arg1
)->SetSelection(arg2
,arg3
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= SWIG_Py_Void();
6235 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6236 PyObject
*resultobj
= 0;
6237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6238 long *arg2
= (long *) 0 ;
6239 long *arg3
= (long *) 0 ;
6243 int res2
= SWIG_TMPOBJ
;
6245 int res3
= SWIG_TMPOBJ
;
6246 PyObject
*swig_obj
[1] ;
6250 if (!args
) SWIG_fail
;
6252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6253 if (!SWIG_IsOK(res1
)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6256 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 (arg1
)->GetSelection(arg2
,arg3
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_Py_Void();
6264 if (SWIG_IsTmpObj(res2
)) {
6265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6267 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6270 if (SWIG_IsTmpObj(res3
)) {
6271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6273 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6282 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6283 PyObject
*resultobj
= 0;
6284 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6288 PyObject
*swig_obj
[1] ;
6290 if (!args
) SWIG_fail
;
6292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6293 if (!SWIG_IsOK(res1
)) {
6294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6296 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= SWIG_From_int(static_cast< int >(result
));
6310 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
= 0;
6312 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6313 wxString
*arg2
= 0 ;
6317 bool temp2
= false ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 char * kwnames
[] = {
6321 (char *) "self",(char *) "string", NULL
6324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6326 if (!SWIG_IsOK(res1
)) {
6327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6329 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6331 arg2
= wxString_in_helper(obj1
);
6332 if (arg2
== NULL
) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6358 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
= 0;
6360 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 char * kwnames
[] = {
6369 (char *) "self",(char *) "editable", NULL
6372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6377 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6379 if (!SWIG_IsOK(ecode2
)) {
6380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6382 arg2
= static_cast< bool >(val2
);
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetEditable(arg2
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_Py_Void();
6396 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6397 PyObject
*resultobj
= 0;
6398 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6401 PyObject
*swig_obj
[1] ;
6403 if (!args
) SWIG_fail
;
6405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6406 if (!SWIG_IsOK(res1
)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6409 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->SetInsertionPointEnd();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_Py_Void();
6423 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
= 0;
6425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6437 char * kwnames
[] = {
6438 (char *) "self",(char *) "from",(char *) "to", NULL
6441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6446 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6447 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6448 if (!SWIG_IsOK(ecode2
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6451 arg2
= static_cast< long >(val2
);
6452 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6453 if (!SWIG_IsOK(ecode3
)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6456 arg3
= static_cast< long >(val3
);
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 (arg1
)->Remove(arg2
,arg3
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_Py_Void();
6470 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6471 PyObject
*resultobj
= 0;
6472 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6476 PyObject
*swig_obj
[1] ;
6478 if (!args
) SWIG_fail
;
6480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6481 if (!SWIG_IsOK(res1
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6484 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6500 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6513 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_Py_Void();
6527 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6540 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6559 PyObject
*swig_obj
[1] ;
6561 if (!args
) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6567 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 (arg1
)->SelectAll();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_Py_Void();
6581 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6582 PyObject
*resultobj
= 0;
6583 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6587 PyObject
*swig_obj
[1] ;
6589 if (!args
) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6595 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6611 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6612 PyObject
*resultobj
= 0;
6613 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6617 PyObject
*swig_obj
[1] ;
6619 if (!args
) SWIG_fail
;
6621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6622 if (!SWIG_IsOK(res1
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6625 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6641 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6642 PyObject
*resultobj
= 0;
6643 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6647 PyObject
*swig_obj
[1] ;
6649 if (!args
) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6655 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6671 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6672 PyObject
*resultobj
= 0;
6673 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6677 PyObject
*swig_obj
[1] ;
6679 if (!args
) SWIG_fail
;
6681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6682 if (!SWIG_IsOK(res1
)) {
6683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6685 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6701 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6702 PyObject
*resultobj
= 0;
6703 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6707 PyObject
*swig_obj
[1] ;
6709 if (!args
) SWIG_fail
;
6711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6712 if (!SWIG_IsOK(res1
)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6715 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6734 SwigValueWrapper
<wxVisualAttributes
> result
;
6737 PyObject
* obj0
= 0 ;
6738 char * kwnames
[] = {
6739 (char *) "variant", NULL
6742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6745 if (!SWIG_IsOK(ecode1
)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6748 arg1
= static_cast< wxWindowVariant
>(val1
);
6751 if (!wxPyCheckForApp()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6764 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6767 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6768 return SWIG_Py_Void();
6771 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6772 return SWIG_Python_InitShadowInstance(args
);
6775 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6776 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6781 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6782 PyObject
*pyobj
= 0;
6786 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6788 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6795 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 wxWindow
*arg1
= (wxWindow
*) 0 ;
6798 int arg2
= (int) -1 ;
6799 int arg3
= (int) 100 ;
6800 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6801 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6802 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6803 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6804 long arg6
= (long) wxGA_HORIZONTAL
;
6805 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6806 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6807 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6808 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6809 wxGauge
*result
= 0 ;
6822 bool temp8
= false ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 PyObject
* obj3
= 0 ;
6827 PyObject
* obj4
= 0 ;
6828 PyObject
* obj5
= 0 ;
6829 PyObject
* obj6
= 0 ;
6830 PyObject
* obj7
= 0 ;
6831 char * kwnames
[] = {
6832 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6843 if (!SWIG_IsOK(ecode2
)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6846 arg2
= static_cast< int >(val2
);
6849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6850 if (!SWIG_IsOK(ecode3
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6853 arg3
= static_cast< int >(val3
);
6858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6869 if (!SWIG_IsOK(ecode6
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6872 arg6
= static_cast< long >(val6
);
6875 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6876 if (!SWIG_IsOK(res7
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6882 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6886 arg8
= wxString_in_helper(obj7
);
6887 if (arg8
== NULL
) SWIG_fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6913 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6914 PyObject
*resultobj
= 0;
6915 wxGauge
*result
= 0 ;
6917 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6919 if (!wxPyCheckForApp()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (wxGauge
*)new wxGauge();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6932 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxGauge
*arg1
= (wxGauge
*) 0 ;
6935 wxWindow
*arg2
= (wxWindow
*) 0 ;
6936 int arg3
= (int) -1 ;
6937 int arg4
= (int) 100 ;
6938 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6939 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6940 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6941 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6942 long arg7
= (long) wxGA_HORIZONTAL
;
6943 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6944 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6945 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6946 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6962 bool temp9
= false ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 PyObject
* obj2
= 0 ;
6966 PyObject
* obj3
= 0 ;
6967 PyObject
* obj4
= 0 ;
6968 PyObject
* obj5
= 0 ;
6969 PyObject
* obj6
= 0 ;
6970 PyObject
* obj7
= 0 ;
6971 PyObject
* obj8
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6978 if (!SWIG_IsOK(res1
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6981 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6983 if (!SWIG_IsOK(res2
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6989 if (!SWIG_IsOK(ecode3
)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6992 arg3
= static_cast< int >(val3
);
6995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6996 if (!SWIG_IsOK(ecode4
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6999 arg4
= static_cast< int >(val4
);
7004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7014 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7015 if (!SWIG_IsOK(ecode7
)) {
7016 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7018 arg7
= static_cast< long >(val7
);
7021 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7022 if (!SWIG_IsOK(res8
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7028 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7032 arg9
= wxString_in_helper(obj8
);
7033 if (arg9
== NULL
) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7060 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxGauge
*arg1
= (wxGauge
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7070 char * kwnames
[] = {
7071 (char *) "self",(char *) "range", NULL
7074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7076 if (!SWIG_IsOK(res1
)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7079 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7081 if (!SWIG_IsOK(ecode2
)) {
7082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7084 arg2
= static_cast< int >(val2
);
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->SetRange(arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxGauge
*arg1
= (wxGauge
*) 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7112 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_From_int(static_cast< int >(result
));
7126 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxGauge
*arg1
= (wxGauge
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7135 PyObject
* obj1
= 0 ;
7136 char * kwnames
[] = {
7137 (char *) "self",(char *) "pos", NULL
7140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7145 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7147 if (!SWIG_IsOK(ecode2
)) {
7148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7150 arg2
= static_cast< int >(val2
);
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 (arg1
)->SetValue(arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_Py_Void();
7164 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7165 PyObject
*resultobj
= 0;
7166 wxGauge
*arg1
= (wxGauge
*) 0 ;
7170 PyObject
*swig_obj
[1] ;
7172 if (!args
) SWIG_fail
;
7174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7175 if (!SWIG_IsOK(res1
)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7178 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= SWIG_From_int(static_cast< int >(result
));
7192 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7193 PyObject
*resultobj
= 0;
7194 wxGauge
*arg1
= (wxGauge
*) 0 ;
7197 PyObject
*swig_obj
[1] ;
7199 if (!args
) SWIG_fail
;
7201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7202 if (!SWIG_IsOK(res1
)) {
7203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7205 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_Py_Void();
7219 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7220 PyObject
*resultobj
= 0;
7221 wxGauge
*arg1
= (wxGauge
*) 0 ;
7225 PyObject
*swig_obj
[1] ;
7227 if (!args
) SWIG_fail
;
7229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7230 if (!SWIG_IsOK(res1
)) {
7231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7233 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7249 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
= 0;
7251 wxGauge
*arg1
= (wxGauge
*) 0 ;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7259 char * kwnames
[] = {
7260 (char *) "self",(char *) "w", NULL
7263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7265 if (!SWIG_IsOK(res1
)) {
7266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7268 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7270 if (!SWIG_IsOK(ecode2
)) {
7271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7273 arg2
= static_cast< int >(val2
);
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 (arg1
)->SetShadowWidth(arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= SWIG_Py_Void();
7287 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7288 PyObject
*resultobj
= 0;
7289 wxGauge
*arg1
= (wxGauge
*) 0 ;
7293 PyObject
*swig_obj
[1] ;
7295 if (!args
) SWIG_fail
;
7297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7298 if (!SWIG_IsOK(res1
)) {
7299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7301 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_From_int(static_cast< int >(result
));
7315 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
= 0;
7317 wxGauge
*arg1
= (wxGauge
*) 0 ;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7325 char * kwnames
[] = {
7326 (char *) "self",(char *) "w", NULL
7329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7331 if (!SWIG_IsOK(res1
)) {
7332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7334 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7336 if (!SWIG_IsOK(ecode2
)) {
7337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7339 arg2
= static_cast< int >(val2
);
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 (arg1
)->SetBezelFace(arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_Py_Void();
7353 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7354 PyObject
*resultobj
= 0;
7355 wxGauge
*arg1
= (wxGauge
*) 0 ;
7359 PyObject
*swig_obj
[1] ;
7361 if (!args
) SWIG_fail
;
7363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7364 if (!SWIG_IsOK(res1
)) {
7365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7367 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= SWIG_From_int(static_cast< int >(result
));
7381 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
= 0;
7383 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7384 SwigValueWrapper
<wxVisualAttributes
> result
;
7387 PyObject
* obj0
= 0 ;
7388 char * kwnames
[] = {
7389 (char *) "variant", NULL
7392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7395 if (!SWIG_IsOK(ecode1
)) {
7396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7398 arg1
= static_cast< wxWindowVariant
>(val1
);
7401 if (!wxPyCheckForApp()) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7414 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7417 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7418 return SWIG_Py_Void();
7421 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7422 return SWIG_Python_InitShadowInstance(args
);
7425 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7426 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7431 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7432 PyObject
*pyobj
= 0;
7436 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7438 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7445 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7446 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7451 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7452 PyObject
*pyobj
= 0;
7456 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7458 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7465 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7466 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7471 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7472 PyObject
*pyobj
= 0;
7476 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7478 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7485 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7486 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7491 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7492 PyObject
*pyobj
= 0;
7496 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7498 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7505 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
= 0;
7507 wxWindow
*arg1
= (wxWindow
*) 0 ;
7508 int arg2
= (int) -1 ;
7509 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7510 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7515 long arg6
= (long) 0 ;
7516 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7517 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7518 wxStaticBox
*result
= 0 ;
7523 bool temp3
= false ;
7528 bool temp7
= false ;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7531 PyObject
* obj2
= 0 ;
7532 PyObject
* obj3
= 0 ;
7533 PyObject
* obj4
= 0 ;
7534 PyObject
* obj5
= 0 ;
7535 PyObject
* obj6
= 0 ;
7536 char * kwnames
[] = {
7537 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7542 if (!SWIG_IsOK(res1
)) {
7543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7548 if (!SWIG_IsOK(ecode2
)) {
7549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7551 arg2
= static_cast< int >(val2
);
7555 arg3
= wxString_in_helper(obj2
);
7556 if (arg3
== NULL
) SWIG_fail
;
7563 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7569 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7573 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7574 if (!SWIG_IsOK(ecode6
)) {
7575 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7577 arg6
= static_cast< long >(val6
);
7581 arg7
= wxString_in_helper(obj6
);
7582 if (arg7
== NULL
) SWIG_fail
;
7587 if (!wxPyCheckForApp()) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7616 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7617 PyObject
*resultobj
= 0;
7618 wxStaticBox
*result
= 0 ;
7620 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7622 if (!wxPyCheckForApp()) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (wxStaticBox
*)new wxStaticBox();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7635 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
= 0;
7637 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7638 wxWindow
*arg2
= (wxWindow
*) 0 ;
7639 int arg3
= (int) -1 ;
7640 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7641 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7642 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7643 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7644 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7645 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7646 long arg7
= (long) 0 ;
7647 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7656 bool temp4
= false ;
7661 bool temp8
= false ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 PyObject
* obj2
= 0 ;
7665 PyObject
* obj3
= 0 ;
7666 PyObject
* obj4
= 0 ;
7667 PyObject
* obj5
= 0 ;
7668 PyObject
* obj6
= 0 ;
7669 PyObject
* obj7
= 0 ;
7670 char * kwnames
[] = {
7671 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7676 if (!SWIG_IsOK(res1
)) {
7677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7679 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7681 if (!SWIG_IsOK(res2
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7684 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7687 if (!SWIG_IsOK(ecode3
)) {
7688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7690 arg3
= static_cast< int >(val3
);
7694 arg4
= wxString_in_helper(obj3
);
7695 if (arg4
== NULL
) SWIG_fail
;
7702 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7708 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7712 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7713 if (!SWIG_IsOK(ecode7
)) {
7714 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7716 arg7
= static_cast< long >(val7
);
7720 arg8
= wxString_in_helper(obj7
);
7721 if (arg8
== NULL
) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7756 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7759 SwigValueWrapper
<wxVisualAttributes
> result
;
7762 PyObject
* obj0
= 0 ;
7763 char * kwnames
[] = {
7764 (char *) "variant", NULL
7767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7770 if (!SWIG_IsOK(ecode1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7773 arg1
= static_cast< wxWindowVariant
>(val1
);
7776 if (!wxPyCheckForApp()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7789 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7793 return SWIG_Py_Void();
7796 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 return SWIG_Python_InitShadowInstance(args
);
7800 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= 0;
7802 wxWindow
*arg1
= (wxWindow
*) 0 ;
7803 int arg2
= (int) -1 ;
7804 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7805 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7806 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7807 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7808 long arg5
= (long) wxLI_HORIZONTAL
;
7809 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7810 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7811 wxStaticLine
*result
= 0 ;
7820 bool temp6
= false ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7823 PyObject
* obj2
= 0 ;
7824 PyObject
* obj3
= 0 ;
7825 PyObject
* obj4
= 0 ;
7826 PyObject
* obj5
= 0 ;
7827 char * kwnames
[] = {
7828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7833 if (!SWIG_IsOK(res1
)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7836 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7839 if (!SWIG_IsOK(ecode2
)) {
7840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7842 arg2
= static_cast< int >(val2
);
7847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7853 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7857 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7858 if (!SWIG_IsOK(ecode5
)) {
7859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7861 arg5
= static_cast< long >(val5
);
7865 arg6
= wxString_in_helper(obj5
);
7866 if (arg6
== NULL
) SWIG_fail
;
7871 if (!wxPyCheckForApp()) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7892 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7893 PyObject
*resultobj
= 0;
7894 wxStaticLine
*result
= 0 ;
7896 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7898 if (!wxPyCheckForApp()) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (wxStaticLine
*)new wxStaticLine();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7911 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
= 0;
7913 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7914 wxWindow
*arg2
= (wxWindow
*) 0 ;
7915 int arg3
= (int) -1 ;
7916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7920 long arg6
= (long) wxLI_HORIZONTAL
;
7921 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7922 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7934 bool temp7
= false ;
7935 PyObject
* obj0
= 0 ;
7936 PyObject
* obj1
= 0 ;
7937 PyObject
* obj2
= 0 ;
7938 PyObject
* obj3
= 0 ;
7939 PyObject
* obj4
= 0 ;
7940 PyObject
* obj5
= 0 ;
7941 PyObject
* obj6
= 0 ;
7942 char * kwnames
[] = {
7943 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7948 if (!SWIG_IsOK(res1
)) {
7949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7951 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7953 if (!SWIG_IsOK(res2
)) {
7954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7956 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7959 if (!SWIG_IsOK(ecode3
)) {
7960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7962 arg3
= static_cast< int >(val3
);
7967 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7973 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7977 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7978 if (!SWIG_IsOK(ecode6
)) {
7979 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7981 arg6
= static_cast< long >(val6
);
7985 arg7
= wxString_in_helper(obj6
);
7986 if (arg7
== NULL
) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8013 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8014 PyObject
*resultobj
= 0;
8015 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8019 PyObject
*swig_obj
[1] ;
8021 if (!args
) SWIG_fail
;
8023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8024 if (!SWIG_IsOK(res1
)) {
8025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8027 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8043 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8044 PyObject
*resultobj
= 0;
8047 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= (int)wxStaticLine::GetDefaultSize();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= SWIG_From_int(static_cast< int >(result
));
8061 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
= 0;
8063 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8064 SwigValueWrapper
<wxVisualAttributes
> result
;
8067 PyObject
* obj0
= 0 ;
8068 char * kwnames
[] = {
8069 (char *) "variant", NULL
8072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8074 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8075 if (!SWIG_IsOK(ecode1
)) {
8076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8078 arg1
= static_cast< wxWindowVariant
>(val1
);
8081 if (!wxPyCheckForApp()) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8094 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8097 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8098 return SWIG_Py_Void();
8101 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8102 return SWIG_Python_InitShadowInstance(args
);
8105 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
= 0;
8107 wxWindow
*arg1
= (wxWindow
*) 0 ;
8108 int arg2
= (int) -1 ;
8109 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8110 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8115 long arg6
= (long) 0 ;
8116 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8117 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8118 wxStaticText
*result
= 0 ;
8123 bool temp3
= false ;
8128 bool temp7
= false ;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8131 PyObject
* obj2
= 0 ;
8132 PyObject
* obj3
= 0 ;
8133 PyObject
* obj4
= 0 ;
8134 PyObject
* obj5
= 0 ;
8135 PyObject
* obj6
= 0 ;
8136 char * kwnames
[] = {
8137 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8142 if (!SWIG_IsOK(res1
)) {
8143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8148 if (!SWIG_IsOK(ecode2
)) {
8149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8151 arg2
= static_cast< int >(val2
);
8155 arg3
= wxString_in_helper(obj2
);
8156 if (arg3
== NULL
) SWIG_fail
;
8163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8169 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8173 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8174 if (!SWIG_IsOK(ecode6
)) {
8175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8177 arg6
= static_cast< long >(val6
);
8181 arg7
= wxString_in_helper(obj6
);
8182 if (arg7
== NULL
) SWIG_fail
;
8187 if (!wxPyCheckForApp()) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8216 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8217 PyObject
*resultobj
= 0;
8218 wxStaticText
*result
= 0 ;
8220 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8222 if (!wxPyCheckForApp()) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (wxStaticText
*)new wxStaticText();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8235 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
= 0;
8237 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8238 wxWindow
*arg2
= (wxWindow
*) 0 ;
8239 int arg3
= (int) -1 ;
8240 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8241 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8242 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8243 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8244 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8245 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8246 long arg7
= (long) 0 ;
8247 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8248 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8256 bool temp4
= false ;
8261 bool temp8
= false ;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8264 PyObject
* obj2
= 0 ;
8265 PyObject
* obj3
= 0 ;
8266 PyObject
* obj4
= 0 ;
8267 PyObject
* obj5
= 0 ;
8268 PyObject
* obj6
= 0 ;
8269 PyObject
* obj7
= 0 ;
8270 char * kwnames
[] = {
8271 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8276 if (!SWIG_IsOK(res1
)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8279 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8281 if (!SWIG_IsOK(res2
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8287 if (!SWIG_IsOK(ecode3
)) {
8288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8290 arg3
= static_cast< int >(val3
);
8294 arg4
= wxString_in_helper(obj3
);
8295 if (arg4
== NULL
) SWIG_fail
;
8302 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8308 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8312 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8313 if (!SWIG_IsOK(ecode7
)) {
8314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8316 arg7
= static_cast< long >(val7
);
8320 arg8
= wxString_in_helper(obj7
);
8321 if (arg8
== NULL
) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8356 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
= 0;
8358 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 char * kwnames
[] = {
8367 (char *) "self",(char *) "width", NULL
8370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8372 if (!SWIG_IsOK(res1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8375 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8377 if (!SWIG_IsOK(ecode2
)) {
8378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8380 arg2
= static_cast< int >(val2
);
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= SWIG_Py_Void();
8394 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
= 0;
8396 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8397 SwigValueWrapper
<wxVisualAttributes
> result
;
8400 PyObject
* obj0
= 0 ;
8401 char * kwnames
[] = {
8402 (char *) "variant", NULL
8405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8407 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8408 if (!SWIG_IsOK(ecode1
)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8411 arg1
= static_cast< wxWindowVariant
>(val1
);
8414 if (!wxPyCheckForApp()) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8427 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8430 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8431 return SWIG_Py_Void();
8434 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8435 return SWIG_Python_InitShadowInstance(args
);
8438 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
= 0;
8440 wxWindow
*arg1
= (wxWindow
*) 0 ;
8441 int arg2
= (int) -1 ;
8442 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8443 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8448 long arg6
= (long) 0 ;
8449 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8450 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8451 wxStaticBitmap
*result
= 0 ;
8462 bool temp7
= false ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8466 PyObject
* obj3
= 0 ;
8467 PyObject
* obj4
= 0 ;
8468 PyObject
* obj5
= 0 ;
8469 PyObject
* obj6
= 0 ;
8470 char * kwnames
[] = {
8471 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8482 if (!SWIG_IsOK(ecode2
)) {
8483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8485 arg2
= static_cast< int >(val2
);
8488 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8489 if (!SWIG_IsOK(res3
)) {
8490 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8495 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8511 if (!SWIG_IsOK(ecode6
)) {
8512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8514 arg6
= static_cast< long >(val6
);
8518 arg7
= wxString_in_helper(obj6
);
8519 if (arg7
== NULL
) SWIG_fail
;
8524 if (!wxPyCheckForApp()) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8545 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8546 PyObject
*resultobj
= 0;
8547 wxStaticBitmap
*result
= 0 ;
8549 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8551 if (!wxPyCheckForApp()) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8564 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
*resultobj
= 0;
8566 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8567 wxWindow
*arg2
= (wxWindow
*) 0 ;
8568 int arg3
= (int) -1 ;
8569 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8570 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8571 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8572 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8573 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8574 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8575 long arg7
= (long) 0 ;
8576 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8577 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8591 bool temp8
= false ;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8594 PyObject
* obj2
= 0 ;
8595 PyObject
* obj3
= 0 ;
8596 PyObject
* obj4
= 0 ;
8597 PyObject
* obj5
= 0 ;
8598 PyObject
* obj6
= 0 ;
8599 PyObject
* obj7
= 0 ;
8600 char * kwnames
[] = {
8601 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8606 if (!SWIG_IsOK(res1
)) {
8607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8609 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8611 if (!SWIG_IsOK(res2
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8614 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8617 if (!SWIG_IsOK(ecode3
)) {
8618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8620 arg3
= static_cast< int >(val3
);
8623 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8624 if (!SWIG_IsOK(res4
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8630 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8635 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8641 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8645 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8646 if (!SWIG_IsOK(ecode7
)) {
8647 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8649 arg7
= static_cast< long >(val7
);
8653 arg8
= wxString_in_helper(obj7
);
8654 if (arg8
== NULL
) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8681 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8682 PyObject
*resultobj
= 0;
8683 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8687 PyObject
*swig_obj
[1] ;
8689 if (!args
) SWIG_fail
;
8691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8692 if (!SWIG_IsOK(res1
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8695 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 result
= (arg1
)->GetBitmap();
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8709 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
= 0;
8711 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8712 wxBitmap
*arg2
= 0 ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "self",(char *) "bitmap", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8728 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8730 if (!SWIG_IsOK(res2
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8736 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_Py_Void();
8750 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
= 0;
8752 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8760 char * kwnames
[] = {
8761 (char *) "self",(char *) "icon", NULL
8764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8766 if (!SWIG_IsOK(res1
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8769 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8771 if (!SWIG_IsOK(res2
)) {
8772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8777 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= SWIG_Py_Void();
8791 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
= 0;
8793 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8794 SwigValueWrapper
<wxVisualAttributes
> result
;
8797 PyObject
* obj0
= 0 ;
8798 char * kwnames
[] = {
8799 (char *) "variant", NULL
8802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8804 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8805 if (!SWIG_IsOK(ecode1
)) {
8806 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8808 arg1
= static_cast< wxWindowVariant
>(val1
);
8811 if (!wxPyCheckForApp()) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8824 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8827 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8828 return SWIG_Py_Void();
8831 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8832 return SWIG_Python_InitShadowInstance(args
);
8835 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8836 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8841 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8842 PyObject
*pyobj
= 0;
8846 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8848 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8855 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
= 0;
8857 wxWindow
*arg1
= (wxWindow
*) 0 ;
8858 int arg2
= (int) -1 ;
8859 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8860 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8861 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8862 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8863 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8864 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8865 long arg6
= (long) 0 ;
8866 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8867 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8868 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8869 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8870 wxListBox
*result
= 0 ;
8877 bool temp5
= false ;
8882 bool temp8
= false ;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 PyObject
* obj2
= 0 ;
8886 PyObject
* obj3
= 0 ;
8887 PyObject
* obj4
= 0 ;
8888 PyObject
* obj5
= 0 ;
8889 PyObject
* obj6
= 0 ;
8890 PyObject
* obj7
= 0 ;
8891 char * kwnames
[] = {
8892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8900 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8903 if (!SWIG_IsOK(ecode2
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8906 arg2
= static_cast< int >(val2
);
8911 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8917 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8922 if (! PySequence_Check(obj4
)) {
8923 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8926 arg5
= new wxArrayString
;
8928 int i
, len
=PySequence_Length(obj4
);
8929 for (i
=0; i
<len
; i
++) {
8930 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8931 wxString
* s
= wxString_in_helper(item
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8940 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8941 if (!SWIG_IsOK(ecode6
)) {
8942 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8944 arg6
= static_cast< long >(val6
);
8947 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8948 if (!SWIG_IsOK(res7
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8954 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8958 arg8
= wxString_in_helper(obj7
);
8959 if (arg8
== NULL
) SWIG_fail
;
8964 if (!wxPyCheckForApp()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8972 if (temp5
) delete arg5
;
8981 if (temp5
) delete arg5
;
8991 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8992 PyObject
*resultobj
= 0;
8993 wxListBox
*result
= 0 ;
8995 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8997 if (!wxPyCheckForApp()) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (wxListBox
*)new wxListBox();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9010 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
= 0;
9012 wxListBox
*arg1
= (wxListBox
*) 0 ;
9013 wxWindow
*arg2
= (wxWindow
*) 0 ;
9014 int arg3
= (int) -1 ;
9015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9019 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9020 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9021 long arg7
= (long) 0 ;
9022 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9023 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9024 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9025 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9035 bool temp6
= false ;
9040 bool temp9
= false ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9044 PyObject
* obj3
= 0 ;
9045 PyObject
* obj4
= 0 ;
9046 PyObject
* obj5
= 0 ;
9047 PyObject
* obj6
= 0 ;
9048 PyObject
* obj7
= 0 ;
9049 PyObject
* obj8
= 0 ;
9050 char * kwnames
[] = {
9051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9056 if (!SWIG_IsOK(res1
)) {
9057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9059 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9061 if (!SWIG_IsOK(res2
)) {
9062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9064 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9067 if (!SWIG_IsOK(ecode3
)) {
9068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9070 arg3
= static_cast< int >(val3
);
9075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9086 if (! PySequence_Check(obj5
)) {
9087 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9090 arg6
= new wxArrayString
;
9092 int i
, len
=PySequence_Length(obj5
);
9093 for (i
=0; i
<len
; i
++) {
9094 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9095 wxString
* s
= wxString_in_helper(item
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9104 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9105 if (!SWIG_IsOK(ecode7
)) {
9106 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9108 arg7
= static_cast< long >(val7
);
9111 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9112 if (!SWIG_IsOK(res8
)) {
9113 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9118 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9122 arg9
= wxString_in_helper(obj8
);
9123 if (arg9
== NULL
) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9137 if (temp6
) delete arg6
;
9146 if (temp6
) delete arg6
;
9156 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
= 0;
9158 wxListBox
*arg1
= (wxListBox
*) 0 ;
9159 wxString
*arg2
= 0 ;
9161 PyObject
*arg4
= (PyObject
*) NULL
;
9164 bool temp2
= false ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 PyObject
* obj2
= 0 ;
9170 PyObject
* obj3
= 0 ;
9171 char * kwnames
[] = {
9172 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9177 if (!SWIG_IsOK(res1
)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9180 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9182 arg2
= wxString_in_helper(obj1
);
9183 if (arg2
== NULL
) SWIG_fail
;
9186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9187 if (!SWIG_IsOK(ecode3
)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9190 arg3
= static_cast< int >(val3
);
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_Py_Void();
9215 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
= 0;
9217 wxListBox
*arg1
= (wxListBox
*) 0 ;
9218 wxArrayString
*arg2
= 0 ;
9222 bool temp2
= false ;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9227 PyObject
* obj2
= 0 ;
9228 char * kwnames
[] = {
9229 (char *) "self",(char *) "items",(char *) "pos", NULL
9232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9234 if (!SWIG_IsOK(res1
)) {
9235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9237 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9239 if (! PySequence_Check(obj1
)) {
9240 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9243 arg2
= new wxArrayString
;
9245 int i
, len
=PySequence_Length(obj1
);
9246 for (i
=0; i
<len
; i
++) {
9247 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9248 wxString
* s
= wxString_in_helper(item
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9255 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9256 if (!SWIG_IsOK(ecode3
)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9259 arg3
= static_cast< unsigned int >(val3
);
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= SWIG_Py_Void();
9268 if (temp2
) delete arg2
;
9273 if (temp2
) delete arg2
;
9279 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
= 0;
9281 wxListBox
*arg1
= (wxListBox
*) 0 ;
9282 wxArrayString
*arg2
= 0 ;
9285 bool temp2
= false ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9288 char * kwnames
[] = {
9289 (char *) "self",(char *) "items", NULL
9292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9294 if (!SWIG_IsOK(res1
)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9297 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9299 if (! PySequence_Check(obj1
)) {
9300 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9303 arg2
= new wxArrayString
;
9305 int i
, len
=PySequence_Length(obj1
);
9306 for (i
=0; i
<len
; i
++) {
9307 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9308 wxString
* s
= wxString_in_helper(item
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 (arg1
)->Set((wxArrayString
const &)*arg2
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_Py_Void();
9323 if (temp2
) delete arg2
;
9328 if (temp2
) delete arg2
;
9334 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= 0;
9336 wxListBox
*arg1
= (wxListBox
*) 0 ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 char * kwnames
[] = {
9346 (char *) "self",(char *) "n", NULL
9349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9351 if (!SWIG_IsOK(res1
)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9354 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9356 if (!SWIG_IsOK(ecode2
)) {
9357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9359 arg2
= static_cast< int >(val2
);
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9375 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
= 0;
9377 wxListBox
*arg1
= (wxListBox
*) 0 ;
9379 bool arg3
= (bool) true ;
9386 PyObject
* obj0
= 0 ;
9387 PyObject
* obj1
= 0 ;
9388 PyObject
* obj2
= 0 ;
9389 char * kwnames
[] = {
9390 (char *) "self",(char *) "n",(char *) "select", NULL
9393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9395 if (!SWIG_IsOK(res1
)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9398 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9400 if (!SWIG_IsOK(ecode2
)) {
9401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9403 arg2
= static_cast< int >(val2
);
9405 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9406 if (!SWIG_IsOK(ecode3
)) {
9407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9409 arg3
= static_cast< bool >(val3
);
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 (arg1
)->SetSelection(arg2
,arg3
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_Py_Void();
9424 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
= 0;
9426 wxListBox
*arg1
= (wxListBox
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9433 PyObject
* obj1
= 0 ;
9434 char * kwnames
[] = {
9435 (char *) "self",(char *) "n", NULL
9438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9443 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9445 if (!SWIG_IsOK(ecode2
)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9448 arg2
= static_cast< int >(val2
);
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 (arg1
)->Select(arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_Py_Void();
9462 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
= 0;
9464 wxListBox
*arg1
= (wxListBox
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9472 char * kwnames
[] = {
9473 (char *) "self",(char *) "n", NULL
9476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9478 if (!SWIG_IsOK(res1
)) {
9479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9481 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9483 if (!SWIG_IsOK(ecode2
)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9486 arg2
= static_cast< int >(val2
);
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->Deselect(arg2
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_Py_Void();
9500 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
= 0;
9502 wxListBox
*arg1
= (wxListBox
*) 0 ;
9503 int arg2
= (int) -1 ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 char * kwnames
[] = {
9511 (char *) "self",(char *) "itemToLeaveSelected", NULL
9514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9519 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9522 if (!SWIG_IsOK(ecode2
)) {
9523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9525 arg2
= static_cast< int >(val2
);
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 (arg1
)->DeselectAll(arg2
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_Py_Void();
9540 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
= 0;
9542 wxListBox
*arg1
= (wxListBox
*) 0 ;
9543 wxString
*arg2
= 0 ;
9544 bool arg3
= (bool) true ;
9548 bool temp2
= false ;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9553 PyObject
* obj2
= 0 ;
9554 char * kwnames
[] = {
9555 (char *) "self",(char *) "s",(char *) "select", NULL
9558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9560 if (!SWIG_IsOK(res1
)) {
9561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9563 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9565 arg2
= wxString_in_helper(obj1
);
9566 if (arg2
== NULL
) SWIG_fail
;
9570 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9571 if (!SWIG_IsOK(ecode3
)) {
9572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9574 arg3
= static_cast< bool >(val3
);
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9599 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9600 PyObject
*resultobj
= 0;
9601 wxListBox
*arg1
= (wxListBox
*) 0 ;
9602 PyObject
*result
= 0 ;
9605 PyObject
*swig_obj
[1] ;
9607 if (!args
) SWIG_fail
;
9609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9610 if (!SWIG_IsOK(res1
)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9613 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9627 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
= 0;
9629 wxListBox
*arg1
= (wxListBox
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9637 char * kwnames
[] = {
9638 (char *) "self",(char *) "n", NULL
9641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9643 if (!SWIG_IsOK(res1
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9646 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9648 if (!SWIG_IsOK(ecode2
)) {
9649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9651 arg2
= static_cast< int >(val2
);
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 (arg1
)->SetFirstItem(arg2
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_Py_Void();
9665 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
= 0;
9667 wxListBox
*arg1
= (wxListBox
*) 0 ;
9668 wxString
*arg2
= 0 ;
9671 bool temp2
= false ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9674 char * kwnames
[] = {
9675 (char *) "self",(char *) "s", NULL
9678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9683 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9685 arg2
= wxString_in_helper(obj1
);
9686 if (arg2
== NULL
) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_Py_Void();
9710 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
= 0;
9712 wxListBox
*arg1
= (wxListBox
*) 0 ;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 char * kwnames
[] = {
9721 (char *) "self",(char *) "n", NULL
9724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9726 if (!SWIG_IsOK(res1
)) {
9727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9729 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9731 if (!SWIG_IsOK(ecode2
)) {
9732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9734 arg2
= static_cast< int >(val2
);
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 (arg1
)->EnsureVisible(arg2
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= SWIG_Py_Void();
9748 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
= 0;
9750 wxListBox
*arg1
= (wxListBox
*) 0 ;
9751 wxString
*arg2
= 0 ;
9754 bool temp2
= false ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 char * kwnames
[] = {
9758 (char *) "self",(char *) "s", NULL
9761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9766 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9768 arg2
= wxString_in_helper(obj1
);
9769 if (arg2
== NULL
) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_Py_Void();
9793 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9794 PyObject
*resultobj
= 0;
9795 wxListBox
*arg1
= (wxListBox
*) 0 ;
9799 PyObject
*swig_obj
[1] ;
9801 if (!args
) SWIG_fail
;
9803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9804 if (!SWIG_IsOK(res1
)) {
9805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9807 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9823 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
= 0;
9825 wxListBox
*arg1
= (wxListBox
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9833 char * kwnames
[] = {
9834 (char *) "self",(char *) "pt", NULL
9837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9839 if (!SWIG_IsOK(res1
)) {
9840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9842 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_From_int(static_cast< int >(result
));
9860 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxListBox
*arg1
= (wxListBox
*) 0 ;
9864 wxColour
*arg3
= 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 PyObject
* obj2
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "self",(char *) "item",(char *) "c", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",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_SetItemForegroundColour" "', 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_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9887 arg2
= static_cast< int >(val2
);
9890 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_Py_Void();
9905 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
= 0;
9907 wxListBox
*arg1
= (wxListBox
*) 0 ;
9909 wxColour
*arg3
= 0 ;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9917 PyObject
* obj2
= 0 ;
9918 char * kwnames
[] = {
9919 (char *) "self",(char *) "item",(char *) "c", NULL
9922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9927 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9929 if (!SWIG_IsOK(ecode2
)) {
9930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9932 arg2
= static_cast< int >(val2
);
9935 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= SWIG_Py_Void();
9950 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
= 0;
9952 wxListBox
*arg1
= (wxListBox
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9963 PyObject
* obj2
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "self",(char *) "item",(char *) "f", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9970 if (!SWIG_IsOK(res1
)) {
9971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9973 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9975 if (!SWIG_IsOK(ecode2
)) {
9976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9978 arg2
= static_cast< int >(val2
);
9979 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9980 if (!SWIG_IsOK(res3
)) {
9981 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9986 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_Py_Void();
10000 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
= 0;
10002 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10003 SwigValueWrapper
<wxVisualAttributes
> result
;
10006 PyObject
* obj0
= 0 ;
10007 char * kwnames
[] = {
10008 (char *) "variant", NULL
10011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10013 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10014 if (!SWIG_IsOK(ecode1
)) {
10015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10017 arg1
= static_cast< wxWindowVariant
>(val1
);
10020 if (!wxPyCheckForApp()) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10033 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10036 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10037 return SWIG_Py_Void();
10040 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10041 return SWIG_Python_InitShadowInstance(args
);
10044 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
= 0;
10046 wxWindow
*arg1
= (wxWindow
*) 0 ;
10047 int arg2
= (int) -1 ;
10048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10052 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10053 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10054 long arg6
= (long) 0 ;
10055 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10056 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10057 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10058 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10059 wxCheckListBox
*result
= 0 ;
10066 bool temp5
= false ;
10071 bool temp8
= false ;
10072 PyObject
* obj0
= 0 ;
10073 PyObject
* obj1
= 0 ;
10074 PyObject
* obj2
= 0 ;
10075 PyObject
* obj3
= 0 ;
10076 PyObject
* obj4
= 0 ;
10077 PyObject
* obj5
= 0 ;
10078 PyObject
* obj6
= 0 ;
10079 PyObject
* obj7
= 0 ;
10080 char * kwnames
[] = {
10081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10086 if (!SWIG_IsOK(res1
)) {
10087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10089 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10092 if (!SWIG_IsOK(ecode2
)) {
10093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10095 arg2
= static_cast< int >(val2
);
10100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10106 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10111 if (! PySequence_Check(obj4
)) {
10112 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10115 arg5
= new wxArrayString
;
10117 int i
, len
=PySequence_Length(obj4
);
10118 for (i
=0; i
<len
; i
++) {
10119 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10120 wxString
* s
= wxString_in_helper(item
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10129 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10130 if (!SWIG_IsOK(ecode6
)) {
10131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10133 arg6
= static_cast< long >(val6
);
10136 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10137 if (!SWIG_IsOK(res7
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10143 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10147 arg8
= wxString_in_helper(obj7
);
10148 if (arg8
== NULL
) SWIG_fail
;
10153 if (!wxPyCheckForApp()) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10161 if (temp5
) delete arg5
;
10170 if (temp5
) delete arg5
;
10180 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10181 PyObject
*resultobj
= 0;
10182 wxCheckListBox
*result
= 0 ;
10184 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10186 if (!wxPyCheckForApp()) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (wxCheckListBox
*)new wxCheckListBox();
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10199 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
= 0;
10201 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10202 wxWindow
*arg2
= (wxWindow
*) 0 ;
10203 int arg3
= (int) -1 ;
10204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10208 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10209 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10210 long arg7
= (long) 0 ;
10211 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10212 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10213 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10214 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10224 bool temp6
= false ;
10229 bool temp9
= false ;
10230 PyObject
* obj0
= 0 ;
10231 PyObject
* obj1
= 0 ;
10232 PyObject
* obj2
= 0 ;
10233 PyObject
* obj3
= 0 ;
10234 PyObject
* obj4
= 0 ;
10235 PyObject
* obj5
= 0 ;
10236 PyObject
* obj6
= 0 ;
10237 PyObject
* obj7
= 0 ;
10238 PyObject
* obj8
= 0 ;
10239 char * kwnames
[] = {
10240 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10245 if (!SWIG_IsOK(res1
)) {
10246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10248 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10250 if (!SWIG_IsOK(res2
)) {
10251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10253 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10256 if (!SWIG_IsOK(ecode3
)) {
10257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10259 arg3
= static_cast< int >(val3
);
10264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10275 if (! PySequence_Check(obj5
)) {
10276 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10279 arg6
= new wxArrayString
;
10281 int i
, len
=PySequence_Length(obj5
);
10282 for (i
=0; i
<len
; i
++) {
10283 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10284 wxString
* s
= wxString_in_helper(item
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10293 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10294 if (!SWIG_IsOK(ecode7
)) {
10295 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10297 arg7
= static_cast< long >(val7
);
10300 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10301 if (!SWIG_IsOK(res8
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10307 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10311 arg9
= wxString_in_helper(obj8
);
10312 if (arg9
== NULL
) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10326 if (temp6
) delete arg6
;
10335 if (temp6
) delete arg6
;
10345 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= 0;
10347 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10348 unsigned int arg2
;
10352 unsigned int val2
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 char * kwnames
[] = {
10357 (char *) "self",(char *) "index", NULL
10360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10362 if (!SWIG_IsOK(res1
)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10365 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10366 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10367 if (!SWIG_IsOK(ecode2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10370 arg2
= static_cast< unsigned int >(val2
);
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (bool)(arg1
)->IsChecked(arg2
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10386 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
= 0;
10388 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10389 unsigned int arg2
;
10390 int arg3
= (int) true ;
10393 unsigned int val2
;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 PyObject
* obj2
= 0 ;
10400 char * kwnames
[] = {
10401 (char *) "self",(char *) "index",(char *) "check", NULL
10404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10406 if (!SWIG_IsOK(res1
)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10409 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10410 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10411 if (!SWIG_IsOK(ecode2
)) {
10412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10414 arg2
= static_cast< unsigned int >(val2
);
10416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10417 if (!SWIG_IsOK(ecode3
)) {
10418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10420 arg3
= static_cast< int >(val3
);
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 (arg1
)->Check(arg2
,arg3
);
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_Py_Void();
10435 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10436 PyObject
*resultobj
= 0;
10437 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10441 PyObject
*swig_obj
[1] ;
10443 if (!args
) SWIG_fail
;
10444 swig_obj
[0] = args
;
10445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10446 if (!SWIG_IsOK(res1
)) {
10447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10449 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (int)(arg1
)->GetItemHeight();
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= SWIG_From_int(static_cast< int >(result
));
10463 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10466 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10467 return SWIG_Py_Void();
10470 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 return SWIG_Python_InitShadowInstance(args
);
10474 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10475 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10480 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10481 PyObject
*pyobj
= 0;
10485 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10487 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10494 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
= 0;
10496 wxColour
const &arg1_defvalue
= wxNullColour
;
10497 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10498 wxColour
const &arg2_defvalue
= wxNullColour
;
10499 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10500 wxFont
const &arg3_defvalue
= wxNullFont
;
10501 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10502 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10503 wxTextAttr
*result
= 0 ;
10510 PyObject
* obj0
= 0 ;
10511 PyObject
* obj1
= 0 ;
10512 PyObject
* obj2
= 0 ;
10513 PyObject
* obj3
= 0 ;
10514 char * kwnames
[] = {
10515 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10522 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10528 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10532 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10533 if (!SWIG_IsOK(res3
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10539 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10542 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10543 if (!SWIG_IsOK(ecode4
)) {
10544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10546 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10561 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10562 PyObject
*resultobj
= 0;
10563 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10566 PyObject
*swig_obj
[1] ;
10568 if (!args
) SWIG_fail
;
10569 swig_obj
[0] = args
;
10570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10571 if (!SWIG_IsOK(res1
)) {
10572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10574 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_Py_Void();
10589 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10590 PyObject
*resultobj
= 0;
10591 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10594 PyObject
*swig_obj
[1] ;
10596 if (!args
) SWIG_fail
;
10597 swig_obj
[0] = args
;
10598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10602 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_Py_Void();
10616 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
= 0;
10618 wxTextAttr
*arg1
= 0 ;
10619 wxTextAttr
*arg2
= 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char * kwnames
[] = {
10628 (char *) "base",(char *) "overlay", NULL
10631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10633 if (!SWIG_IsOK(res1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10639 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10641 if (!SWIG_IsOK(res2
)) {
10642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10647 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10661 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
= 0;
10663 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10664 wxColour
*arg2
= 0 ;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 char * kwnames
[] = {
10671 (char *) "self",(char *) "colText", NULL
10674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10676 if (!SWIG_IsOK(res1
)) {
10677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10679 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10682 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_Py_Void();
10697 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
= 0;
10699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10700 wxColour
*arg2
= 0 ;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 char * kwnames
[] = {
10707 (char *) "self",(char *) "colBack", NULL
10710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10712 if (!SWIG_IsOK(res1
)) {
10713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10715 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10718 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_Py_Void();
10733 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
= 0;
10735 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10737 long arg3
= (long) wxTEXT_ATTR_FONT
;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 PyObject
* obj2
= 0 ;
10747 char * kwnames
[] = {
10748 (char *) "self",(char *) "font",(char *) "flags", NULL
10751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10756 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10758 if (!SWIG_IsOK(res2
)) {
10759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10764 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10766 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10767 if (!SWIG_IsOK(ecode3
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10770 arg3
= static_cast< long >(val3
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_Py_Void();
10785 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= 0;
10787 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10788 wxTextAttrAlignment arg2
;
10793 PyObject
* obj0
= 0 ;
10794 PyObject
* obj1
= 0 ;
10795 char * kwnames
[] = {
10796 (char *) "self",(char *) "alignment", NULL
10799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10804 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10806 if (!SWIG_IsOK(ecode2
)) {
10807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10809 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 (arg1
)->SetAlignment(arg2
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_Py_Void();
10823 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
= 0;
10825 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10826 wxArrayInt
*arg2
= 0 ;
10829 bool temp2
= false ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "self",(char *) "tabs", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10838 if (!SWIG_IsOK(res1
)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10841 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10843 if (! PySequence_Check(obj1
)) {
10844 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10847 arg2
= new wxArrayInt
;
10849 int i
, len
=PySequence_Length(obj1
);
10850 for (i
=0; i
<len
; i
++) {
10851 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10852 PyObject
* number
= PyNumber_Int(item
);
10854 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10857 arg2
->Add(PyInt_AS_LONG(number
));
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_Py_Void();
10870 if (temp2
) delete arg2
;
10875 if (temp2
) delete arg2
;
10881 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
= 0;
10883 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10885 int arg3
= (int) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 PyObject
* obj2
= 0 ;
10895 char * kwnames
[] = {
10896 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10901 if (!SWIG_IsOK(res1
)) {
10902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10904 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10906 if (!SWIG_IsOK(ecode2
)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10909 arg2
= static_cast< int >(val2
);
10911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10912 if (!SWIG_IsOK(ecode3
)) {
10913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10915 arg3
= static_cast< int >(val3
);
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 (arg1
)->SetLeftIndent(arg2
,arg3
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= SWIG_Py_Void();
10930 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
= 0;
10932 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 char * kwnames
[] = {
10941 (char *) "self",(char *) "indent", NULL
10944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10946 if (!SWIG_IsOK(res1
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10949 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10951 if (!SWIG_IsOK(ecode2
)) {
10952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10954 arg2
= static_cast< int >(val2
);
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 (arg1
)->SetRightIndent(arg2
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= SWIG_Py_Void();
10968 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
= 0;
10970 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 char * kwnames
[] = {
10979 (char *) "self",(char *) "flags", NULL
10982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10984 if (!SWIG_IsOK(res1
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10987 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10988 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10989 if (!SWIG_IsOK(ecode2
)) {
10990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10992 arg2
= static_cast< long >(val2
);
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 (arg1
)->SetFlags(arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= SWIG_Py_Void();
11006 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11007 PyObject
*resultobj
= 0;
11008 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11012 PyObject
*swig_obj
[1] ;
11014 if (!args
) SWIG_fail
;
11015 swig_obj
[0] = args
;
11016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11017 if (!SWIG_IsOK(res1
)) {
11018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11020 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11036 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11037 PyObject
*resultobj
= 0;
11038 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11042 PyObject
*swig_obj
[1] ;
11044 if (!args
) SWIG_fail
;
11045 swig_obj
[0] = args
;
11046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11047 if (!SWIG_IsOK(res1
)) {
11048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11050 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11066 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11067 PyObject
*resultobj
= 0;
11068 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11072 PyObject
*swig_obj
[1] ;
11074 if (!args
) SWIG_fail
;
11075 swig_obj
[0] = args
;
11076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11077 if (!SWIG_IsOK(res1
)) {
11078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11080 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11096 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11097 PyObject
*resultobj
= 0;
11098 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11102 PyObject
*swig_obj
[1] ;
11104 if (!args
) SWIG_fail
;
11105 swig_obj
[0] = args
;
11106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11110 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11126 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11127 PyObject
*resultobj
= 0;
11128 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11132 PyObject
*swig_obj
[1] ;
11134 if (!args
) SWIG_fail
;
11135 swig_obj
[0] = args
;
11136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11137 if (!SWIG_IsOK(res1
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11140 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11156 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11157 PyObject
*resultobj
= 0;
11158 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11162 PyObject
*swig_obj
[1] ;
11164 if (!args
) SWIG_fail
;
11165 swig_obj
[0] = args
;
11166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11170 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11187 PyObject
*resultobj
= 0;
11188 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11192 PyObject
*swig_obj
[1] ;
11194 if (!args
) SWIG_fail
;
11195 swig_obj
[0] = args
;
11196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11197 if (!SWIG_IsOK(res1
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11200 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11216 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
= 0;
11218 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 char * kwnames
[] = {
11228 (char *) "self",(char *) "flag", NULL
11231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11233 if (!SWIG_IsOK(res1
)) {
11234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11236 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11237 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11238 if (!SWIG_IsOK(ecode2
)) {
11239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11241 arg2
= static_cast< long >(val2
);
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11257 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11258 PyObject
*resultobj
= 0;
11259 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11260 wxColour
*result
= 0 ;
11263 PyObject
*swig_obj
[1] ;
11265 if (!args
) SWIG_fail
;
11266 swig_obj
[0] = args
;
11267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11268 if (!SWIG_IsOK(res1
)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11271 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11276 result
= (wxColour
*) &_result_ref
;
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11288 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11289 PyObject
*resultobj
= 0;
11290 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11291 wxColour
*result
= 0 ;
11294 PyObject
*swig_obj
[1] ;
11296 if (!args
) SWIG_fail
;
11297 swig_obj
[0] = args
;
11298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11299 if (!SWIG_IsOK(res1
)) {
11300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11302 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11307 result
= (wxColour
*) &_result_ref
;
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11319 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11320 PyObject
*resultobj
= 0;
11321 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11322 wxFont
*result
= 0 ;
11325 PyObject
*swig_obj
[1] ;
11327 if (!args
) SWIG_fail
;
11328 swig_obj
[0] = args
;
11329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11330 if (!SWIG_IsOK(res1
)) {
11331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11333 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11338 result
= (wxFont
*) &_result_ref
;
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 wxFont
* resultptr
= new wxFont(*result
);
11345 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11356 wxTextAttrAlignment result
;
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_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_int(static_cast< int >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11384 wxArrayInt
*result
= 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_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11400 result
= (wxArrayInt
*) &_result_ref
;
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= wxArrayInt2PyList_helper(*result
);
11414 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11415 PyObject
*resultobj
= 0;
11416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11420 PyObject
*swig_obj
[1] ;
11422 if (!args
) SWIG_fail
;
11423 swig_obj
[0] = args
;
11424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11425 if (!SWIG_IsOK(res1
)) {
11426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11428 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_From_long(static_cast< long >(result
));
11442 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11443 PyObject
*resultobj
= 0;
11444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11448 PyObject
*swig_obj
[1] ;
11450 if (!args
) SWIG_fail
;
11451 swig_obj
[0] = args
;
11452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11453 if (!SWIG_IsOK(res1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11456 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_From_long(static_cast< long >(result
));
11470 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11471 PyObject
*resultobj
= 0;
11472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11476 PyObject
*swig_obj
[1] ;
11478 if (!args
) SWIG_fail
;
11479 swig_obj
[0] = args
;
11480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11484 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_From_long(static_cast< long >(result
));
11498 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11499 PyObject
*resultobj
= 0;
11500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11504 PyObject
*swig_obj
[1] ;
11506 if (!args
) SWIG_fail
;
11507 swig_obj
[0] = args
;
11508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11512 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_long(static_cast< long >(result
));
11526 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11527 PyObject
*resultobj
= 0;
11528 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11532 PyObject
*swig_obj
[1] ;
11534 if (!args
) SWIG_fail
;
11535 swig_obj
[0] = args
;
11536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11537 if (!SWIG_IsOK(res1
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11540 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11556 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxTextAttr
*arg1
= 0 ;
11559 wxTextAttr
*arg2
= 0 ;
11560 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 PyObject
* obj2
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11583 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11585 if (!SWIG_IsOK(res2
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11591 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11592 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11593 if (!SWIG_IsOK(res3
)) {
11594 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11596 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11610 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11613 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11614 return SWIG_Py_Void();
11617 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11618 return SWIG_Python_InitShadowInstance(args
);
11621 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
= 0;
11623 wxWindow
*arg1
= (wxWindow
*) 0 ;
11624 int arg2
= (int) -1 ;
11625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11631 long arg6
= (long) 0 ;
11632 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11633 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11634 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11635 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11636 wxTextCtrl
*result
= 0 ;
11641 bool temp3
= false ;
11648 bool temp8
= false ;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 PyObject
* obj2
= 0 ;
11652 PyObject
* obj3
= 0 ;
11653 PyObject
* obj4
= 0 ;
11654 PyObject
* obj5
= 0 ;
11655 PyObject
* obj6
= 0 ;
11656 PyObject
* obj7
= 0 ;
11657 char * kwnames
[] = {
11658 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11663 if (!SWIG_IsOK(res1
)) {
11664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11669 if (!SWIG_IsOK(ecode2
)) {
11670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11672 arg2
= static_cast< int >(val2
);
11676 arg3
= wxString_in_helper(obj2
);
11677 if (arg3
== NULL
) SWIG_fail
;
11684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11694 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11695 if (!SWIG_IsOK(ecode6
)) {
11696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11698 arg6
= static_cast< long >(val6
);
11701 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11702 if (!SWIG_IsOK(res7
)) {
11703 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11708 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11712 arg8
= wxString_in_helper(obj7
);
11713 if (arg8
== NULL
) SWIG_fail
;
11718 if (!wxPyCheckForApp()) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11747 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11748 PyObject
*resultobj
= 0;
11749 wxTextCtrl
*result
= 0 ;
11751 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11753 if (!wxPyCheckForApp()) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (wxTextCtrl
*)new wxTextCtrl();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11766 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
= 0;
11768 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11769 wxWindow
*arg2
= (wxWindow
*) 0 ;
11770 int arg3
= (int) -1 ;
11771 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11772 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11773 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11774 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11775 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11776 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11777 long arg7
= (long) 0 ;
11778 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11779 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11780 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11781 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11789 bool temp4
= false ;
11796 bool temp9
= false ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 PyObject
* obj2
= 0 ;
11800 PyObject
* obj3
= 0 ;
11801 PyObject
* obj4
= 0 ;
11802 PyObject
* obj5
= 0 ;
11803 PyObject
* obj6
= 0 ;
11804 PyObject
* obj7
= 0 ;
11805 PyObject
* obj8
= 0 ;
11806 char * kwnames
[] = {
11807 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11812 if (!SWIG_IsOK(res1
)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11815 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11817 if (!SWIG_IsOK(res2
)) {
11818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11820 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11823 if (!SWIG_IsOK(ecode3
)) {
11824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11826 arg3
= static_cast< int >(val3
);
11830 arg4
= wxString_in_helper(obj3
);
11831 if (arg4
== NULL
) SWIG_fail
;
11838 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11844 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11848 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11849 if (!SWIG_IsOK(ecode7
)) {
11850 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11852 arg7
= static_cast< long >(val7
);
11855 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11856 if (!SWIG_IsOK(res8
)) {
11857 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11862 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11866 arg9
= wxString_in_helper(obj8
);
11867 if (arg9
== NULL
) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11902 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11903 PyObject
*resultobj
= 0;
11904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11908 PyObject
*swig_obj
[1] ;
11910 if (!args
) SWIG_fail
;
11911 swig_obj
[0] = args
;
11912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11936 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
= 0;
11938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11939 wxString
*arg2
= 0 ;
11942 bool temp2
= false ;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 char * kwnames
[] = {
11946 (char *) "self",(char *) "value", NULL
11949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11951 if (!SWIG_IsOK(res1
)) {
11952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11954 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11956 arg2
= wxString_in_helper(obj1
);
11957 if (arg2
== NULL
) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 (arg1
)->SetValue((wxString
const &)*arg2
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_Py_Void();
11981 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11982 PyObject
*resultobj
= 0;
11983 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11987 PyObject
*swig_obj
[1] ;
11989 if (!args
) SWIG_fail
;
11990 swig_obj
[0] = args
;
11991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11992 if (!SWIG_IsOK(res1
)) {
11993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11995 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12011 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
= 0;
12013 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12014 wxString
*arg2
= 0 ;
12017 bool temp2
= false ;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 char * kwnames
[] = {
12021 (char *) "self",(char *) "value", NULL
12024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12026 if (!SWIG_IsOK(res1
)) {
12027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12029 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12031 arg2
= wxString_in_helper(obj1
);
12032 if (arg2
== NULL
) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= SWIG_Py_Void();
12056 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
= 0;
12058 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 PyObject
* obj2
= 0 ;
12071 char * kwnames
[] = {
12072 (char *) "self",(char *) "from",(char *) "to", NULL
12075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12077 if (!SWIG_IsOK(res1
)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12080 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12081 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12082 if (!SWIG_IsOK(ecode2
)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12085 arg2
= static_cast< long >(val2
);
12086 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12087 if (!SWIG_IsOK(ecode3
)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12090 arg3
= static_cast< long >(val3
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12110 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
= 0;
12112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12119 PyObject
* obj0
= 0 ;
12120 PyObject
* obj1
= 0 ;
12121 char * kwnames
[] = {
12122 (char *) "self",(char *) "lineNo", NULL
12125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12127 if (!SWIG_IsOK(res1
)) {
12128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12130 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12131 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12132 if (!SWIG_IsOK(ecode2
)) {
12133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12135 arg2
= static_cast< long >(val2
);
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_From_int(static_cast< int >(result
));
12149 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
= 0;
12151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 PyObject
* obj1
= 0 ;
12160 char * kwnames
[] = {
12161 (char *) "self",(char *) "lineNo", NULL
12164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12166 if (!SWIG_IsOK(res1
)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12169 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12171 if (!SWIG_IsOK(ecode2
)) {
12172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12174 arg2
= static_cast< long >(val2
);
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12194 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12195 PyObject
*resultobj
= 0;
12196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12200 PyObject
*swig_obj
[1] ;
12202 if (!args
) SWIG_fail
;
12203 swig_obj
[0] = args
;
12204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12205 if (!SWIG_IsOK(res1
)) {
12206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12208 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= SWIG_From_int(static_cast< int >(result
));
12222 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 PyObject
*resultobj
= 0;
12224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12228 PyObject
*swig_obj
[1] ;
12230 if (!args
) SWIG_fail
;
12231 swig_obj
[0] = args
;
12232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12233 if (!SWIG_IsOK(res1
)) {
12234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12236 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12252 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12253 PyObject
*resultobj
= 0;
12254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12258 PyObject
*swig_obj
[1] ;
12260 if (!args
) SWIG_fail
;
12261 swig_obj
[0] = args
;
12262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12263 if (!SWIG_IsOK(res1
)) {
12264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12266 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12282 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12283 PyObject
*resultobj
= 0;
12284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12288 PyObject
*swig_obj
[1] ;
12290 if (!args
) SWIG_fail
;
12291 swig_obj
[0] = args
;
12292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12293 if (!SWIG_IsOK(res1
)) {
12294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12296 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12312 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12313 PyObject
*resultobj
= 0;
12314 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12318 PyObject
*swig_obj
[1] ;
12320 if (!args
) SWIG_fail
;
12321 swig_obj
[0] = args
;
12322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12323 if (!SWIG_IsOK(res1
)) {
12324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12326 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12342 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12343 PyObject
*resultobj
= 0;
12344 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12345 long *arg2
= (long *) 0 ;
12346 long *arg3
= (long *) 0 ;
12350 int res2
= SWIG_TMPOBJ
;
12352 int res3
= SWIG_TMPOBJ
;
12353 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12363 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_Py_Void();
12371 if (SWIG_IsTmpObj(res2
)) {
12372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12374 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12377 if (SWIG_IsTmpObj(res3
)) {
12378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12380 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12389 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12390 PyObject
*resultobj
= 0;
12391 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12395 PyObject
*swig_obj
[1] ;
12397 if (!args
) SWIG_fail
;
12398 swig_obj
[0] = args
;
12399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12403 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12423 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12424 PyObject
*resultobj
= 0;
12425 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12428 PyObject
*swig_obj
[1] ;
12430 if (!args
) SWIG_fail
;
12431 swig_obj
[0] = args
;
12432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_Py_Void();
12450 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
= 0;
12452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12455 wxString
*arg4
= 0 ;
12462 bool temp4
= false ;
12463 PyObject
* obj0
= 0 ;
12464 PyObject
* obj1
= 0 ;
12465 PyObject
* obj2
= 0 ;
12466 PyObject
* obj3
= 0 ;
12467 char * kwnames
[] = {
12468 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12473 if (!SWIG_IsOK(res1
)) {
12474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12476 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12477 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12478 if (!SWIG_IsOK(ecode2
)) {
12479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12481 arg2
= static_cast< long >(val2
);
12482 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12483 if (!SWIG_IsOK(ecode3
)) {
12484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12486 arg3
= static_cast< long >(val3
);
12488 arg4
= wxString_in_helper(obj3
);
12489 if (arg4
== NULL
) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_Py_Void();
12513 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= 0;
12515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 PyObject
* obj2
= 0 ;
12527 char * kwnames
[] = {
12528 (char *) "self",(char *) "from",(char *) "to", NULL
12531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12536 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12537 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12538 if (!SWIG_IsOK(ecode2
)) {
12539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12541 arg2
= static_cast< long >(val2
);
12542 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12543 if (!SWIG_IsOK(ecode3
)) {
12544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12546 arg3
= static_cast< long >(val3
);
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 (arg1
)->Remove(arg2
,arg3
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= SWIG_Py_Void();
12560 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
= 0;
12562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12563 wxString
*arg2
= 0 ;
12564 int arg3
= (int) wxTEXT_TYPE_ANY
;
12568 bool temp2
= false ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 PyObject
* obj2
= 0 ;
12574 char * kwnames
[] = {
12575 (char *) "self",(char *) "file",(char *) "fileType", NULL
12578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12583 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12585 arg2
= wxString_in_helper(obj1
);
12586 if (arg2
== NULL
) SWIG_fail
;
12590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12591 if (!SWIG_IsOK(ecode3
)) {
12592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12594 arg3
= static_cast< int >(val3
);
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12619 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
= 0;
12621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12622 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12623 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12624 int arg3
= (int) wxTEXT_TYPE_ANY
;
12628 bool temp2
= false ;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 PyObject
* obj2
= 0 ;
12634 char * kwnames
[] = {
12635 (char *) "self",(char *) "file",(char *) "fileType", NULL
12638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12640 if (!SWIG_IsOK(res1
)) {
12641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12643 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12646 arg2
= wxString_in_helper(obj1
);
12647 if (arg2
== NULL
) SWIG_fail
;
12652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12653 if (!SWIG_IsOK(ecode3
)) {
12654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12656 arg3
= static_cast< int >(val3
);
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12681 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12682 PyObject
*resultobj
= 0;
12683 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12686 PyObject
*swig_obj
[1] ;
12688 if (!args
) SWIG_fail
;
12689 swig_obj
[0] = args
;
12690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12691 if (!SWIG_IsOK(res1
)) {
12692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12694 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 (arg1
)->MarkDirty();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= SWIG_Py_Void();
12708 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12709 PyObject
*resultobj
= 0;
12710 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12713 PyObject
*swig_obj
[1] ;
12715 if (!args
) SWIG_fail
;
12716 swig_obj
[0] = args
;
12717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12721 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 (arg1
)->DiscardEdits();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= SWIG_Py_Void();
12735 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
= 0;
12737 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 char * kwnames
[] = {
12746 (char *) "self",(char *) "modified", NULL
12749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12751 if (!SWIG_IsOK(res1
)) {
12752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12754 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12755 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12756 if (!SWIG_IsOK(ecode2
)) {
12757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12759 arg2
= static_cast< bool >(val2
);
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 (arg1
)->SetModified(arg2
);
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= SWIG_Py_Void();
12773 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
= 0;
12775 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12776 unsigned long arg2
;
12779 unsigned long val2
;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char * kwnames
[] = {
12784 (char *) "self",(char *) "len", NULL
12787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12789 if (!SWIG_IsOK(res1
)) {
12790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12792 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12793 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12794 if (!SWIG_IsOK(ecode2
)) {
12795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12797 arg2
= static_cast< unsigned long >(val2
);
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 (arg1
)->SetMaxLength(arg2
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_Py_Void();
12811 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
= 0;
12813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12814 wxString
*arg2
= 0 ;
12817 bool temp2
= false ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 char * kwnames
[] = {
12821 (char *) "self",(char *) "text", NULL
12824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12829 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12831 arg2
= wxString_in_helper(obj1
);
12832 if (arg2
== NULL
) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 (arg1
)->WriteText((wxString
const &)*arg2
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_Py_Void();
12856 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
= 0;
12858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12859 wxString
*arg2
= 0 ;
12862 bool temp2
= false ;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 char * kwnames
[] = {
12866 (char *) "self",(char *) "text", NULL
12869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12871 if (!SWIG_IsOK(res1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12874 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12876 arg2
= wxString_in_helper(obj1
);
12877 if (arg2
== NULL
) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 (arg1
)->AppendText((wxString
const &)*arg2
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= SWIG_Py_Void();
12901 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
= 0;
12903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12904 wxKeyEvent
*arg2
= 0 ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 char * kwnames
[] = {
12913 (char *) "self",(char *) "event", NULL
12916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12918 if (!SWIG_IsOK(res1
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12921 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12923 if (!SWIG_IsOK(res2
)) {
12924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12929 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12945 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
= 0;
12947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12950 wxTextAttr
*arg4
= 0 ;
12960 PyObject
* obj0
= 0 ;
12961 PyObject
* obj1
= 0 ;
12962 PyObject
* obj2
= 0 ;
12963 PyObject
* obj3
= 0 ;
12964 char * kwnames
[] = {
12965 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12970 if (!SWIG_IsOK(res1
)) {
12971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12973 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12975 if (!SWIG_IsOK(ecode2
)) {
12976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12978 arg2
= static_cast< long >(val2
);
12979 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12980 if (!SWIG_IsOK(ecode3
)) {
12981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12983 arg3
= static_cast< long >(val3
);
12984 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12985 if (!SWIG_IsOK(res4
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12991 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13007 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
= 0;
13009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13011 wxTextAttr
*arg3
= 0 ;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 PyObject
* obj2
= 0 ;
13022 char * kwnames
[] = {
13023 (char *) "self",(char *) "position",(char *) "style", NULL
13026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13028 if (!SWIG_IsOK(res1
)) {
13029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13031 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13032 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13033 if (!SWIG_IsOK(ecode2
)) {
13034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13036 arg2
= static_cast< long >(val2
);
13037 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13038 if (!SWIG_IsOK(res3
)) {
13039 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13044 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13060 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
= 0;
13062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13063 wxTextAttr
*arg2
= 0 ;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 char * kwnames
[] = {
13072 (char *) "self",(char *) "style", NULL
13075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13077 if (!SWIG_IsOK(res1
)) {
13078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13080 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13082 if (!SWIG_IsOK(res2
)) {
13083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13088 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13104 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13105 PyObject
*resultobj
= 0;
13106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13107 wxTextAttr
*result
= 0 ;
13110 PyObject
*swig_obj
[1] ;
13112 if (!args
) SWIG_fail
;
13113 swig_obj
[0] = args
;
13114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13115 if (!SWIG_IsOK(res1
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13118 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13123 result
= (wxTextAttr
*) &_result_ref
;
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13135 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= 0;
13137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj2
= 0 ;
13150 char * kwnames
[] = {
13151 (char *) "self",(char *) "x",(char *) "y", NULL
13154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13156 if (!SWIG_IsOK(res1
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13159 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13160 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13161 if (!SWIG_IsOK(ecode2
)) {
13162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13164 arg2
= static_cast< long >(val2
);
13165 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13166 if (!SWIG_IsOK(ecode3
)) {
13167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13169 arg3
= static_cast< long >(val3
);
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_From_long(static_cast< long >(result
));
13183 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
= 0;
13185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13187 long *arg3
= (long *) 0 ;
13188 long *arg4
= (long *) 0 ;
13194 int res3
= SWIG_TMPOBJ
;
13196 int res4
= SWIG_TMPOBJ
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char * kwnames
[] = {
13200 (char *) "self",(char *) "pos", NULL
13205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13210 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13211 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13212 if (!SWIG_IsOK(ecode2
)) {
13213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13215 arg2
= static_cast< long >(val2
);
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_Py_Void();
13223 if (SWIG_IsTmpObj(res3
)) {
13224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13229 if (SWIG_IsTmpObj(res4
)) {
13230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13232 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13241 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
= 0;
13243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 char * kwnames
[] = {
13252 (char *) "self",(char *) "pos", NULL
13255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13257 if (!SWIG_IsOK(res1
)) {
13258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13260 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13261 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13262 if (!SWIG_IsOK(ecode2
)) {
13263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13265 arg2
= static_cast< long >(val2
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->ShowPosition(arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_Py_Void();
13279 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
= 0;
13281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13282 wxPoint
*arg2
= 0 ;
13283 long *arg3
= (long *) 0 ;
13284 long *arg4
= (long *) 0 ;
13285 wxTextCtrlHitTestResult result
;
13290 int res3
= SWIG_TMPOBJ
;
13292 int res4
= SWIG_TMPOBJ
;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 char * kwnames
[] = {
13296 (char *) "self",(char *) "pt", NULL
13301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13303 if (!SWIG_IsOK(res1
)) {
13304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13306 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= SWIG_From_int(static_cast< int >(result
));
13318 if (SWIG_IsTmpObj(res3
)) {
13319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13321 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13324 if (SWIG_IsTmpObj(res4
)) {
13325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13327 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13336 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
= 0;
13338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13339 wxPoint
*arg2
= 0 ;
13340 long *arg3
= (long *) 0 ;
13341 wxTextCtrlHitTestResult result
;
13346 int res3
= SWIG_TMPOBJ
;
13347 PyObject
* obj0
= 0 ;
13348 PyObject
* obj1
= 0 ;
13349 char * kwnames
[] = {
13350 (char *) "self",(char *) "pt", NULL
13354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13356 if (!SWIG_IsOK(res1
)) {
13357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13359 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_From_int(static_cast< int >(result
));
13371 if (SWIG_IsTmpObj(res3
)) {
13372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13374 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13383 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 PyObject
*resultobj
= 0;
13385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13396 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_Py_Void();
13410 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13411 PyObject
*resultobj
= 0;
13412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13415 PyObject
*swig_obj
[1] ;
13417 if (!args
) SWIG_fail
;
13418 swig_obj
[0] = args
;
13419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13420 if (!SWIG_IsOK(res1
)) {
13421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13423 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_Py_Void();
13437 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13438 PyObject
*resultobj
= 0;
13439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13442 PyObject
*swig_obj
[1] ;
13444 if (!args
) SWIG_fail
;
13445 swig_obj
[0] = args
;
13446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13447 if (!SWIG_IsOK(res1
)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13450 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= SWIG_Py_Void();
13464 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13465 PyObject
*resultobj
= 0;
13466 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13470 PyObject
*swig_obj
[1] ;
13472 if (!args
) SWIG_fail
;
13473 swig_obj
[0] = args
;
13474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13475 if (!SWIG_IsOK(res1
)) {
13476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13478 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13494 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13495 PyObject
*resultobj
= 0;
13496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13500 PyObject
*swig_obj
[1] ;
13502 if (!args
) SWIG_fail
;
13503 swig_obj
[0] = args
;
13504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13505 if (!SWIG_IsOK(res1
)) {
13506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13508 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13524 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13525 PyObject
*resultobj
= 0;
13526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13530 PyObject
*swig_obj
[1] ;
13532 if (!args
) SWIG_fail
;
13533 swig_obj
[0] = args
;
13534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13535 if (!SWIG_IsOK(res1
)) {
13536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13538 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13554 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13555 PyObject
*resultobj
= 0;
13556 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13559 PyObject
*swig_obj
[1] ;
13561 if (!args
) SWIG_fail
;
13562 swig_obj
[0] = args
;
13563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13564 if (!SWIG_IsOK(res1
)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13567 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_Py_Void();
13581 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13582 PyObject
*resultobj
= 0;
13583 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13586 PyObject
*swig_obj
[1] ;
13588 if (!args
) SWIG_fail
;
13589 swig_obj
[0] = args
;
13590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13591 if (!SWIG_IsOK(res1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13594 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= SWIG_Py_Void();
13608 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13609 PyObject
*resultobj
= 0;
13610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13614 PyObject
*swig_obj
[1] ;
13616 if (!args
) SWIG_fail
;
13617 swig_obj
[0] = args
;
13618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13619 if (!SWIG_IsOK(res1
)) {
13620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13622 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13638 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13639 PyObject
*resultobj
= 0;
13640 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13644 PyObject
*swig_obj
[1] ;
13646 if (!args
) SWIG_fail
;
13647 swig_obj
[0] = args
;
13648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13652 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13668 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 char * kwnames
[] = {
13679 (char *) "self",(char *) "pos", NULL
13682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13684 if (!SWIG_IsOK(res1
)) {
13685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13687 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13688 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13689 if (!SWIG_IsOK(ecode2
)) {
13690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13692 arg2
= static_cast< long >(val2
);
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 (arg1
)->SetInsertionPoint(arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_Py_Void();
13706 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13707 PyObject
*resultobj
= 0;
13708 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13711 PyObject
*swig_obj
[1] ;
13713 if (!args
) SWIG_fail
;
13714 swig_obj
[0] = args
;
13715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13716 if (!SWIG_IsOK(res1
)) {
13717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13719 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 (arg1
)->SetInsertionPointEnd();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= SWIG_Py_Void();
13733 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13734 PyObject
*resultobj
= 0;
13735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13739 PyObject
*swig_obj
[1] ;
13741 if (!args
) SWIG_fail
;
13742 swig_obj
[0] = args
;
13743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13744 if (!SWIG_IsOK(res1
)) {
13745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13747 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_From_long(static_cast< long >(result
));
13761 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13762 PyObject
*resultobj
= 0;
13763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13767 PyObject
*swig_obj
[1] ;
13769 if (!args
) SWIG_fail
;
13770 swig_obj
[0] = args
;
13771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13772 if (!SWIG_IsOK(res1
)) {
13773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13775 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= SWIG_From_long(static_cast< long >(result
));
13789 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
= 0;
13791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 PyObject
* obj2
= 0 ;
13803 char * kwnames
[] = {
13804 (char *) "self",(char *) "from",(char *) "to", NULL
13807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13809 if (!SWIG_IsOK(res1
)) {
13810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13812 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13813 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13814 if (!SWIG_IsOK(ecode2
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13817 arg2
= static_cast< long >(val2
);
13818 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13819 if (!SWIG_IsOK(ecode3
)) {
13820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13822 arg3
= static_cast< long >(val3
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 (arg1
)->SetSelection(arg2
,arg3
);
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_Py_Void();
13836 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13841 PyObject
*swig_obj
[1] ;
13843 if (!args
) SWIG_fail
;
13844 swig_obj
[0] = args
;
13845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13846 if (!SWIG_IsOK(res1
)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13849 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 (arg1
)->SelectAll();
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13856 resultobj
= SWIG_Py_Void();
13863 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
= 0;
13865 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13871 PyObject
* obj0
= 0 ;
13872 PyObject
* obj1
= 0 ;
13873 char * kwnames
[] = {
13874 (char *) "self",(char *) "editable", NULL
13877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13879 if (!SWIG_IsOK(res1
)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13882 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13883 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13884 if (!SWIG_IsOK(ecode2
)) {
13885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13887 arg2
= static_cast< bool >(val2
);
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 (arg1
)->SetEditable(arg2
);
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_Py_Void();
13901 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 char * kwnames
[] = {
13912 (char *) "self",(char *) "check", NULL
13915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13917 if (!SWIG_IsOK(res1
)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13920 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13921 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13922 if (!SWIG_IsOK(ecode2
)) {
13923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13925 arg2
= static_cast< bool >(val2
);
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_Py_Void();
13939 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13940 PyObject
*resultobj
= 0;
13941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13944 PyObject
*swig_obj
[1] ;
13946 if (!args
) SWIG_fail
;
13947 swig_obj
[0] = args
;
13948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13949 if (!SWIG_IsOK(res1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13952 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 (arg1
)->SendTextUpdatedEvent();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_Py_Void();
13966 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
= 0;
13968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13969 bool arg2
= (bool) true ;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 char * kwnames
[] = {
13978 (char *) "self",(char *) "show", NULL
13981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13983 if (!SWIG_IsOK(res1
)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13986 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13988 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13989 if (!SWIG_IsOK(ecode2
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13992 arg2
= static_cast< bool >(val2
);
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14009 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14010 PyObject
*resultobj
= 0;
14011 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14015 PyObject
*swig_obj
[1] ;
14017 if (!args
) SWIG_fail
;
14018 swig_obj
[0] = args
;
14019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14020 if (!SWIG_IsOK(res1
)) {
14021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14023 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (bool)(arg1
)->HideNativeCaret();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14039 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
= 0;
14041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14042 wxString
*arg2
= 0 ;
14045 bool temp2
= false ;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 char * kwnames
[] = {
14049 (char *) "self",(char *) "text", NULL
14052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14054 if (!SWIG_IsOK(res1
)) {
14055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14057 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14059 arg2
= wxString_in_helper(obj1
);
14060 if (arg2
== NULL
) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= SWIG_Py_Void();
14084 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
= 0;
14086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 PyObject
* obj2
= 0 ;
14099 char * kwnames
[] = {
14100 (char *) "self",(char *) "from",(char *) "to", NULL
14103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14105 if (!SWIG_IsOK(res1
)) {
14106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14108 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14109 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14110 if (!SWIG_IsOK(ecode2
)) {
14111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14113 arg2
= static_cast< long >(val2
);
14114 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14115 if (!SWIG_IsOK(ecode3
)) {
14116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14118 arg3
= static_cast< long >(val3
);
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14138 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
= 0;
14140 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14141 SwigValueWrapper
<wxVisualAttributes
> result
;
14144 PyObject
* obj0
= 0 ;
14145 char * kwnames
[] = {
14146 (char *) "variant", NULL
14149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14152 if (!SWIG_IsOK(ecode1
)) {
14153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14155 arg1
= static_cast< wxWindowVariant
>(val1
);
14158 if (!wxPyCheckForApp()) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14171 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14174 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14175 return SWIG_Py_Void();
14178 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14179 return SWIG_Python_InitShadowInstance(args
);
14182 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
= 0;
14185 wxMouseEvent
*arg2
= 0 ;
14188 wxTextUrlEvent
*result
= 0 ;
14197 PyObject
* obj0
= 0 ;
14198 PyObject
* obj1
= 0 ;
14199 PyObject
* obj2
= 0 ;
14200 PyObject
* obj3
= 0 ;
14201 char * kwnames
[] = {
14202 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14206 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14207 if (!SWIG_IsOK(ecode1
)) {
14208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14210 arg1
= static_cast< int >(val1
);
14211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14212 if (!SWIG_IsOK(res2
)) {
14213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14218 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14219 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14220 if (!SWIG_IsOK(ecode3
)) {
14221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14223 arg3
= static_cast< long >(val3
);
14224 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14225 if (!SWIG_IsOK(ecode4
)) {
14226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14228 arg4
= static_cast< long >(val4
);
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14242 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14243 PyObject
*resultobj
= 0;
14244 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14245 wxMouseEvent
*result
= 0 ;
14248 PyObject
*swig_obj
[1] ;
14250 if (!args
) SWIG_fail
;
14251 swig_obj
[0] = args
;
14252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14253 if (!SWIG_IsOK(res1
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14256 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14261 result
= (wxMouseEvent
*) &_result_ref
;
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14273 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14274 PyObject
*resultobj
= 0;
14275 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14279 PyObject
*swig_obj
[1] ;
14281 if (!args
) SWIG_fail
;
14282 swig_obj
[0] = args
;
14283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14284 if (!SWIG_IsOK(res1
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14287 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= SWIG_From_long(static_cast< long >(result
));
14301 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14302 PyObject
*resultobj
= 0;
14303 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14307 PyObject
*swig_obj
[1] ;
14309 if (!args
) SWIG_fail
;
14310 swig_obj
[0] = args
;
14311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14312 if (!SWIG_IsOK(res1
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14315 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= SWIG_From_long(static_cast< long >(result
));
14329 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14332 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14333 return SWIG_Py_Void();
14336 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14337 return SWIG_Python_InitShadowInstance(args
);
14340 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14341 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14346 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14347 PyObject
*pyobj
= 0;
14351 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14353 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14360 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
= 0;
14362 wxWindow
*arg1
= (wxWindow
*) 0 ;
14363 int arg2
= (int) -1 ;
14364 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14365 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14366 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14367 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14368 long arg5
= (long) wxSB_HORIZONTAL
;
14369 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14370 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14371 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14373 wxScrollBar
*result
= 0 ;
14384 bool temp7
= false ;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 PyObject
* obj2
= 0 ;
14388 PyObject
* obj3
= 0 ;
14389 PyObject
* obj4
= 0 ;
14390 PyObject
* obj5
= 0 ;
14391 PyObject
* obj6
= 0 ;
14392 char * kwnames
[] = {
14393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14398 if (!SWIG_IsOK(res1
)) {
14399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14404 if (!SWIG_IsOK(ecode2
)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14407 arg2
= static_cast< int >(val2
);
14412 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14418 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14422 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14423 if (!SWIG_IsOK(ecode5
)) {
14424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14426 arg5
= static_cast< long >(val5
);
14429 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14430 if (!SWIG_IsOK(res6
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14436 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14440 arg7
= wxString_in_helper(obj6
);
14441 if (arg7
== NULL
) SWIG_fail
;
14446 if (!wxPyCheckForApp()) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14467 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14468 PyObject
*resultobj
= 0;
14469 wxScrollBar
*result
= 0 ;
14471 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14473 if (!wxPyCheckForApp()) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (wxScrollBar
*)new wxScrollBar();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14486 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
= 0;
14488 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14489 wxWindow
*arg2
= (wxWindow
*) 0 ;
14490 int arg3
= (int) -1 ;
14491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14495 long arg6
= (long) wxSB_HORIZONTAL
;
14496 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14497 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14498 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14499 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14513 bool temp8
= false ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 PyObject
* obj2
= 0 ;
14517 PyObject
* obj3
= 0 ;
14518 PyObject
* obj4
= 0 ;
14519 PyObject
* obj5
= 0 ;
14520 PyObject
* obj6
= 0 ;
14521 PyObject
* obj7
= 0 ;
14522 char * kwnames
[] = {
14523 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14528 if (!SWIG_IsOK(res1
)) {
14529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14531 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14533 if (!SWIG_IsOK(res2
)) {
14534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14536 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14539 if (!SWIG_IsOK(ecode3
)) {
14540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14542 arg3
= static_cast< int >(val3
);
14547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14557 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14558 if (!SWIG_IsOK(ecode6
)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14561 arg6
= static_cast< long >(val6
);
14564 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14565 if (!SWIG_IsOK(res7
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14571 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14575 arg8
= wxString_in_helper(obj7
);
14576 if (arg8
== NULL
) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14603 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14604 PyObject
*resultobj
= 0;
14605 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14609 PyObject
*swig_obj
[1] ;
14611 if (!args
) SWIG_fail
;
14612 swig_obj
[0] = args
;
14613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14614 if (!SWIG_IsOK(res1
)) {
14615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14617 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= SWIG_From_int(static_cast< int >(result
));
14631 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14632 PyObject
*resultobj
= 0;
14633 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14637 PyObject
*swig_obj
[1] ;
14639 if (!args
) SWIG_fail
;
14640 swig_obj
[0] = args
;
14641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14642 if (!SWIG_IsOK(res1
)) {
14643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14645 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= SWIG_From_int(static_cast< int >(result
));
14659 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14660 PyObject
*resultobj
= 0;
14661 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14665 PyObject
*swig_obj
[1] ;
14667 if (!args
) SWIG_fail
;
14668 swig_obj
[0] = args
;
14669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14670 if (!SWIG_IsOK(res1
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14673 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= SWIG_From_int(static_cast< int >(result
));
14687 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14688 PyObject
*resultobj
= 0;
14689 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14693 PyObject
*swig_obj
[1] ;
14695 if (!args
) SWIG_fail
;
14696 swig_obj
[0] = args
;
14697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14698 if (!SWIG_IsOK(res1
)) {
14699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14701 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_From_int(static_cast< int >(result
));
14715 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14716 PyObject
*resultobj
= 0;
14717 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14721 PyObject
*swig_obj
[1] ;
14723 if (!args
) SWIG_fail
;
14724 swig_obj
[0] = args
;
14725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14726 if (!SWIG_IsOK(res1
)) {
14727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14729 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14745 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
= 0;
14747 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 char * kwnames
[] = {
14756 (char *) "self",(char *) "viewStart", NULL
14759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14761 if (!SWIG_IsOK(res1
)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14764 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14766 if (!SWIG_IsOK(ecode2
)) {
14767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14769 arg2
= static_cast< int >(val2
);
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 (arg1
)->SetThumbPosition(arg2
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_Py_Void();
14783 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
= 0;
14785 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14786 SwigValueWrapper
<wxVisualAttributes
> result
;
14789 PyObject
* obj0
= 0 ;
14790 char * kwnames
[] = {
14791 (char *) "variant", NULL
14794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14797 if (!SWIG_IsOK(ecode1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14800 arg1
= static_cast< wxWindowVariant
>(val1
);
14803 if (!wxPyCheckForApp()) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14816 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14819 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14820 return SWIG_Py_Void();
14823 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14824 return SWIG_Python_InitShadowInstance(args
);
14827 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14828 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14833 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14834 PyObject
*pyobj
= 0;
14838 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14840 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14847 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14848 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14853 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14854 PyObject
*pyobj
= 0;
14858 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14860 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14867 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
= 0;
14869 wxWindow
*arg1
= (wxWindow
*) 0 ;
14870 int arg2
= (int) -1 ;
14871 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14872 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14873 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14874 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14875 long arg5
= (long) wxSP_HORIZONTAL
;
14876 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14877 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14878 wxSpinButton
*result
= 0 ;
14887 bool temp6
= false ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 PyObject
* obj2
= 0 ;
14891 PyObject
* obj3
= 0 ;
14892 PyObject
* obj4
= 0 ;
14893 PyObject
* obj5
= 0 ;
14894 char * kwnames
[] = {
14895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14906 if (!SWIG_IsOK(ecode2
)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14909 arg2
= static_cast< int >(val2
);
14914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14920 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14924 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14925 if (!SWIG_IsOK(ecode5
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14928 arg5
= static_cast< long >(val5
);
14932 arg6
= wxString_in_helper(obj5
);
14933 if (arg6
== NULL
) SWIG_fail
;
14938 if (!wxPyCheckForApp()) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14959 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14960 PyObject
*resultobj
= 0;
14961 wxSpinButton
*result
= 0 ;
14963 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14965 if (!wxPyCheckForApp()) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (wxSpinButton
*)new wxSpinButton();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14978 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
= 0;
14980 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14981 wxWindow
*arg2
= (wxWindow
*) 0 ;
14982 int arg3
= (int) -1 ;
14983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14987 long arg6
= (long) wxSP_HORIZONTAL
;
14988 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14989 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15001 bool temp7
= false ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 PyObject
* obj2
= 0 ;
15005 PyObject
* obj3
= 0 ;
15006 PyObject
* obj4
= 0 ;
15007 PyObject
* obj5
= 0 ;
15008 PyObject
* obj6
= 0 ;
15009 char * kwnames
[] = {
15010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15018 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15020 if (!SWIG_IsOK(res2
)) {
15021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15023 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15026 if (!SWIG_IsOK(ecode3
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15029 arg3
= static_cast< int >(val3
);
15034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15044 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15045 if (!SWIG_IsOK(ecode6
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15048 arg6
= static_cast< long >(val6
);
15052 arg7
= wxString_in_helper(obj6
);
15053 if (arg7
== NULL
) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15080 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15081 PyObject
*resultobj
= 0;
15082 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15086 PyObject
*swig_obj
[1] ;
15088 if (!args
) SWIG_fail
;
15089 swig_obj
[0] = args
;
15090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15091 if (!SWIG_IsOK(res1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15094 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_From_int(static_cast< int >(result
));
15108 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15109 PyObject
*resultobj
= 0;
15110 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15114 PyObject
*swig_obj
[1] ;
15116 if (!args
) SWIG_fail
;
15117 swig_obj
[0] = args
;
15118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15119 if (!SWIG_IsOK(res1
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15122 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_From_int(static_cast< int >(result
));
15136 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15137 PyObject
*resultobj
= 0;
15138 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15142 PyObject
*swig_obj
[1] ;
15144 if (!args
) SWIG_fail
;
15145 swig_obj
[0] = args
;
15146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15147 if (!SWIG_IsOK(res1
)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15150 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= SWIG_From_int(static_cast< int >(result
));
15164 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
= 0;
15166 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char * kwnames
[] = {
15175 (char *) "self",(char *) "val", NULL
15178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15180 if (!SWIG_IsOK(res1
)) {
15181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15183 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15185 if (!SWIG_IsOK(ecode2
)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15188 arg2
= static_cast< int >(val2
);
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 (arg1
)->SetValue(arg2
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= SWIG_Py_Void();
15202 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
= 0;
15204 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 char * kwnames
[] = {
15213 (char *) "self",(char *) "minVal", NULL
15216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15218 if (!SWIG_IsOK(res1
)) {
15219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15221 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15223 if (!SWIG_IsOK(ecode2
)) {
15224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15226 arg2
= static_cast< int >(val2
);
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->SetMin(arg2
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 resultobj
= SWIG_Py_Void();
15240 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
= 0;
15242 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 PyObject
* obj1
= 0 ;
15250 char * kwnames
[] = {
15251 (char *) "self",(char *) "maxVal", NULL
15254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15256 if (!SWIG_IsOK(res1
)) {
15257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15259 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15261 if (!SWIG_IsOK(ecode2
)) {
15262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15264 arg2
= static_cast< int >(val2
);
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 (arg1
)->SetMax(arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_Py_Void();
15278 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
= 0;
15280 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15301 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15303 if (!SWIG_IsOK(ecode2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15306 arg2
= static_cast< int >(val2
);
15307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15308 if (!SWIG_IsOK(ecode3
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15311 arg3
= static_cast< int >(val3
);
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetRange(arg2
,arg3
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_Py_Void();
15325 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15326 PyObject
*resultobj
= 0;
15327 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15331 PyObject
*swig_obj
[1] ;
15333 if (!args
) SWIG_fail
;
15334 swig_obj
[0] = args
;
15335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15336 if (!SWIG_IsOK(res1
)) {
15337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15339 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
= 0;
15357 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15358 SwigValueWrapper
<wxVisualAttributes
> result
;
15361 PyObject
* obj0
= 0 ;
15362 char * kwnames
[] = {
15363 (char *) "variant", NULL
15366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15369 if (!SWIG_IsOK(ecode1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15372 arg1
= static_cast< wxWindowVariant
>(val1
);
15375 if (!wxPyCheckForApp()) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15388 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15391 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15392 return SWIG_Py_Void();
15395 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15396 return SWIG_Python_InitShadowInstance(args
);
15399 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
= 0;
15401 wxWindow
*arg1
= (wxWindow
*) 0 ;
15402 int arg2
= (int) -1 ;
15403 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15404 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15405 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15406 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15407 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15408 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15409 long arg6
= (long) wxSP_ARROW_KEYS
;
15410 int arg7
= (int) 0 ;
15411 int arg8
= (int) 100 ;
15412 int arg9
= (int) 0 ;
15413 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15414 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15415 wxSpinCtrl
*result
= 0 ;
15420 bool temp3
= false ;
15431 bool temp10
= false ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 PyObject
* obj3
= 0 ;
15436 PyObject
* obj4
= 0 ;
15437 PyObject
* obj5
= 0 ;
15438 PyObject
* obj6
= 0 ;
15439 PyObject
* obj7
= 0 ;
15440 PyObject
* obj8
= 0 ;
15441 PyObject
* obj9
= 0 ;
15442 char * kwnames
[] = {
15443 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15448 if (!SWIG_IsOK(res1
)) {
15449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15454 if (!SWIG_IsOK(ecode2
)) {
15455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15457 arg2
= static_cast< int >(val2
);
15461 arg3
= wxString_in_helper(obj2
);
15462 if (arg3
== NULL
) SWIG_fail
;
15469 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15475 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15479 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15480 if (!SWIG_IsOK(ecode6
)) {
15481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15483 arg6
= static_cast< long >(val6
);
15486 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15487 if (!SWIG_IsOK(ecode7
)) {
15488 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15490 arg7
= static_cast< int >(val7
);
15493 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15494 if (!SWIG_IsOK(ecode8
)) {
15495 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15497 arg8
= static_cast< int >(val8
);
15500 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15501 if (!SWIG_IsOK(ecode9
)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15504 arg9
= static_cast< int >(val9
);
15508 arg10
= wxString_in_helper(obj9
);
15509 if (arg10
== NULL
) SWIG_fail
;
15514 if (!wxPyCheckForApp()) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15543 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15544 PyObject
*resultobj
= 0;
15545 wxSpinCtrl
*result
= 0 ;
15547 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15549 if (!wxPyCheckForApp()) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15562 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
= 0;
15564 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15565 wxWindow
*arg2
= (wxWindow
*) 0 ;
15566 int arg3
= (int) -1 ;
15567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15569 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15570 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15571 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15572 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15573 long arg7
= (long) wxSP_ARROW_KEYS
;
15574 int arg8
= (int) 0 ;
15575 int arg9
= (int) 100 ;
15576 int arg10
= (int) 0 ;
15577 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15578 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15586 bool temp4
= false ;
15597 bool temp11
= false ;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 PyObject
* obj2
= 0 ;
15601 PyObject
* obj3
= 0 ;
15602 PyObject
* obj4
= 0 ;
15603 PyObject
* obj5
= 0 ;
15604 PyObject
* obj6
= 0 ;
15605 PyObject
* obj7
= 0 ;
15606 PyObject
* obj8
= 0 ;
15607 PyObject
* obj9
= 0 ;
15608 PyObject
* obj10
= 0 ;
15609 char * kwnames
[] = {
15610 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15615 if (!SWIG_IsOK(res1
)) {
15616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15618 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15620 if (!SWIG_IsOK(res2
)) {
15621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15623 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15626 if (!SWIG_IsOK(ecode3
)) {
15627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15629 arg3
= static_cast< int >(val3
);
15633 arg4
= wxString_in_helper(obj3
);
15634 if (arg4
== NULL
) SWIG_fail
;
15641 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15647 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15651 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15652 if (!SWIG_IsOK(ecode7
)) {
15653 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15655 arg7
= static_cast< long >(val7
);
15658 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15659 if (!SWIG_IsOK(ecode8
)) {
15660 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15662 arg8
= static_cast< int >(val8
);
15665 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15666 if (!SWIG_IsOK(ecode9
)) {
15667 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15669 arg9
= static_cast< int >(val9
);
15672 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15673 if (!SWIG_IsOK(ecode10
)) {
15674 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15676 arg10
= static_cast< int >(val10
);
15680 arg11
= wxString_in_helper(obj10
);
15681 if (arg11
== NULL
) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15716 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15717 PyObject
*resultobj
= 0;
15718 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15722 PyObject
*swig_obj
[1] ;
15724 if (!args
) SWIG_fail
;
15725 swig_obj
[0] = args
;
15726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15727 if (!SWIG_IsOK(res1
)) {
15728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15730 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_From_int(static_cast< int >(result
));
15744 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
= 0;
15746 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 char * kwnames
[] = {
15755 (char *) "self",(char *) "value", NULL
15758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15760 if (!SWIG_IsOK(res1
)) {
15761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15763 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15765 if (!SWIG_IsOK(ecode2
)) {
15766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15768 arg2
= static_cast< int >(val2
);
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 (arg1
)->SetValue(arg2
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_Py_Void();
15782 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
= 0;
15784 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15785 wxString
*arg2
= 0 ;
15788 bool temp2
= false ;
15789 PyObject
* obj0
= 0 ;
15790 PyObject
* obj1
= 0 ;
15791 char * kwnames
[] = {
15792 (char *) "self",(char *) "text", NULL
15795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15797 if (!SWIG_IsOK(res1
)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15800 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15802 arg2
= wxString_in_helper(obj1
);
15803 if (arg2
== NULL
) SWIG_fail
;
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 (arg1
)->SetValue((wxString
const &)*arg2
);
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= SWIG_Py_Void();
15827 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
= 0;
15829 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15838 PyObject
* obj0
= 0 ;
15839 PyObject
* obj1
= 0 ;
15840 PyObject
* obj2
= 0 ;
15841 char * kwnames
[] = {
15842 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15850 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15852 if (!SWIG_IsOK(ecode2
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15855 arg2
= static_cast< int >(val2
);
15856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15857 if (!SWIG_IsOK(ecode3
)) {
15858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15860 arg3
= static_cast< int >(val3
);
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 (arg1
)->SetRange(arg2
,arg3
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_Py_Void();
15874 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15875 PyObject
*resultobj
= 0;
15876 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15880 PyObject
*swig_obj
[1] ;
15882 if (!args
) SWIG_fail
;
15883 swig_obj
[0] = args
;
15884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15885 if (!SWIG_IsOK(res1
)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15888 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_From_int(static_cast< int >(result
));
15902 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15903 PyObject
*resultobj
= 0;
15904 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15908 PyObject
*swig_obj
[1] ;
15910 if (!args
) SWIG_fail
;
15911 swig_obj
[0] = args
;
15912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15913 if (!SWIG_IsOK(res1
)) {
15914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15916 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_From_int(static_cast< int >(result
));
15930 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
= 0;
15932 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 PyObject
* obj2
= 0 ;
15944 char * kwnames
[] = {
15945 (char *) "self",(char *) "from",(char *) "to", NULL
15948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15950 if (!SWIG_IsOK(res1
)) {
15951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15953 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15955 if (!SWIG_IsOK(ecode2
)) {
15956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15958 arg2
= static_cast< long >(val2
);
15959 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15960 if (!SWIG_IsOK(ecode3
)) {
15961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15963 arg3
= static_cast< long >(val3
);
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 (arg1
)->SetSelection(arg2
,arg3
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= SWIG_Py_Void();
15977 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
= 0;
15979 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15980 SwigValueWrapper
<wxVisualAttributes
> result
;
15983 PyObject
* obj0
= 0 ;
15984 char * kwnames
[] = {
15985 (char *) "variant", NULL
15988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15990 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15991 if (!SWIG_IsOK(ecode1
)) {
15992 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15994 arg1
= static_cast< wxWindowVariant
>(val1
);
15997 if (!wxPyCheckForApp()) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16010 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16013 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
16014 return SWIG_Py_Void();
16017 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16018 return SWIG_Python_InitShadowInstance(args
);
16021 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
= 0;
16023 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16024 int arg2
= (int) 0 ;
16025 wxSpinEvent
*result
= 0 ;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 char * kwnames
[] = {
16033 (char *) "commandType",(char *) "winid", NULL
16036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16039 if (!SWIG_IsOK(ecode1
)) {
16040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16042 arg1
= static_cast< wxEventType
>(val1
);
16045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16046 if (!SWIG_IsOK(ecode2
)) {
16047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16049 arg2
= static_cast< int >(val2
);
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16064 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 PyObject
*resultobj
= 0;
16066 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16070 PyObject
*swig_obj
[1] ;
16072 if (!args
) SWIG_fail
;
16073 swig_obj
[0] = args
;
16074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16075 if (!SWIG_IsOK(res1
)) {
16076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16078 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_From_int(static_cast< int >(result
));
16092 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
= 0;
16094 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 char * kwnames
[] = {
16103 (char *) "self",(char *) "pos", NULL
16106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16108 if (!SWIG_IsOK(res1
)) {
16109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16111 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16113 if (!SWIG_IsOK(ecode2
)) {
16114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16116 arg2
= static_cast< int >(val2
);
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 (arg1
)->SetPosition(arg2
);
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= SWIG_Py_Void();
16130 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16133 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16134 return SWIG_Py_Void();
16137 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16138 return SWIG_Python_InitShadowInstance(args
);
16141 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16142 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16147 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16148 PyObject
*pyobj
= 0;
16152 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16154 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16161 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16162 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16167 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16168 PyObject
*pyobj
= 0;
16172 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16174 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16181 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
= 0;
16183 wxWindow
*arg1
= (wxWindow
*) 0 ;
16184 int arg2
= (int) -1 ;
16185 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16186 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16187 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16188 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16189 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16190 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16191 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16192 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16193 int arg7
= (int) 0 ;
16194 long arg8
= (long) wxRA_HORIZONTAL
;
16195 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16196 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16197 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16198 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16199 wxRadioBox
*result
= 0 ;
16204 bool temp3
= false ;
16207 bool temp6
= false ;
16214 bool temp10
= false ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 PyObject
* obj2
= 0 ;
16218 PyObject
* obj3
= 0 ;
16219 PyObject
* obj4
= 0 ;
16220 PyObject
* obj5
= 0 ;
16221 PyObject
* obj6
= 0 ;
16222 PyObject
* obj7
= 0 ;
16223 PyObject
* obj8
= 0 ;
16224 PyObject
* obj9
= 0 ;
16225 char * kwnames
[] = {
16226 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16231 if (!SWIG_IsOK(res1
)) {
16232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16234 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16237 if (!SWIG_IsOK(ecode2
)) {
16238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16240 arg2
= static_cast< int >(val2
);
16244 arg3
= wxString_in_helper(obj2
);
16245 if (arg3
== NULL
) SWIG_fail
;
16252 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16258 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16263 if (! PySequence_Check(obj5
)) {
16264 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16267 arg6
= new wxArrayString
;
16269 int i
, len
=PySequence_Length(obj5
);
16270 for (i
=0; i
<len
; i
++) {
16271 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16272 wxString
* s
= wxString_in_helper(item
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16281 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16282 if (!SWIG_IsOK(ecode7
)) {
16283 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16285 arg7
= static_cast< int >(val7
);
16288 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16289 if (!SWIG_IsOK(ecode8
)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16292 arg8
= static_cast< long >(val8
);
16295 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16296 if (!SWIG_IsOK(res9
)) {
16297 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16302 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16306 arg10
= wxString_in_helper(obj9
);
16307 if (arg10
== NULL
) SWIG_fail
;
16312 if (!wxPyCheckForApp()) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 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
);
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16324 if (temp6
) delete arg6
;
16337 if (temp6
) delete arg6
;
16347 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16348 PyObject
*resultobj
= 0;
16349 wxRadioBox
*result
= 0 ;
16351 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16353 if (!wxPyCheckForApp()) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (wxRadioBox
*)new wxRadioBox();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16366 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
= 0;
16368 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16369 wxWindow
*arg2
= (wxWindow
*) 0 ;
16370 int arg3
= (int) -1 ;
16371 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16372 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16373 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16374 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16375 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16376 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16377 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16378 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16379 int arg8
= (int) 0 ;
16380 long arg9
= (long) wxRA_HORIZONTAL
;
16381 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16382 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16383 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16384 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16392 bool temp4
= false ;
16395 bool temp7
= false ;
16402 bool temp11
= false ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 PyObject
* obj2
= 0 ;
16406 PyObject
* obj3
= 0 ;
16407 PyObject
* obj4
= 0 ;
16408 PyObject
* obj5
= 0 ;
16409 PyObject
* obj6
= 0 ;
16410 PyObject
* obj7
= 0 ;
16411 PyObject
* obj8
= 0 ;
16412 PyObject
* obj9
= 0 ;
16413 PyObject
* obj10
= 0 ;
16414 char * kwnames
[] = {
16415 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16420 if (!SWIG_IsOK(res1
)) {
16421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16423 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16425 if (!SWIG_IsOK(res2
)) {
16426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16428 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16431 if (!SWIG_IsOK(ecode3
)) {
16432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16434 arg3
= static_cast< int >(val3
);
16438 arg4
= wxString_in_helper(obj3
);
16439 if (arg4
== NULL
) SWIG_fail
;
16446 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16452 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16457 if (! PySequence_Check(obj6
)) {
16458 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16461 arg7
= new wxArrayString
;
16463 int i
, len
=PySequence_Length(obj6
);
16464 for (i
=0; i
<len
; i
++) {
16465 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16466 wxString
* s
= wxString_in_helper(item
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16475 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16476 if (!SWIG_IsOK(ecode8
)) {
16477 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16479 arg8
= static_cast< int >(val8
);
16482 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16483 if (!SWIG_IsOK(ecode9
)) {
16484 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16486 arg9
= static_cast< long >(val9
);
16489 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16490 if (!SWIG_IsOK(res10
)) {
16491 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16496 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16500 arg11
= wxString_in_helper(obj10
);
16501 if (arg11
== NULL
) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 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
);
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16519 if (temp7
) delete arg7
;
16532 if (temp7
) delete arg7
;
16542 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
= 0;
16544 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char * kwnames
[] = {
16553 (char *) "self",(char *) "n", NULL
16556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16558 if (!SWIG_IsOK(res1
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16561 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16563 if (!SWIG_IsOK(ecode2
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16566 arg2
= static_cast< int >(val2
);
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->SetSelection(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= SWIG_Py_Void();
16580 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16581 PyObject
*resultobj
= 0;
16582 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16586 PyObject
*swig_obj
[1] ;
16588 if (!args
) SWIG_fail
;
16589 swig_obj
[0] = args
;
16590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16594 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= SWIG_From_int(static_cast< int >(result
));
16608 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16609 PyObject
*resultobj
= 0;
16610 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16614 PyObject
*swig_obj
[1] ;
16616 if (!args
) SWIG_fail
;
16617 swig_obj
[0] = args
;
16618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16619 if (!SWIG_IsOK(res1
)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16622 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16642 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
= 0;
16644 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16645 wxString
*arg2
= 0 ;
16649 bool temp2
= false ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char * kwnames
[] = {
16653 (char *) "self",(char *) "s", NULL
16656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16658 if (!SWIG_IsOK(res1
)) {
16659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16661 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16663 arg2
= wxString_in_helper(obj1
);
16664 if (arg2
== NULL
) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16690 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16691 PyObject
*resultobj
= 0;
16692 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16696 PyObject
*swig_obj
[1] ;
16698 if (!args
) SWIG_fail
;
16699 swig_obj
[0] = args
;
16700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16701 if (!SWIG_IsOK(res1
)) {
16702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16704 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16718 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
= 0;
16720 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16721 wxString
*arg2
= 0 ;
16725 bool temp2
= false ;
16726 PyObject
* obj0
= 0 ;
16727 PyObject
* obj1
= 0 ;
16728 char * kwnames
[] = {
16729 (char *) "self",(char *) "s", NULL
16732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16734 if (!SWIG_IsOK(res1
)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16737 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16739 arg2
= wxString_in_helper(obj1
);
16740 if (arg2
== NULL
) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= SWIG_From_int(static_cast< int >(result
));
16764 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
= 0;
16766 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 char * kwnames
[] = {
16776 (char *) "self",(char *) "n", NULL
16779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16781 if (!SWIG_IsOK(res1
)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16784 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16786 if (!SWIG_IsOK(ecode2
)) {
16787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16789 arg2
= static_cast< int >(val2
);
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16809 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
= 0;
16811 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16813 wxString
*arg3
= 0 ;
16818 bool temp3
= false ;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 PyObject
* obj2
= 0 ;
16822 char * kwnames
[] = {
16823 (char *) "self",(char *) "n",(char *) "label", NULL
16826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16828 if (!SWIG_IsOK(res1
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16831 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16833 if (!SWIG_IsOK(ecode2
)) {
16834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16836 arg2
= static_cast< int >(val2
);
16838 arg3
= wxString_in_helper(obj2
);
16839 if (arg3
== NULL
) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= SWIG_Py_Void();
16863 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
= 0;
16865 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16866 unsigned int arg2
;
16867 bool arg3
= (bool) true ;
16870 unsigned int val2
;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 PyObject
* obj2
= 0 ;
16877 char * kwnames
[] = {
16878 (char *) "self",(char *) "n",(char *) "enable", NULL
16881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16886 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16887 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16888 if (!SWIG_IsOK(ecode2
)) {
16889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16891 arg2
= static_cast< unsigned int >(val2
);
16893 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16894 if (!SWIG_IsOK(ecode3
)) {
16895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16897 arg3
= static_cast< bool >(val3
);
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 (arg1
)->Enable(arg2
,arg3
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= SWIG_Py_Void();
16912 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
= 0;
16914 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16915 unsigned int arg2
;
16916 bool arg3
= (bool) true ;
16919 unsigned int val2
;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 PyObject
* obj2
= 0 ;
16926 char * kwnames
[] = {
16927 (char *) "self",(char *) "n",(char *) "show", NULL
16930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16932 if (!SWIG_IsOK(res1
)) {
16933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16935 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16936 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16937 if (!SWIG_IsOK(ecode2
)) {
16938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16940 arg2
= static_cast< unsigned int >(val2
);
16942 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16943 if (!SWIG_IsOK(ecode3
)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16946 arg3
= static_cast< bool >(val3
);
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 (arg1
)->Show(arg2
,arg3
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_Py_Void();
16961 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
= 0;
16963 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16964 unsigned int arg2
;
16968 unsigned int val2
;
16970 PyObject
* obj0
= 0 ;
16971 PyObject
* obj1
= 0 ;
16972 char * kwnames
[] = {
16973 (char *) "self",(char *) "n", NULL
16976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16981 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16982 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16983 if (!SWIG_IsOK(ecode2
)) {
16984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16986 arg2
= static_cast< unsigned int >(val2
);
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17002 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
= 0;
17004 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17005 unsigned int arg2
;
17009 unsigned int val2
;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 char * kwnames
[] = {
17014 (char *) "self",(char *) "n", NULL
17017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17019 if (!SWIG_IsOK(res1
)) {
17020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17022 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17023 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17024 if (!SWIG_IsOK(ecode2
)) {
17025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17027 arg2
= static_cast< unsigned int >(val2
);
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17043 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17044 PyObject
*resultobj
= 0;
17045 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17046 unsigned int result
;
17049 PyObject
*swig_obj
[1] ;
17051 if (!args
) SWIG_fail
;
17052 swig_obj
[0] = args
;
17053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17054 if (!SWIG_IsOK(res1
)) {
17055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17057 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17071 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17072 PyObject
*resultobj
= 0;
17073 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17074 unsigned int result
;
17077 PyObject
*swig_obj
[1] ;
17079 if (!args
) SWIG_fail
;
17080 swig_obj
[0] = args
;
17081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17082 if (!SWIG_IsOK(res1
)) {
17083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17085 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17099 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
= 0;
17101 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 PyObject
* obj2
= 0 ;
17117 PyObject
* obj3
= 0 ;
17118 char * kwnames
[] = {
17119 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17124 if (!SWIG_IsOK(res1
)) {
17125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17127 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17129 if (!SWIG_IsOK(ecode2
)) {
17130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17132 arg2
= static_cast< int >(val2
);
17133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17134 if (!SWIG_IsOK(ecode3
)) {
17135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17137 arg3
= static_cast< wxDirection
>(val3
);
17138 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17139 if (!SWIG_IsOK(ecode4
)) {
17140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17142 arg4
= static_cast< long >(val4
);
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 resultobj
= SWIG_From_int(static_cast< int >(result
));
17156 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
= 0;
17158 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17159 unsigned int arg2
;
17160 wxString
*arg3
= 0 ;
17163 unsigned int val2
;
17165 bool temp3
= false ;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 PyObject
* obj2
= 0 ;
17169 char * kwnames
[] = {
17170 (char *) "self",(char *) "item",(char *) "text", NULL
17173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17175 if (!SWIG_IsOK(res1
)) {
17176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17178 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17179 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17180 if (!SWIG_IsOK(ecode2
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17183 arg2
= static_cast< unsigned int >(val2
);
17185 arg3
= wxString_in_helper(obj2
);
17186 if (arg3
== NULL
) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= SWIG_Py_Void();
17210 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
= 0;
17212 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17213 unsigned int arg2
;
17214 wxToolTip
*result
= 0 ;
17217 unsigned int val2
;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 char * kwnames
[] = {
17222 (char *) "self",(char *) "item", NULL
17225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17227 if (!SWIG_IsOK(res1
)) {
17228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17230 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17231 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17232 if (!SWIG_IsOK(ecode2
)) {
17233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17235 arg2
= static_cast< unsigned int >(val2
);
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17251 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17254 unsigned int arg2
;
17255 wxString
*arg3
= 0 ;
17258 unsigned int val2
;
17260 bool temp3
= false ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 PyObject
* obj2
= 0 ;
17264 char * kwnames
[] = {
17265 (char *) "self",(char *) "n",(char *) "helpText", NULL
17268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17270 if (!SWIG_IsOK(res1
)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17273 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17274 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17275 if (!SWIG_IsOK(ecode2
)) {
17276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17278 arg2
= static_cast< unsigned int >(val2
);
17280 arg3
= wxString_in_helper(obj2
);
17281 if (arg3
== NULL
) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_Py_Void();
17305 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
= 0;
17307 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17308 unsigned int arg2
;
17312 unsigned int val2
;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char * kwnames
[] = {
17317 (char *) "self",(char *) "n", NULL
17320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17322 if (!SWIG_IsOK(res1
)) {
17323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17325 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17326 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17327 if (!SWIG_IsOK(ecode2
)) {
17328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17330 arg2
= static_cast< unsigned int >(val2
);
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17350 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
= 0;
17352 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17353 SwigValueWrapper
<wxVisualAttributes
> result
;
17356 PyObject
* obj0
= 0 ;
17357 char * kwnames
[] = {
17358 (char *) "variant", NULL
17361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17363 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17364 if (!SWIG_IsOK(ecode1
)) {
17365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17367 arg1
= static_cast< wxWindowVariant
>(val1
);
17370 if (!wxPyCheckForApp()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17383 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17386 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17387 return SWIG_Py_Void();
17390 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17391 return SWIG_Python_InitShadowInstance(args
);
17394 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
= 0;
17396 wxWindow
*arg1
= (wxWindow
*) 0 ;
17397 int arg2
= (int) -1 ;
17398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17404 long arg6
= (long) 0 ;
17405 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17406 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17407 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17408 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17409 wxRadioButton
*result
= 0 ;
17414 bool temp3
= false ;
17421 bool temp8
= false ;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 PyObject
* obj2
= 0 ;
17425 PyObject
* obj3
= 0 ;
17426 PyObject
* obj4
= 0 ;
17427 PyObject
* obj5
= 0 ;
17428 PyObject
* obj6
= 0 ;
17429 PyObject
* obj7
= 0 ;
17430 char * kwnames
[] = {
17431 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17436 if (!SWIG_IsOK(res1
)) {
17437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17439 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17442 if (!SWIG_IsOK(ecode2
)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17445 arg2
= static_cast< int >(val2
);
17449 arg3
= wxString_in_helper(obj2
);
17450 if (arg3
== NULL
) SWIG_fail
;
17457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17468 if (!SWIG_IsOK(ecode6
)) {
17469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17471 arg6
= static_cast< long >(val6
);
17474 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17475 if (!SWIG_IsOK(res7
)) {
17476 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17481 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17485 arg8
= wxString_in_helper(obj7
);
17486 if (arg8
== NULL
) SWIG_fail
;
17491 if (!wxPyCheckForApp()) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17520 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17521 PyObject
*resultobj
= 0;
17522 wxRadioButton
*result
= 0 ;
17524 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17526 if (!wxPyCheckForApp()) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (wxRadioButton
*)new wxRadioButton();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17539 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
= 0;
17541 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17542 wxWindow
*arg2
= (wxWindow
*) 0 ;
17543 int arg3
= (int) -1 ;
17544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17550 long arg7
= (long) 0 ;
17551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17553 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17562 bool temp4
= false ;
17569 bool temp9
= false ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 PyObject
* obj3
= 0 ;
17574 PyObject
* obj4
= 0 ;
17575 PyObject
* obj5
= 0 ;
17576 PyObject
* obj6
= 0 ;
17577 PyObject
* obj7
= 0 ;
17578 PyObject
* obj8
= 0 ;
17579 char * kwnames
[] = {
17580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17585 if (!SWIG_IsOK(res1
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17588 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17590 if (!SWIG_IsOK(res2
)) {
17591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17596 if (!SWIG_IsOK(ecode3
)) {
17597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17599 arg3
= static_cast< int >(val3
);
17603 arg4
= wxString_in_helper(obj3
);
17604 if (arg4
== NULL
) SWIG_fail
;
17611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17621 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17622 if (!SWIG_IsOK(ecode7
)) {
17623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17625 arg7
= static_cast< long >(val7
);
17628 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17629 if (!SWIG_IsOK(res8
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17635 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17639 arg9
= wxString_in_helper(obj8
);
17640 if (arg9
== NULL
) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17676 PyObject
*resultobj
= 0;
17677 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17681 PyObject
*swig_obj
[1] ;
17683 if (!args
) SWIG_fail
;
17684 swig_obj
[0] = args
;
17685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17686 if (!SWIG_IsOK(res1
)) {
17687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17689 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)(arg1
)->GetValue();
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17705 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
= 0;
17707 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char * kwnames
[] = {
17716 (char *) "self",(char *) "value", NULL
17719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17721 if (!SWIG_IsOK(res1
)) {
17722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17724 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17725 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17726 if (!SWIG_IsOK(ecode2
)) {
17727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17729 arg2
= static_cast< bool >(val2
);
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->SetValue(arg2
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_Py_Void();
17743 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
= 0;
17745 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17746 SwigValueWrapper
<wxVisualAttributes
> result
;
17749 PyObject
* obj0
= 0 ;
17750 char * kwnames
[] = {
17751 (char *) "variant", NULL
17754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17756 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17757 if (!SWIG_IsOK(ecode1
)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17760 arg1
= static_cast< wxWindowVariant
>(val1
);
17763 if (!wxPyCheckForApp()) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17776 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17779 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17780 return SWIG_Py_Void();
17783 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17784 return SWIG_Python_InitShadowInstance(args
);
17787 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17788 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17793 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17794 PyObject
*pyobj
= 0;
17798 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17800 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17807 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
= 0;
17809 wxWindow
*arg1
= (wxWindow
*) 0 ;
17810 int arg2
= (int) -1 ;
17811 int arg3
= (int) 0 ;
17812 int arg4
= (int) 0 ;
17813 int arg5
= (int) 100 ;
17814 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17815 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17816 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17817 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17818 long arg8
= (long) wxSL_HORIZONTAL
;
17819 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17820 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17821 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17822 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17823 wxSlider
*result
= 0 ;
17840 bool temp10
= false ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 PyObject
* obj3
= 0 ;
17845 PyObject
* obj4
= 0 ;
17846 PyObject
* obj5
= 0 ;
17847 PyObject
* obj6
= 0 ;
17848 PyObject
* obj7
= 0 ;
17849 PyObject
* obj8
= 0 ;
17850 PyObject
* obj9
= 0 ;
17851 char * kwnames
[] = {
17852 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17857 if (!SWIG_IsOK(res1
)) {
17858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17860 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17863 if (!SWIG_IsOK(ecode2
)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17866 arg2
= static_cast< int >(val2
);
17869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17870 if (!SWIG_IsOK(ecode3
)) {
17871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17873 arg3
= static_cast< int >(val3
);
17876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17877 if (!SWIG_IsOK(ecode4
)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17880 arg4
= static_cast< int >(val4
);
17883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17884 if (!SWIG_IsOK(ecode5
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17887 arg5
= static_cast< int >(val5
);
17892 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17898 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17902 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17903 if (!SWIG_IsOK(ecode8
)) {
17904 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17906 arg8
= static_cast< long >(val8
);
17909 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17910 if (!SWIG_IsOK(res9
)) {
17911 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17916 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17920 arg10
= wxString_in_helper(obj9
);
17921 if (arg10
== NULL
) SWIG_fail
;
17926 if (!wxPyCheckForApp()) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17947 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17948 PyObject
*resultobj
= 0;
17949 wxSlider
*result
= 0 ;
17951 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17953 if (!wxPyCheckForApp()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (wxSlider
*)new wxSlider();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17966 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
= 0;
17968 wxSlider
*arg1
= (wxSlider
*) 0 ;
17969 wxWindow
*arg2
= (wxWindow
*) 0 ;
17970 int arg3
= (int) -1 ;
17971 int arg4
= (int) 0 ;
17972 int arg5
= (int) 0 ;
17973 int arg6
= (int) 100 ;
17974 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17975 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17976 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17977 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17978 long arg9
= (long) wxSL_HORIZONTAL
;
17979 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17980 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17981 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17982 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
18002 bool temp11
= false ;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 PyObject
* obj2
= 0 ;
18006 PyObject
* obj3
= 0 ;
18007 PyObject
* obj4
= 0 ;
18008 PyObject
* obj5
= 0 ;
18009 PyObject
* obj6
= 0 ;
18010 PyObject
* obj7
= 0 ;
18011 PyObject
* obj8
= 0 ;
18012 PyObject
* obj9
= 0 ;
18013 PyObject
* obj10
= 0 ;
18014 char * kwnames
[] = {
18015 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
18019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18020 if (!SWIG_IsOK(res1
)) {
18021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
18023 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18025 if (!SWIG_IsOK(res2
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18028 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18031 if (!SWIG_IsOK(ecode3
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18034 arg3
= static_cast< int >(val3
);
18037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18038 if (!SWIG_IsOK(ecode4
)) {
18039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18041 arg4
= static_cast< int >(val4
);
18044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18045 if (!SWIG_IsOK(ecode5
)) {
18046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18048 arg5
= static_cast< int >(val5
);
18051 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18052 if (!SWIG_IsOK(ecode6
)) {
18053 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18055 arg6
= static_cast< int >(val6
);
18060 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18066 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18070 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18071 if (!SWIG_IsOK(ecode9
)) {
18072 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18074 arg9
= static_cast< long >(val9
);
18077 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18078 if (!SWIG_IsOK(res10
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18084 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18088 arg11
= wxString_in_helper(obj10
);
18089 if (arg11
== NULL
) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18116 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18117 PyObject
*resultobj
= 0;
18118 wxSlider
*arg1
= (wxSlider
*) 0 ;
18122 PyObject
*swig_obj
[1] ;
18124 if (!args
) SWIG_fail
;
18125 swig_obj
[0] = args
;
18126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18127 if (!SWIG_IsOK(res1
)) {
18128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18130 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_From_int(static_cast< int >(result
));
18144 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
= 0;
18146 wxSlider
*arg1
= (wxSlider
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 char * kwnames
[] = {
18155 (char *) "self",(char *) "value", NULL
18158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18160 if (!SWIG_IsOK(res1
)) {
18161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18163 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18165 if (!SWIG_IsOK(ecode2
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18168 arg2
= static_cast< int >(val2
);
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->SetValue(arg2
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_Py_Void();
18182 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
= 0;
18184 wxSlider
*arg1
= (wxSlider
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 PyObject
* obj2
= 0 ;
18196 char * kwnames
[] = {
18197 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18205 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18207 if (!SWIG_IsOK(ecode2
)) {
18208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18210 arg2
= static_cast< int >(val2
);
18211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18212 if (!SWIG_IsOK(ecode3
)) {
18213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18215 arg3
= static_cast< int >(val3
);
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->SetRange(arg2
,arg3
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_Py_Void();
18229 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18230 PyObject
*resultobj
= 0;
18231 wxSlider
*arg1
= (wxSlider
*) 0 ;
18235 PyObject
*swig_obj
[1] ;
18237 if (!args
) SWIG_fail
;
18238 swig_obj
[0] = args
;
18239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18240 if (!SWIG_IsOK(res1
)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18243 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_From_int(static_cast< int >(result
));
18257 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18258 PyObject
*resultobj
= 0;
18259 wxSlider
*arg1
= (wxSlider
*) 0 ;
18263 PyObject
*swig_obj
[1] ;
18265 if (!args
) SWIG_fail
;
18266 swig_obj
[0] = args
;
18267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18268 if (!SWIG_IsOK(res1
)) {
18269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18271 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_From_int(static_cast< int >(result
));
18285 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
= 0;
18287 wxSlider
*arg1
= (wxSlider
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 char * kwnames
[] = {
18296 (char *) "self",(char *) "minValue", NULL
18299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18301 if (!SWIG_IsOK(res1
)) {
18302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18304 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18306 if (!SWIG_IsOK(ecode2
)) {
18307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18309 arg2
= static_cast< int >(val2
);
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->SetMin(arg2
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_Py_Void();
18323 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= 0;
18325 wxSlider
*arg1
= (wxSlider
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char * kwnames
[] = {
18334 (char *) "self",(char *) "maxValue", NULL
18337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18342 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18344 if (!SWIG_IsOK(ecode2
)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18347 arg2
= static_cast< int >(val2
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->SetMax(arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_Py_Void();
18361 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
= 0;
18363 wxSlider
*arg1
= (wxSlider
*) 0 ;
18369 PyObject
* obj0
= 0 ;
18370 PyObject
* obj1
= 0 ;
18371 char * kwnames
[] = {
18372 (char *) "self",(char *) "lineSize", NULL
18375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18380 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18382 if (!SWIG_IsOK(ecode2
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18385 arg2
= static_cast< int >(val2
);
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 (arg1
)->SetLineSize(arg2
);
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= SWIG_Py_Void();
18399 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
= 0;
18401 wxSlider
*arg1
= (wxSlider
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char * kwnames
[] = {
18410 (char *) "self",(char *) "pageSize", NULL
18413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18418 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18420 if (!SWIG_IsOK(ecode2
)) {
18421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18423 arg2
= static_cast< int >(val2
);
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 (arg1
)->SetPageSize(arg2
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_Py_Void();
18437 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18438 PyObject
*resultobj
= 0;
18439 wxSlider
*arg1
= (wxSlider
*) 0 ;
18443 PyObject
*swig_obj
[1] ;
18445 if (!args
) SWIG_fail
;
18446 swig_obj
[0] = args
;
18447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18448 if (!SWIG_IsOK(res1
)) {
18449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18451 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_From_int(static_cast< int >(result
));
18465 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18466 PyObject
*resultobj
= 0;
18467 wxSlider
*arg1
= (wxSlider
*) 0 ;
18471 PyObject
*swig_obj
[1] ;
18473 if (!args
) SWIG_fail
;
18474 swig_obj
[0] = args
;
18475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18476 if (!SWIG_IsOK(res1
)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18479 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_From_int(static_cast< int >(result
));
18493 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
= 0;
18495 wxSlider
*arg1
= (wxSlider
*) 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 char * kwnames
[] = {
18504 (char *) "self",(char *) "lenPixels", NULL
18507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18509 if (!SWIG_IsOK(res1
)) {
18510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18512 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18514 if (!SWIG_IsOK(ecode2
)) {
18515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18517 arg2
= static_cast< int >(val2
);
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 (arg1
)->SetThumbLength(arg2
);
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= SWIG_Py_Void();
18531 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18532 PyObject
*resultobj
= 0;
18533 wxSlider
*arg1
= (wxSlider
*) 0 ;
18537 PyObject
*swig_obj
[1] ;
18539 if (!args
) SWIG_fail
;
18540 swig_obj
[0] = args
;
18541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18542 if (!SWIG_IsOK(res1
)) {
18543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18545 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_From_int(static_cast< int >(result
));
18559 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
= 0;
18561 wxSlider
*arg1
= (wxSlider
*) 0 ;
18563 int arg3
= (int) 1 ;
18570 PyObject
* obj0
= 0 ;
18571 PyObject
* obj1
= 0 ;
18572 PyObject
* obj2
= 0 ;
18573 char * kwnames
[] = {
18574 (char *) "self",(char *) "n",(char *) "pos", NULL
18577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18579 if (!SWIG_IsOK(res1
)) {
18580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18582 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18584 if (!SWIG_IsOK(ecode2
)) {
18585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18587 arg2
= static_cast< int >(val2
);
18589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18590 if (!SWIG_IsOK(ecode3
)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18593 arg3
= static_cast< int >(val3
);
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->SetTickFreq(arg2
,arg3
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_Py_Void();
18608 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18609 PyObject
*resultobj
= 0;
18610 wxSlider
*arg1
= (wxSlider
*) 0 ;
18614 PyObject
*swig_obj
[1] ;
18616 if (!args
) SWIG_fail
;
18617 swig_obj
[0] = args
;
18618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18619 if (!SWIG_IsOK(res1
)) {
18620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18622 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 resultobj
= SWIG_From_int(static_cast< int >(result
));
18636 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18637 PyObject
*resultobj
= 0;
18638 wxSlider
*arg1
= (wxSlider
*) 0 ;
18641 PyObject
*swig_obj
[1] ;
18643 if (!args
) SWIG_fail
;
18644 swig_obj
[0] = args
;
18645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18646 if (!SWIG_IsOK(res1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18649 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 (arg1
)->ClearTicks();
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_Py_Void();
18663 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
= 0;
18665 wxSlider
*arg1
= (wxSlider
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 char * kwnames
[] = {
18674 (char *) "self",(char *) "tickPos", NULL
18677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18679 if (!SWIG_IsOK(res1
)) {
18680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18682 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18684 if (!SWIG_IsOK(ecode2
)) {
18685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18687 arg2
= static_cast< int >(val2
);
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 (arg1
)->SetTick(arg2
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_Py_Void();
18701 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18702 PyObject
*resultobj
= 0;
18703 wxSlider
*arg1
= (wxSlider
*) 0 ;
18706 PyObject
*swig_obj
[1] ;
18708 if (!args
) SWIG_fail
;
18709 swig_obj
[0] = args
;
18710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18711 if (!SWIG_IsOK(res1
)) {
18712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18714 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 (arg1
)->ClearSel();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_Py_Void();
18728 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18729 PyObject
*resultobj
= 0;
18730 wxSlider
*arg1
= (wxSlider
*) 0 ;
18734 PyObject
*swig_obj
[1] ;
18736 if (!args
) SWIG_fail
;
18737 swig_obj
[0] = args
;
18738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18739 if (!SWIG_IsOK(res1
)) {
18740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18742 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_From_int(static_cast< int >(result
));
18756 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18757 PyObject
*resultobj
= 0;
18758 wxSlider
*arg1
= (wxSlider
*) 0 ;
18762 PyObject
*swig_obj
[1] ;
18764 if (!args
) SWIG_fail
;
18765 swig_obj
[0] = args
;
18766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18767 if (!SWIG_IsOK(res1
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18770 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_From_int(static_cast< int >(result
));
18784 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
= 0;
18786 wxSlider
*arg1
= (wxSlider
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 PyObject
* obj2
= 0 ;
18798 char * kwnames
[] = {
18799 (char *) "self",(char *) "min",(char *) "max", NULL
18802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18804 if (!SWIG_IsOK(res1
)) {
18805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18807 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18809 if (!SWIG_IsOK(ecode2
)) {
18810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18812 arg2
= static_cast< int >(val2
);
18813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18814 if (!SWIG_IsOK(ecode3
)) {
18815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18817 arg3
= static_cast< int >(val3
);
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 (arg1
)->SetSelection(arg2
,arg3
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_Py_Void();
18831 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= 0;
18833 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18834 SwigValueWrapper
<wxVisualAttributes
> result
;
18837 PyObject
* obj0
= 0 ;
18838 char * kwnames
[] = {
18839 (char *) "variant", NULL
18842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18845 if (!SWIG_IsOK(ecode1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18848 arg1
= static_cast< wxWindowVariant
>(val1
);
18851 if (!wxPyCheckForApp()) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18864 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18867 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18868 return SWIG_Py_Void();
18871 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18872 return SWIG_Python_InitShadowInstance(args
);
18875 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18876 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18881 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18882 PyObject
*pyobj
= 0;
18886 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18888 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18895 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
= 0;
18897 wxWindow
*arg1
= (wxWindow
*) 0 ;
18898 int arg2
= (int) -1 ;
18899 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18900 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18905 long arg6
= (long) 0 ;
18906 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18907 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18908 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18909 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18910 wxToggleButton
*result
= 0 ;
18915 bool temp3
= false ;
18922 bool temp8
= false ;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 PyObject
* obj2
= 0 ;
18926 PyObject
* obj3
= 0 ;
18927 PyObject
* obj4
= 0 ;
18928 PyObject
* obj5
= 0 ;
18929 PyObject
* obj6
= 0 ;
18930 PyObject
* obj7
= 0 ;
18931 char * kwnames
[] = {
18932 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18937 if (!SWIG_IsOK(res1
)) {
18938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18940 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18943 if (!SWIG_IsOK(ecode2
)) {
18944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18946 arg2
= static_cast< int >(val2
);
18950 arg3
= wxString_in_helper(obj2
);
18951 if (arg3
== NULL
) SWIG_fail
;
18958 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18964 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18968 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18969 if (!SWIG_IsOK(ecode6
)) {
18970 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18972 arg6
= static_cast< long >(val6
);
18975 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18976 if (!SWIG_IsOK(res7
)) {
18977 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18982 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18986 arg8
= wxString_in_helper(obj7
);
18987 if (arg8
== NULL
) SWIG_fail
;
18992 if (!wxPyCheckForApp()) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
19021 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19022 PyObject
*resultobj
= 0;
19023 wxToggleButton
*result
= 0 ;
19025 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
19027 if (!wxPyCheckForApp()) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (wxToggleButton
*)new wxToggleButton();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
19040 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
= 0;
19042 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19043 wxWindow
*arg2
= (wxWindow
*) 0 ;
19044 int arg3
= (int) -1 ;
19045 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19049 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19050 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19051 long arg7
= (long) 0 ;
19052 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19053 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19054 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19055 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19063 bool temp4
= false ;
19070 bool temp9
= false ;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 PyObject
* obj2
= 0 ;
19074 PyObject
* obj3
= 0 ;
19075 PyObject
* obj4
= 0 ;
19076 PyObject
* obj5
= 0 ;
19077 PyObject
* obj6
= 0 ;
19078 PyObject
* obj7
= 0 ;
19079 PyObject
* obj8
= 0 ;
19080 char * kwnames
[] = {
19081 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19086 if (!SWIG_IsOK(res1
)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19089 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19091 if (!SWIG_IsOK(res2
)) {
19092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19097 if (!SWIG_IsOK(ecode3
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19100 arg3
= static_cast< int >(val3
);
19104 arg4
= wxString_in_helper(obj3
);
19105 if (arg4
== NULL
) SWIG_fail
;
19112 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19118 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19122 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19123 if (!SWIG_IsOK(ecode7
)) {
19124 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19126 arg7
= static_cast< long >(val7
);
19129 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19130 if (!SWIG_IsOK(res8
)) {
19131 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19136 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19140 arg9
= wxString_in_helper(obj8
);
19141 if (arg9
== NULL
) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19176 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
= 0;
19178 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char * kwnames
[] = {
19187 (char *) "self",(char *) "value", NULL
19190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19192 if (!SWIG_IsOK(res1
)) {
19193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19195 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19196 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19197 if (!SWIG_IsOK(ecode2
)) {
19198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19200 arg2
= static_cast< bool >(val2
);
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->SetValue(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 resultobj
= SWIG_Py_Void();
19214 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19215 PyObject
*resultobj
= 0;
19216 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19220 PyObject
*swig_obj
[1] ;
19222 if (!args
) SWIG_fail
;
19223 swig_obj
[0] = args
;
19224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19225 if (!SWIG_IsOK(res1
)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19228 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19244 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
= 0;
19246 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19247 SwigValueWrapper
<wxVisualAttributes
> result
;
19250 PyObject
* obj0
= 0 ;
19251 char * kwnames
[] = {
19252 (char *) "variant", NULL
19255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19258 if (!SWIG_IsOK(ecode1
)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19261 arg1
= static_cast< wxWindowVariant
>(val1
);
19264 if (!wxPyCheckForApp()) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19277 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19280 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19281 return SWIG_Py_Void();
19284 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19285 return SWIG_Python_InitShadowInstance(args
);
19288 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19289 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19294 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19295 PyObject
*pyobj
= 0;
19299 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19301 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19308 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19309 PyObject
*resultobj
= 0;
19310 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19314 PyObject
*swig_obj
[1] ;
19316 if (!args
) SWIG_fail
;
19317 swig_obj
[0] = args
;
19318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19319 if (!SWIG_IsOK(res1
)) {
19320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19322 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19336 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
= 0;
19338 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19340 wxWindow
*result
= 0 ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 char * kwnames
[] = {
19348 (char *) "self",(char *) "n", NULL
19351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19353 if (!SWIG_IsOK(res1
)) {
19354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19356 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19357 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19358 if (!SWIG_IsOK(ecode2
)) {
19359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19361 arg2
= static_cast< size_t >(val2
);
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= wxPyMake_wxObject(result
, 0);
19377 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19378 PyObject
*resultobj
= 0;
19379 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19380 wxWindow
*result
= 0 ;
19383 PyObject
*swig_obj
[1] ;
19385 if (!args
) SWIG_fail
;
19386 swig_obj
[0] = args
;
19387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19388 if (!SWIG_IsOK(res1
)) {
19389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19391 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= wxPyMake_wxObject(result
, 0);
19407 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19408 PyObject
*resultobj
= 0;
19409 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19413 PyObject
*swig_obj
[1] ;
19415 if (!args
) SWIG_fail
;
19416 swig_obj
[0] = args
;
19417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19418 if (!SWIG_IsOK(res1
)) {
19419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19421 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_From_int(static_cast< int >(result
));
19435 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
= 0;
19437 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19439 wxString
*arg3
= 0 ;
19445 bool temp3
= false ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 PyObject
* obj2
= 0 ;
19449 char * kwnames
[] = {
19450 (char *) "self",(char *) "n",(char *) "strText", NULL
19453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19458 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19459 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19460 if (!SWIG_IsOK(ecode2
)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19463 arg2
= static_cast< size_t >(val2
);
19465 arg3
= wxString_in_helper(obj2
);
19466 if (arg3
== NULL
) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19492 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
= 0;
19494 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 char * kwnames
[] = {
19504 (char *) "self",(char *) "n", NULL
19507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19509 if (!SWIG_IsOK(res1
)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19512 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19513 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19514 if (!SWIG_IsOK(ecode2
)) {
19515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19517 arg2
= static_cast< size_t >(val2
);
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19537 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
= 0;
19539 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19540 wxImageList
*arg2
= (wxImageList
*) 0 ;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 char * kwnames
[] = {
19548 (char *) "self",(char *) "imageList", NULL
19551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19553 if (!SWIG_IsOK(res1
)) {
19554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19556 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19558 if (!SWIG_IsOK(res2
)) {
19559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19561 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 (arg1
)->SetImageList(arg2
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= SWIG_Py_Void();
19575 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
= 0;
19577 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19578 wxImageList
*arg2
= (wxImageList
*) 0 ;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 char * kwnames
[] = {
19585 (char *) "self",(char *) "imageList", NULL
19588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19590 if (!SWIG_IsOK(res1
)) {
19591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19593 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19594 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19595 if (!SWIG_IsOK(res2
)) {
19596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 (arg1
)->AssignImageList(arg2
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_Py_Void();
19611 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19612 PyObject
*resultobj
= 0;
19613 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19614 wxImageList
*result
= 0 ;
19617 PyObject
*swig_obj
[1] ;
19619 if (!args
) SWIG_fail
;
19620 swig_obj
[0] = args
;
19621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19622 if (!SWIG_IsOK(res1
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19625 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19641 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
= 0;
19643 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 char * kwnames
[] = {
19653 (char *) "self",(char *) "n", NULL
19656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19661 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19662 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19663 if (!SWIG_IsOK(ecode2
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19666 arg2
= static_cast< size_t >(val2
);
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= SWIG_From_int(static_cast< int >(result
));
19680 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
= 0;
19682 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 PyObject
* obj2
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "self",(char *) "n",(char *) "imageId", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19704 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19705 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19706 if (!SWIG_IsOK(ecode2
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19709 arg2
= static_cast< size_t >(val2
);
19710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19711 if (!SWIG_IsOK(ecode3
)) {
19712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19714 arg3
= static_cast< int >(val3
);
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19730 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
= 0;
19732 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 char * kwnames
[] = {
19740 (char *) "self",(char *) "size", NULL
19743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19748 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= SWIG_Py_Void();
19766 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
= 0;
19768 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char * kwnames
[] = {
19777 (char *) "self",(char *) "sizePage", NULL
19780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19785 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19788 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19803 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19804 PyObject
*resultobj
= 0;
19805 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19806 unsigned int result
;
19809 PyObject
*swig_obj
[1] ;
19811 if (!args
) SWIG_fail
;
19812 swig_obj
[0] = args
;
19813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19814 if (!SWIG_IsOK(res1
)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19817 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19831 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
= 0;
19833 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19834 unsigned int arg2
;
19837 unsigned int val2
;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char * kwnames
[] = {
19842 (char *) "self",(char *) "internalBorder", NULL
19845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19847 if (!SWIG_IsOK(res1
)) {
19848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19850 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19851 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19852 if (!SWIG_IsOK(ecode2
)) {
19853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19855 arg2
= static_cast< unsigned int >(val2
);
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 (arg1
)->SetInternalBorder(arg2
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= SWIG_Py_Void();
19869 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19870 PyObject
*resultobj
= 0;
19871 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19875 PyObject
*swig_obj
[1] ;
19877 if (!args
) SWIG_fail
;
19878 swig_obj
[0] = args
;
19879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19880 if (!SWIG_IsOK(res1
)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19883 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19899 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
= 0;
19901 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char * kwnames
[] = {
19910 (char *) "self",(char *) "margin", NULL
19913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19915 if (!SWIG_IsOK(res1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19918 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19920 if (!SWIG_IsOK(ecode2
)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19923 arg2
= static_cast< int >(val2
);
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 (arg1
)->SetControlMargin(arg2
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_Py_Void();
19937 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19938 PyObject
*resultobj
= 0;
19939 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19943 PyObject
*swig_obj
[1] ;
19945 if (!args
) SWIG_fail
;
19946 swig_obj
[0] = args
;
19947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19948 if (!SWIG_IsOK(res1
)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19951 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= SWIG_From_int(static_cast< int >(result
));
19965 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
= 0;
19967 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19973 PyObject
* obj0
= 0 ;
19974 PyObject
* obj1
= 0 ;
19975 char * kwnames
[] = {
19976 (char *) "self",(char *) "fit", NULL
19979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19981 if (!SWIG_IsOK(res1
)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19984 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19985 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19986 if (!SWIG_IsOK(ecode2
)) {
19987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19989 arg2
= static_cast< bool >(val2
);
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 (arg1
)->SetFitToCurrentPage(arg2
);
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= SWIG_Py_Void();
20003 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20004 PyObject
*resultobj
= 0;
20005 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20009 PyObject
*swig_obj
[1] ;
20011 if (!args
) SWIG_fail
;
20012 swig_obj
[0] = args
;
20013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20017 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20033 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20034 PyObject
*resultobj
= 0;
20035 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20036 wxSizer
*result
= 0 ;
20039 PyObject
*swig_obj
[1] ;
20041 if (!args
) SWIG_fail
;
20042 swig_obj
[0] = args
;
20043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20044 if (!SWIG_IsOK(res1
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20047 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20063 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
= 0;
20065 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char * kwnames
[] = {
20075 (char *) "self",(char *) "n", NULL
20078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20080 if (!SWIG_IsOK(res1
)) {
20081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20083 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20084 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20085 if (!SWIG_IsOK(ecode2
)) {
20086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20088 arg2
= static_cast< size_t >(val2
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (bool)(arg1
)->DeletePage(arg2
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20104 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
= 0;
20106 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 char * kwnames
[] = {
20116 (char *) "self",(char *) "n", NULL
20119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20121 if (!SWIG_IsOK(res1
)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20124 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20125 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20126 if (!SWIG_IsOK(ecode2
)) {
20127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20129 arg2
= static_cast< size_t >(val2
);
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 result
= (bool)(arg1
)->RemovePage(arg2
);
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20145 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20146 PyObject
*resultobj
= 0;
20147 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20151 PyObject
*swig_obj
[1] ;
20153 if (!args
) SWIG_fail
;
20154 swig_obj
[0] = args
;
20155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20156 if (!SWIG_IsOK(res1
)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20159 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (bool)(arg1
)->DeleteAllPages();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20175 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
= 0;
20177 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20178 wxWindow
*arg2
= (wxWindow
*) 0 ;
20179 wxString
*arg3
= 0 ;
20180 bool arg4
= (bool) false ;
20181 int arg5
= (int) -1 ;
20187 bool temp3
= false ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 PyObject
* obj2
= 0 ;
20195 PyObject
* obj3
= 0 ;
20196 PyObject
* obj4
= 0 ;
20197 char * kwnames
[] = {
20198 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20203 if (!SWIG_IsOK(res1
)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20206 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20208 if (!SWIG_IsOK(res2
)) {
20209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20213 arg3
= wxString_in_helper(obj2
);
20214 if (arg3
== NULL
) SWIG_fail
;
20218 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20219 if (!SWIG_IsOK(ecode4
)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20222 arg4
= static_cast< bool >(val4
);
20225 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20226 if (!SWIG_IsOK(ecode5
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20229 arg5
= static_cast< int >(val5
);
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20254 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
= 0;
20256 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20258 wxWindow
*arg3
= (wxWindow
*) 0 ;
20259 wxString
*arg4
= 0 ;
20260 bool arg5
= (bool) false ;
20261 int arg6
= (int) -1 ;
20269 bool temp4
= false ;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 PyObject
* obj2
= 0 ;
20277 PyObject
* obj3
= 0 ;
20278 PyObject
* obj4
= 0 ;
20279 PyObject
* obj5
= 0 ;
20280 char * kwnames
[] = {
20281 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20286 if (!SWIG_IsOK(res1
)) {
20287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20289 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20290 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20291 if (!SWIG_IsOK(ecode2
)) {
20292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20294 arg2
= static_cast< size_t >(val2
);
20295 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20296 if (!SWIG_IsOK(res3
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20299 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20301 arg4
= wxString_in_helper(obj3
);
20302 if (arg4
== NULL
) SWIG_fail
;
20306 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20307 if (!SWIG_IsOK(ecode5
)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20310 arg5
= static_cast< bool >(val5
);
20313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20314 if (!SWIG_IsOK(ecode6
)) {
20315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20317 arg6
= static_cast< int >(val6
);
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20342 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
= 0;
20344 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char * kwnames
[] = {
20354 (char *) "self",(char *) "n", NULL
20357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20359 if (!SWIG_IsOK(res1
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20362 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20363 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20364 if (!SWIG_IsOK(ecode2
)) {
20365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20367 arg2
= static_cast< size_t >(val2
);
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= (int)(arg1
)->SetSelection(arg2
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_From_int(static_cast< int >(result
));
20381 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
= 0;
20383 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 PyObject
* obj1
= 0 ;
20392 char * kwnames
[] = {
20393 (char *) "self",(char *) "n", NULL
20396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20398 if (!SWIG_IsOK(res1
)) {
20399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20401 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20402 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20403 if (!SWIG_IsOK(ecode2
)) {
20404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20406 arg2
= static_cast< size_t >(val2
);
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (int)(arg1
)->ChangeSelection(arg2
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= SWIG_From_int(static_cast< int >(result
));
20420 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
= 0;
20422 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20423 bool arg2
= (bool) true ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char * kwnames
[] = {
20431 (char *) "self",(char *) "forward", NULL
20434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20436 if (!SWIG_IsOK(res1
)) {
20437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20439 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20441 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20442 if (!SWIG_IsOK(ecode2
)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20445 arg2
= static_cast< bool >(val2
);
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 (arg1
)->AdvanceSelection(arg2
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= SWIG_Py_Void();
20460 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
= 0;
20462 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20463 wxPoint
*arg2
= 0 ;
20464 long *arg3
= (long *) 0 ;
20470 int res3
= SWIG_TMPOBJ
;
20471 PyObject
* obj0
= 0 ;
20472 PyObject
* obj1
= 0 ;
20473 char * kwnames
[] = {
20474 (char *) "self",(char *) "pt", NULL
20478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20483 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_From_int(static_cast< int >(result
));
20495 if (SWIG_IsTmpObj(res3
)) {
20496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20498 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20507 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= 0;
20509 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20510 SwigValueWrapper
<wxVisualAttributes
> result
;
20513 PyObject
* obj0
= 0 ;
20514 char * kwnames
[] = {
20515 (char *) "variant", NULL
20518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20521 if (!SWIG_IsOK(ecode1
)) {
20522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20524 arg1
= static_cast< wxWindowVariant
>(val1
);
20527 if (!wxPyCheckForApp()) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20540 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20543 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20544 return SWIG_Py_Void();
20547 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20550 int arg2
= (int) 0 ;
20551 int arg3
= (int) -1 ;
20552 int arg4
= (int) -1 ;
20553 wxBookCtrlBaseEvent
*result
= 0 ;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 PyObject
* obj2
= 0 ;
20565 PyObject
* obj3
= 0 ;
20566 char * kwnames
[] = {
20567 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20572 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20573 if (!SWIG_IsOK(ecode1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20576 arg1
= static_cast< wxEventType
>(val1
);
20579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20580 if (!SWIG_IsOK(ecode2
)) {
20581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20583 arg2
= static_cast< int >(val2
);
20586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20587 if (!SWIG_IsOK(ecode3
)) {
20588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20590 arg3
= static_cast< int >(val3
);
20593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20594 if (!SWIG_IsOK(ecode4
)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20597 arg4
= static_cast< int >(val4
);
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20612 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20613 PyObject
*resultobj
= 0;
20614 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20618 PyObject
*swig_obj
[1] ;
20620 if (!args
) SWIG_fail
;
20621 swig_obj
[0] = args
;
20622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20623 if (!SWIG_IsOK(res1
)) {
20624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20626 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_From_int(static_cast< int >(result
));
20640 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
= 0;
20642 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 char * kwnames
[] = {
20651 (char *) "self",(char *) "nSel", NULL
20654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20656 if (!SWIG_IsOK(res1
)) {
20657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20659 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20661 if (!SWIG_IsOK(ecode2
)) {
20662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20664 arg2
= static_cast< int >(val2
);
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->SetSelection(arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_Py_Void();
20678 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20679 PyObject
*resultobj
= 0;
20680 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20684 PyObject
*swig_obj
[1] ;
20686 if (!args
) SWIG_fail
;
20687 swig_obj
[0] = args
;
20688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20689 if (!SWIG_IsOK(res1
)) {
20690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20692 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_From_int(static_cast< int >(result
));
20706 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
= 0;
20708 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 char * kwnames
[] = {
20717 (char *) "self",(char *) "nOldSel", NULL
20720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20722 if (!SWIG_IsOK(res1
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20725 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20727 if (!SWIG_IsOK(ecode2
)) {
20728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20730 arg2
= static_cast< int >(val2
);
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 (arg1
)->SetOldSelection(arg2
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= SWIG_Py_Void();
20744 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20747 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20748 return SWIG_Py_Void();
20751 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20752 return SWIG_Python_InitShadowInstance(args
);
20755 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
= 0;
20757 wxWindow
*arg1
= (wxWindow
*) 0 ;
20758 int arg2
= (int) -1 ;
20759 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20760 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20761 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20762 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20763 long arg5
= (long) 0 ;
20764 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20765 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20766 wxNotebook
*result
= 0 ;
20775 bool temp6
= false ;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 PyObject
* obj2
= 0 ;
20779 PyObject
* obj3
= 0 ;
20780 PyObject
* obj4
= 0 ;
20781 PyObject
* obj5
= 0 ;
20782 char * kwnames
[] = {
20783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20788 if (!SWIG_IsOK(res1
)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20794 if (!SWIG_IsOK(ecode2
)) {
20795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20797 arg2
= static_cast< int >(val2
);
20802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20812 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20813 if (!SWIG_IsOK(ecode5
)) {
20814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20816 arg5
= static_cast< long >(val5
);
20820 arg6
= wxString_in_helper(obj5
);
20821 if (arg6
== NULL
) SWIG_fail
;
20826 if (!wxPyCheckForApp()) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20847 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20848 PyObject
*resultobj
= 0;
20849 wxNotebook
*result
= 0 ;
20851 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20853 if (!wxPyCheckForApp()) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (wxNotebook
*)new wxNotebook();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20866 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
= 0;
20868 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20869 wxWindow
*arg2
= (wxWindow
*) 0 ;
20870 int arg3
= (int) -1 ;
20871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20875 long arg6
= (long) 0 ;
20876 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20889 bool temp7
= false ;
20890 PyObject
* obj0
= 0 ;
20891 PyObject
* obj1
= 0 ;
20892 PyObject
* obj2
= 0 ;
20893 PyObject
* obj3
= 0 ;
20894 PyObject
* obj4
= 0 ;
20895 PyObject
* obj5
= 0 ;
20896 PyObject
* obj6
= 0 ;
20897 char * kwnames
[] = {
20898 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20906 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20908 if (!SWIG_IsOK(res2
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20911 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20914 if (!SWIG_IsOK(ecode3
)) {
20915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20917 arg3
= static_cast< int >(val3
);
20922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20932 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20933 if (!SWIG_IsOK(ecode6
)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20936 arg6
= static_cast< long >(val6
);
20940 arg7
= wxString_in_helper(obj6
);
20941 if (arg7
== NULL
) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20968 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20969 PyObject
*resultobj
= 0;
20970 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20974 PyObject
*swig_obj
[1] ;
20976 if (!args
) SWIG_fail
;
20977 swig_obj
[0] = args
;
20978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20979 if (!SWIG_IsOK(res1
)) {
20980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20982 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_From_int(static_cast< int >(result
));
20996 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
= 0;
20998 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char * kwnames
[] = {
21006 (char *) "self",(char *) "padding", NULL
21009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
21014 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->SetPadding((wxSize
const &)*arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= SWIG_Py_Void();
21032 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
= 0;
21034 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 char * kwnames
[] = {
21042 (char *) "self",(char *) "sz", NULL
21045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21047 if (!SWIG_IsOK(res1
)) {
21048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21050 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21053 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_Py_Void();
21068 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21069 PyObject
*resultobj
= 0;
21070 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21074 PyObject
*swig_obj
[1] ;
21076 if (!args
) SWIG_fail
;
21077 swig_obj
[0] = args
;
21078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21079 if (!SWIG_IsOK(res1
)) {
21080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21082 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21096 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
= 0;
21098 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21099 SwigValueWrapper
<wxVisualAttributes
> result
;
21102 PyObject
* obj0
= 0 ;
21103 char * kwnames
[] = {
21104 (char *) "variant", NULL
21107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21109 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21110 if (!SWIG_IsOK(ecode1
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21113 arg1
= static_cast< wxWindowVariant
>(val1
);
21116 if (!wxPyCheckForApp()) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21129 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
= 0;
21131 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 char * kwnames
[] = {
21141 (char *) "self",(char *) "nPage", NULL
21144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21146 if (!SWIG_IsOK(res1
)) {
21147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21149 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21151 if (!SWIG_IsOK(ecode2
)) {
21152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21154 arg2
= static_cast< int >(val2
);
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21170 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
= 0;
21172 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21174 int arg3
= (int) -1 ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 PyObject
* obj2
= 0 ;
21184 char * kwnames
[] = {
21185 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21190 if (!SWIG_IsOK(res1
)) {
21191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21193 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21195 if (!SWIG_IsOK(ecode2
)) {
21196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21198 arg2
= static_cast< int >(val2
);
21200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21201 if (!SWIG_IsOK(ecode3
)) {
21202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21204 arg3
= static_cast< int >(val3
);
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= SWIG_Py_Void();
21219 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21222 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21223 return SWIG_Py_Void();
21226 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21227 return SWIG_Python_InitShadowInstance(args
);
21230 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
= 0;
21232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21233 int arg2
= (int) 0 ;
21234 int arg3
= (int) -1 ;
21235 int arg4
= (int) -1 ;
21236 wxNotebookEvent
*result
= 0 ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 PyObject
* obj2
= 0 ;
21248 PyObject
* obj3
= 0 ;
21249 char * kwnames
[] = {
21250 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21255 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21256 if (!SWIG_IsOK(ecode1
)) {
21257 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21259 arg1
= static_cast< wxEventType
>(val1
);
21262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21263 if (!SWIG_IsOK(ecode2
)) {
21264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21266 arg2
= static_cast< int >(val2
);
21269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21270 if (!SWIG_IsOK(ecode3
)) {
21271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21273 arg3
= static_cast< int >(val3
);
21276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21277 if (!SWIG_IsOK(ecode4
)) {
21278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21280 arg4
= static_cast< int >(val4
);
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21295 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21298 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21299 return SWIG_Py_Void();
21302 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21303 return SWIG_Python_InitShadowInstance(args
);
21306 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
= 0;
21308 wxWindow
*arg1
= (wxWindow
*) 0 ;
21309 int arg2
= (int) -1 ;
21310 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21311 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21312 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21313 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21314 long arg5
= (long) 0 ;
21315 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21316 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21317 wxListbook
*result
= 0 ;
21326 bool temp6
= false ;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 PyObject
* obj2
= 0 ;
21330 PyObject
* obj3
= 0 ;
21331 PyObject
* obj4
= 0 ;
21332 PyObject
* obj5
= 0 ;
21333 char * kwnames
[] = {
21334 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21339 if (!SWIG_IsOK(res1
)) {
21340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21342 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21345 if (!SWIG_IsOK(ecode2
)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21348 arg2
= static_cast< int >(val2
);
21353 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21359 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21363 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21364 if (!SWIG_IsOK(ecode5
)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21367 arg5
= static_cast< long >(val5
);
21371 arg6
= wxString_in_helper(obj5
);
21372 if (arg6
== NULL
) SWIG_fail
;
21377 if (!wxPyCheckForApp()) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21398 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21399 PyObject
*resultobj
= 0;
21400 wxListbook
*result
= 0 ;
21402 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21404 if (!wxPyCheckForApp()) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (wxListbook
*)new wxListbook();
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21417 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
= 0;
21419 wxListbook
*arg1
= (wxListbook
*) 0 ;
21420 wxWindow
*arg2
= (wxWindow
*) 0 ;
21421 int arg3
= (int) -1 ;
21422 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21423 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21424 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21425 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21426 long arg6
= (long) 0 ;
21427 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21428 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21440 bool temp7
= false ;
21441 PyObject
* obj0
= 0 ;
21442 PyObject
* obj1
= 0 ;
21443 PyObject
* obj2
= 0 ;
21444 PyObject
* obj3
= 0 ;
21445 PyObject
* obj4
= 0 ;
21446 PyObject
* obj5
= 0 ;
21447 PyObject
* obj6
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21457 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21459 if (!SWIG_IsOK(res2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21465 if (!SWIG_IsOK(ecode3
)) {
21466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21468 arg3
= static_cast< int >(val3
);
21473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21483 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21484 if (!SWIG_IsOK(ecode6
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21487 arg6
= static_cast< long >(val6
);
21491 arg7
= wxString_in_helper(obj6
);
21492 if (arg7
== NULL
) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21519 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21520 PyObject
*resultobj
= 0;
21521 wxListbook
*arg1
= (wxListbook
*) 0 ;
21522 wxListView
*result
= 0 ;
21525 PyObject
*swig_obj
[1] ;
21527 if (!args
) SWIG_fail
;
21528 swig_obj
[0] = args
;
21529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21530 if (!SWIG_IsOK(res1
)) {
21531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21533 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (wxListView
*)(arg1
)->GetListView();
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21547 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21550 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21551 return SWIG_Py_Void();
21554 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21555 return SWIG_Python_InitShadowInstance(args
);
21558 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
= 0;
21560 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21561 int arg2
= (int) 0 ;
21562 int arg3
= (int) -1 ;
21563 int arg4
= (int) -1 ;
21564 wxListbookEvent
*result
= 0 ;
21573 PyObject
* obj0
= 0 ;
21574 PyObject
* obj1
= 0 ;
21575 PyObject
* obj2
= 0 ;
21576 PyObject
* obj3
= 0 ;
21577 char * kwnames
[] = {
21578 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21583 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21584 if (!SWIG_IsOK(ecode1
)) {
21585 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21587 arg1
= static_cast< wxEventType
>(val1
);
21590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21591 if (!SWIG_IsOK(ecode2
)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21594 arg2
= static_cast< int >(val2
);
21597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21598 if (!SWIG_IsOK(ecode3
)) {
21599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21601 arg3
= static_cast< int >(val3
);
21604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21605 if (!SWIG_IsOK(ecode4
)) {
21606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21608 arg4
= static_cast< int >(val4
);
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21623 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21626 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21627 return SWIG_Py_Void();
21630 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21631 return SWIG_Python_InitShadowInstance(args
);
21634 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
= 0;
21636 wxWindow
*arg1
= (wxWindow
*) 0 ;
21638 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21639 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21640 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21641 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21642 long arg5
= (long) 0 ;
21643 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21644 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21645 wxChoicebook
*result
= 0 ;
21654 bool temp6
= false ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 PyObject
* obj2
= 0 ;
21658 PyObject
* obj3
= 0 ;
21659 PyObject
* obj4
= 0 ;
21660 PyObject
* obj5
= 0 ;
21661 char * kwnames
[] = {
21662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21667 if (!SWIG_IsOK(res1
)) {
21668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21672 if (!SWIG_IsOK(ecode2
)) {
21673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21675 arg2
= static_cast< int >(val2
);
21679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21685 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21689 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21690 if (!SWIG_IsOK(ecode5
)) {
21691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21693 arg5
= static_cast< long >(val5
);
21697 arg6
= wxString_in_helper(obj5
);
21698 if (arg6
== NULL
) SWIG_fail
;
21703 if (!wxPyCheckForApp()) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21724 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21725 PyObject
*resultobj
= 0;
21726 wxChoicebook
*result
= 0 ;
21728 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21730 if (!wxPyCheckForApp()) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (wxChoicebook
*)new wxChoicebook();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21743 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
= 0;
21745 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21746 wxWindow
*arg2
= (wxWindow
*) 0 ;
21748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21752 long arg6
= (long) 0 ;
21753 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21754 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21766 bool temp7
= false ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 PyObject
* obj2
= 0 ;
21770 PyObject
* obj3
= 0 ;
21771 PyObject
* obj4
= 0 ;
21772 PyObject
* obj5
= 0 ;
21773 PyObject
* obj6
= 0 ;
21774 char * kwnames
[] = {
21775 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21783 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21785 if (!SWIG_IsOK(res2
)) {
21786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21788 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21790 if (!SWIG_IsOK(ecode3
)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21793 arg3
= static_cast< int >(val3
);
21797 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21803 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21807 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21808 if (!SWIG_IsOK(ecode6
)) {
21809 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21811 arg6
= static_cast< long >(val6
);
21815 arg7
= wxString_in_helper(obj6
);
21816 if (arg7
== NULL
) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21843 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21844 PyObject
*resultobj
= 0;
21845 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21846 wxChoice
*result
= 0 ;
21849 PyObject
*swig_obj
[1] ;
21851 if (!args
) SWIG_fail
;
21852 swig_obj
[0] = args
;
21853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21854 if (!SWIG_IsOK(res1
)) {
21855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21857 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21871 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21874 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21875 return SWIG_Py_Void();
21878 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21879 return SWIG_Python_InitShadowInstance(args
);
21882 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
= 0;
21884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21885 int arg2
= (int) 0 ;
21886 int arg3
= (int) -1 ;
21887 int arg4
= (int) -1 ;
21888 wxChoicebookEvent
*result
= 0 ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 PyObject
* obj2
= 0 ;
21900 PyObject
* obj3
= 0 ;
21901 char * kwnames
[] = {
21902 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21908 if (!SWIG_IsOK(ecode1
)) {
21909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21911 arg1
= static_cast< wxEventType
>(val1
);
21914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21915 if (!SWIG_IsOK(ecode2
)) {
21916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21918 arg2
= static_cast< int >(val2
);
21921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21922 if (!SWIG_IsOK(ecode3
)) {
21923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21925 arg3
= static_cast< int >(val3
);
21928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21929 if (!SWIG_IsOK(ecode4
)) {
21930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21932 arg4
= static_cast< int >(val4
);
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21947 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21950 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21951 return SWIG_Py_Void();
21954 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21955 return SWIG_Python_InitShadowInstance(args
);
21958 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
= 0;
21960 wxWindow
*arg1
= (wxWindow
*) 0 ;
21962 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21963 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21964 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21965 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21966 long arg5
= (long) wxBK_DEFAULT
;
21967 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21968 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21969 wxTreebook
*result
= 0 ;
21978 bool temp6
= false ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 PyObject
* obj3
= 0 ;
21983 PyObject
* obj4
= 0 ;
21984 PyObject
* obj5
= 0 ;
21985 char * kwnames
[] = {
21986 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21991 if (!SWIG_IsOK(res1
)) {
21992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21994 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21996 if (!SWIG_IsOK(ecode2
)) {
21997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21999 arg2
= static_cast< int >(val2
);
22003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22009 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22013 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22014 if (!SWIG_IsOK(ecode5
)) {
22015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
22017 arg5
= static_cast< long >(val5
);
22021 arg6
= wxString_in_helper(obj5
);
22022 if (arg6
== NULL
) SWIG_fail
;
22027 if (!wxPyCheckForApp()) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22048 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22049 PyObject
*resultobj
= 0;
22050 wxTreebook
*result
= 0 ;
22052 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22054 if (!wxPyCheckForApp()) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (wxTreebook
*)new wxTreebook();
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22067 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
= 0;
22069 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22070 wxWindow
*arg2
= (wxWindow
*) 0 ;
22072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22076 long arg6
= (long) wxBK_DEFAULT
;
22077 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22078 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22090 bool temp7
= false ;
22091 PyObject
* obj0
= 0 ;
22092 PyObject
* obj1
= 0 ;
22093 PyObject
* obj2
= 0 ;
22094 PyObject
* obj3
= 0 ;
22095 PyObject
* obj4
= 0 ;
22096 PyObject
* obj5
= 0 ;
22097 PyObject
* obj6
= 0 ;
22098 char * kwnames
[] = {
22099 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22104 if (!SWIG_IsOK(res1
)) {
22105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22107 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22109 if (!SWIG_IsOK(res2
)) {
22110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22112 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22114 if (!SWIG_IsOK(ecode3
)) {
22115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22117 arg3
= static_cast< int >(val3
);
22121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22131 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22132 if (!SWIG_IsOK(ecode6
)) {
22133 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22135 arg6
= static_cast< long >(val6
);
22139 arg7
= wxString_in_helper(obj6
);
22140 if (arg7
== NULL
) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22167 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
= 0;
22169 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22171 wxWindow
*arg3
= (wxWindow
*) 0 ;
22172 wxString
*arg4
= 0 ;
22173 bool arg5
= (bool) false ;
22174 int arg6
= (int) wxNOT_FOUND
;
22182 bool temp4
= false ;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 PyObject
* obj2
= 0 ;
22190 PyObject
* obj3
= 0 ;
22191 PyObject
* obj4
= 0 ;
22192 PyObject
* obj5
= 0 ;
22193 char * kwnames
[] = {
22194 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22199 if (!SWIG_IsOK(res1
)) {
22200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22202 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22203 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22204 if (!SWIG_IsOK(ecode2
)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22207 arg2
= static_cast< size_t >(val2
);
22208 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22209 if (!SWIG_IsOK(res3
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22212 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22214 arg4
= wxString_in_helper(obj3
);
22215 if (arg4
== NULL
) SWIG_fail
;
22219 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22220 if (!SWIG_IsOK(ecode5
)) {
22221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22223 arg5
= static_cast< bool >(val5
);
22226 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22227 if (!SWIG_IsOK(ecode6
)) {
22228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22230 arg6
= static_cast< int >(val6
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22255 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
= 0;
22257 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22258 wxWindow
*arg2
= (wxWindow
*) 0 ;
22259 wxString
*arg3
= 0 ;
22260 bool arg4
= (bool) false ;
22261 int arg5
= (int) wxNOT_FOUND
;
22267 bool temp3
= false ;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 PyObject
* obj2
= 0 ;
22275 PyObject
* obj3
= 0 ;
22276 PyObject
* obj4
= 0 ;
22277 char * kwnames
[] = {
22278 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22286 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22288 if (!SWIG_IsOK(res2
)) {
22289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22293 arg3
= wxString_in_helper(obj2
);
22294 if (arg3
== NULL
) SWIG_fail
;
22298 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22299 if (!SWIG_IsOK(ecode4
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22302 arg4
= static_cast< bool >(val4
);
22305 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22306 if (!SWIG_IsOK(ecode5
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22309 arg5
= static_cast< int >(val5
);
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22334 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
= 0;
22336 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 char * kwnames
[] = {
22346 (char *) "self",(char *) "pos", NULL
22349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22351 if (!SWIG_IsOK(res1
)) {
22352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22354 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22355 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22356 if (!SWIG_IsOK(ecode2
)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22359 arg2
= static_cast< size_t >(val2
);
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22375 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
= 0;
22377 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22379 bool arg3
= (bool) true ;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 PyObject
* obj2
= 0 ;
22390 char * kwnames
[] = {
22391 (char *) "self",(char *) "pos",(char *) "expand", NULL
22394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22396 if (!SWIG_IsOK(res1
)) {
22397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22399 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22400 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22401 if (!SWIG_IsOK(ecode2
)) {
22402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22404 arg2
= static_cast< size_t >(val2
);
22406 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22407 if (!SWIG_IsOK(ecode3
)) {
22408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22410 arg3
= static_cast< bool >(val3
);
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22427 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
= 0;
22429 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 PyObject
* obj1
= 0 ;
22438 char * kwnames
[] = {
22439 (char *) "self",(char *) "pos", NULL
22442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22444 if (!SWIG_IsOK(res1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22447 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22448 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22449 if (!SWIG_IsOK(ecode2
)) {
22450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22452 arg2
= static_cast< size_t >(val2
);
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 result
= (bool)(arg1
)->CollapseNode(arg2
);
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22468 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
= 0;
22470 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char * kwnames
[] = {
22480 (char *) "self",(char *) "pos", NULL
22483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22485 if (!SWIG_IsOK(res1
)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22488 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22489 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22490 if (!SWIG_IsOK(ecode2
)) {
22491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22493 arg2
= static_cast< size_t >(val2
);
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_From_int(static_cast< int >(result
));
22507 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22508 PyObject
*resultobj
= 0;
22509 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22510 wxPyTreeCtrl
*result
= 0 ;
22513 PyObject
*swig_obj
[1] ;
22515 if (!args
) SWIG_fail
;
22516 swig_obj
[0] = args
;
22517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22518 if (!SWIG_IsOK(res1
)) {
22519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22521 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22537 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22540 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22541 return SWIG_Py_Void();
22544 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22545 return SWIG_Python_InitShadowInstance(args
);
22548 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
= 0;
22550 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22551 int arg2
= (int) 0 ;
22552 int arg3
= (int) wxNOT_FOUND
;
22553 int arg4
= (int) wxNOT_FOUND
;
22554 wxTreebookEvent
*result
= 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 PyObject
* obj2
= 0 ;
22566 PyObject
* obj3
= 0 ;
22567 char * kwnames
[] = {
22568 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22573 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22574 if (!SWIG_IsOK(ecode1
)) {
22575 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22577 arg1
= static_cast< wxEventType
>(val1
);
22580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22581 if (!SWIG_IsOK(ecode2
)) {
22582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22584 arg2
= static_cast< int >(val2
);
22587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22588 if (!SWIG_IsOK(ecode3
)) {
22589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22591 arg3
= static_cast< int >(val3
);
22594 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22595 if (!SWIG_IsOK(ecode4
)) {
22596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22598 arg4
= static_cast< int >(val4
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22613 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22616 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22617 return SWIG_Py_Void();
22620 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22621 return SWIG_Python_InitShadowInstance(args
);
22624 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
= 0;
22626 wxWindow
*arg1
= (wxWindow
*) 0 ;
22628 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22629 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22630 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22631 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22632 long arg5
= (long) wxBK_DEFAULT
;
22633 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22634 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22635 wxToolbook
*result
= 0 ;
22644 bool temp6
= false ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 PyObject
* obj2
= 0 ;
22648 PyObject
* obj3
= 0 ;
22649 PyObject
* obj4
= 0 ;
22650 PyObject
* obj5
= 0 ;
22651 char * kwnames
[] = {
22652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22657 if (!SWIG_IsOK(res1
)) {
22658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22662 if (!SWIG_IsOK(ecode2
)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22665 arg2
= static_cast< int >(val2
);
22669 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22675 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22679 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22680 if (!SWIG_IsOK(ecode5
)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22683 arg5
= static_cast< long >(val5
);
22687 arg6
= wxString_in_helper(obj5
);
22688 if (arg6
== NULL
) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22713 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22714 PyObject
*resultobj
= 0;
22715 wxToolbook
*result
= 0 ;
22717 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= (wxToolbook
*)new wxToolbook();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22731 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
= 0;
22733 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22734 wxWindow
*arg2
= (wxWindow
*) 0 ;
22736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22740 long arg6
= (long) 0 ;
22741 wxString
const &arg7_defvalue
= wxEmptyString
;
22742 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22754 bool temp7
= false ;
22755 PyObject
* obj0
= 0 ;
22756 PyObject
* obj1
= 0 ;
22757 PyObject
* obj2
= 0 ;
22758 PyObject
* obj3
= 0 ;
22759 PyObject
* obj4
= 0 ;
22760 PyObject
* obj5
= 0 ;
22761 PyObject
* obj6
= 0 ;
22762 char * kwnames
[] = {
22763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22771 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22773 if (!SWIG_IsOK(res2
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22776 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22778 if (!SWIG_IsOK(ecode3
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22781 arg3
= static_cast< int >(val3
);
22785 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22791 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22795 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22796 if (!SWIG_IsOK(ecode6
)) {
22797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22799 arg6
= static_cast< long >(val6
);
22803 arg7
= wxString_in_helper(obj6
);
22804 if (arg7
== NULL
) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22831 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22832 PyObject
*resultobj
= 0;
22833 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22834 wxToolBarBase
*result
= 0 ;
22837 PyObject
*swig_obj
[1] ;
22839 if (!args
) SWIG_fail
;
22840 swig_obj
[0] = args
;
22841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22842 if (!SWIG_IsOK(res1
)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22845 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22861 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22862 PyObject
*resultobj
= 0;
22863 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22866 PyObject
*swig_obj
[1] ;
22868 if (!args
) SWIG_fail
;
22869 swig_obj
[0] = args
;
22870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22871 if (!SWIG_IsOK(res1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22874 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= SWIG_Py_Void();
22888 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22891 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22892 return SWIG_Py_Void();
22895 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22896 return SWIG_Python_InitShadowInstance(args
);
22899 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
= 0;
22901 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22902 int arg2
= (int) 0 ;
22903 int arg3
= (int) wxNOT_FOUND
;
22904 int arg4
= (int) wxNOT_FOUND
;
22905 wxToolbookEvent
*result
= 0 ;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 PyObject
* obj2
= 0 ;
22917 PyObject
* obj3
= 0 ;
22918 char * kwnames
[] = {
22919 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22925 if (!SWIG_IsOK(ecode1
)) {
22926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22928 arg1
= static_cast< wxEventType
>(val1
);
22931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22932 if (!SWIG_IsOK(ecode2
)) {
22933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22935 arg2
= static_cast< int >(val2
);
22938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22939 if (!SWIG_IsOK(ecode3
)) {
22940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22942 arg3
= static_cast< int >(val3
);
22945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22946 if (!SWIG_IsOK(ecode4
)) {
22947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22949 arg4
= static_cast< int >(val4
);
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22964 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22967 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22968 return SWIG_Py_Void();
22971 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22972 return SWIG_Python_InitShadowInstance(args
);
22975 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22976 PyObject
*resultobj
= 0;
22977 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22981 PyObject
*swig_obj
[1] ;
22983 if (!args
) SWIG_fail
;
22984 swig_obj
[0] = args
;
22985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22989 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (int)(arg1
)->GetId();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_From_int(static_cast< int >(result
));
23003 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23004 PyObject
*resultobj
= 0;
23005 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23006 wxControl
*result
= 0 ;
23009 PyObject
*swig_obj
[1] ;
23011 if (!args
) SWIG_fail
;
23012 swig_obj
[0] = args
;
23013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23017 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (wxControl
*)(arg1
)->GetControl();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= wxPyMake_wxObject(result
, 0);
23033 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23034 PyObject
*resultobj
= 0;
23035 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23036 wxToolBarBase
*result
= 0 ;
23039 PyObject
*swig_obj
[1] ;
23041 if (!args
) SWIG_fail
;
23042 swig_obj
[0] = args
;
23043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23047 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23063 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23064 PyObject
*resultobj
= 0;
23065 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23069 PyObject
*swig_obj
[1] ;
23071 if (!args
) SWIG_fail
;
23072 swig_obj
[0] = args
;
23073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23074 if (!SWIG_IsOK(res1
)) {
23075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23077 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= (int)(arg1
)->IsButton();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 resultobj
= SWIG_From_int(static_cast< int >(result
));
23091 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23092 PyObject
*resultobj
= 0;
23093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23097 PyObject
*swig_obj
[1] ;
23099 if (!args
) SWIG_fail
;
23100 swig_obj
[0] = args
;
23101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23105 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (int)(arg1
)->IsControl();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_From_int(static_cast< int >(result
));
23119 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23120 PyObject
*resultobj
= 0;
23121 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23125 PyObject
*swig_obj
[1] ;
23127 if (!args
) SWIG_fail
;
23128 swig_obj
[0] = args
;
23129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23130 if (!SWIG_IsOK(res1
)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23133 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= (int)(arg1
)->IsSeparator();
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= SWIG_From_int(static_cast< int >(result
));
23147 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23148 PyObject
*resultobj
= 0;
23149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23153 PyObject
*swig_obj
[1] ;
23155 if (!args
) SWIG_fail
;
23156 swig_obj
[0] = args
;
23157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23161 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (int)(arg1
)->GetStyle();
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_From_int(static_cast< int >(result
));
23175 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23176 PyObject
*resultobj
= 0;
23177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23181 PyObject
*swig_obj
[1] ;
23183 if (!args
) SWIG_fail
;
23184 swig_obj
[0] = args
;
23185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23186 if (!SWIG_IsOK(res1
)) {
23187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23189 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (wxItemKind
)(arg1
)->GetKind();
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_From_int(static_cast< int >(result
));
23203 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23204 PyObject
*resultobj
= 0;
23205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23209 PyObject
*swig_obj
[1] ;
23211 if (!args
) SWIG_fail
;
23212 swig_obj
[0] = args
;
23213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23214 if (!SWIG_IsOK(res1
)) {
23215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23217 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (bool)(arg1
)->IsEnabled();
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23233 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23234 PyObject
*resultobj
= 0;
23235 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23239 PyObject
*swig_obj
[1] ;
23241 if (!args
) SWIG_fail
;
23242 swig_obj
[0] = args
;
23243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23244 if (!SWIG_IsOK(res1
)) {
23245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23247 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= (bool)(arg1
)->IsToggled();
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23263 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23264 PyObject
*resultobj
= 0;
23265 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23269 PyObject
*swig_obj
[1] ;
23271 if (!args
) SWIG_fail
;
23272 swig_obj
[0] = args
;
23273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23274 if (!SWIG_IsOK(res1
)) {
23275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23277 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (bool)(arg1
)->CanBeToggled();
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23293 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23294 PyObject
*resultobj
= 0;
23295 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23296 wxBitmap
*result
= 0 ;
23299 PyObject
*swig_obj
[1] ;
23301 if (!args
) SWIG_fail
;
23302 swig_obj
[0] = args
;
23303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23307 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23312 result
= (wxBitmap
*) &_result_ref
;
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 wxBitmap
* resultptr
= new wxBitmap(*result
);
23319 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23327 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23328 PyObject
*resultobj
= 0;
23329 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23330 wxBitmap
*result
= 0 ;
23333 PyObject
*swig_obj
[1] ;
23335 if (!args
) SWIG_fail
;
23336 swig_obj
[0] = args
;
23337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23338 if (!SWIG_IsOK(res1
)) {
23339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23341 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23346 result
= (wxBitmap
*) &_result_ref
;
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 wxBitmap
* resultptr
= new wxBitmap(*result
);
23353 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23361 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23362 PyObject
*resultobj
= 0;
23363 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23367 PyObject
*swig_obj
[1] ;
23369 if (!args
) SWIG_fail
;
23370 swig_obj
[0] = args
;
23371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23372 if (!SWIG_IsOK(res1
)) {
23373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23375 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (arg1
)->GetBitmap();
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23389 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23390 PyObject
*resultobj
= 0;
23391 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23395 PyObject
*swig_obj
[1] ;
23397 if (!args
) SWIG_fail
;
23398 swig_obj
[0] = args
;
23399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23403 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (arg1
)->GetLabel();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23423 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23424 PyObject
*resultobj
= 0;
23425 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23429 PyObject
*swig_obj
[1] ;
23431 if (!args
) SWIG_fail
;
23432 swig_obj
[0] = args
;
23433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23434 if (!SWIG_IsOK(res1
)) {
23435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23437 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 result
= (arg1
)->GetShortHelp();
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23457 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23458 PyObject
*resultobj
= 0;
23459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23463 PyObject
*swig_obj
[1] ;
23465 if (!args
) SWIG_fail
;
23466 swig_obj
[0] = args
;
23467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23471 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (arg1
)->GetLongHelp();
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23491 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
= 0;
23493 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char * kwnames
[] = {
23503 (char *) "self",(char *) "enable", NULL
23506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23511 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23512 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23513 if (!SWIG_IsOK(ecode2
)) {
23514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23516 arg2
= static_cast< bool >(val2
);
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (bool)(arg1
)->Enable(arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23532 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23533 PyObject
*resultobj
= 0;
23534 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23537 PyObject
*swig_obj
[1] ;
23539 if (!args
) SWIG_fail
;
23540 swig_obj
[0] = args
;
23541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23542 if (!SWIG_IsOK(res1
)) {
23543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23545 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= SWIG_Py_Void();
23559 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
= 0;
23561 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 char * kwnames
[] = {
23571 (char *) "self",(char *) "toggle", NULL
23574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23576 if (!SWIG_IsOK(res1
)) {
23577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23579 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23580 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23581 if (!SWIG_IsOK(ecode2
)) {
23582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23584 arg2
= static_cast< bool >(val2
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= (bool)(arg1
)->SetToggle(arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23600 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
= 0;
23602 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23603 wxString
*arg2
= 0 ;
23607 bool temp2
= false ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char * kwnames
[] = {
23611 (char *) "self",(char *) "help", NULL
23614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23619 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23621 arg2
= wxString_in_helper(obj1
);
23622 if (arg2
== NULL
) SWIG_fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23648 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
= 0;
23650 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23651 wxString
*arg2
= 0 ;
23655 bool temp2
= false ;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 char * kwnames
[] = {
23659 (char *) "self",(char *) "help", NULL
23662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23664 if (!SWIG_IsOK(res1
)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23667 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23669 arg2
= wxString_in_helper(obj1
);
23670 if (arg2
== NULL
) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23696 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23697 PyObject
*resultobj
= 0;
23698 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23699 wxBitmap
*arg2
= 0 ;
23704 PyObject
* obj0
= 0 ;
23705 PyObject
* obj1
= 0 ;
23706 char * kwnames
[] = {
23707 (char *) "self",(char *) "bmp", NULL
23710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23715 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23717 if (!SWIG_IsOK(res2
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23723 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_Py_Void();
23737 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
= 0;
23739 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23740 wxBitmap
*arg2
= 0 ;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 char * kwnames
[] = {
23748 (char *) "self",(char *) "bmp", NULL
23751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23756 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23758 if (!SWIG_IsOK(res2
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23764 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_Py_Void();
23778 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
= 0;
23780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23781 wxString
*arg2
= 0 ;
23784 bool temp2
= false ;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 char * kwnames
[] = {
23788 (char *) "self",(char *) "label", NULL
23791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23793 if (!SWIG_IsOK(res1
)) {
23794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23796 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23798 arg2
= wxString_in_helper(obj1
);
23799 if (arg2
== NULL
) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 (arg1
)->SetLabel((wxString
const &)*arg2
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_Py_Void();
23823 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23824 PyObject
*resultobj
= 0;
23825 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23828 PyObject
*swig_obj
[1] ;
23830 if (!args
) SWIG_fail
;
23831 swig_obj
[0] = args
;
23832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23836 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_Py_Void();
23850 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
= 0;
23852 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23853 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 PyObject
* obj1
= 0 ;
23860 char * kwnames
[] = {
23861 (char *) "self",(char *) "tbar", NULL
23864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23866 if (!SWIG_IsOK(res1
)) {
23867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23869 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23871 if (!SWIG_IsOK(res2
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23874 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 (arg1
)->Attach(arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_Py_Void();
23888 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23889 PyObject
*resultobj
= 0;
23890 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23891 PyObject
*result
= 0 ;
23894 PyObject
*swig_obj
[1] ;
23896 if (!args
) SWIG_fail
;
23897 swig_obj
[0] = args
;
23898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23902 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= result
;
23916 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
= 0;
23918 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23919 PyObject
*arg2
= (PyObject
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char * kwnames
[] = {
23925 (char *) "self",(char *) "clientData", NULL
23928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23930 if (!SWIG_IsOK(res1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23933 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= SWIG_Py_Void();
23948 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23951 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23952 return SWIG_Py_Void();
23955 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
= 0;
23957 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23959 wxString
*arg3
= 0 ;
23960 wxBitmap
*arg4
= 0 ;
23961 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23962 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23963 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23964 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23966 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23968 PyObject
*arg9
= (PyObject
*) NULL
;
23969 wxToolBarToolBase
*result
= 0 ;
23974 bool temp3
= false ;
23981 bool temp7
= false ;
23982 bool temp8
= false ;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 PyObject
* obj2
= 0 ;
23986 PyObject
* obj3
= 0 ;
23987 PyObject
* obj4
= 0 ;
23988 PyObject
* obj5
= 0 ;
23989 PyObject
* obj6
= 0 ;
23990 PyObject
* obj7
= 0 ;
23991 PyObject
* obj8
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23998 if (!SWIG_IsOK(res1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24001 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24003 if (!SWIG_IsOK(ecode2
)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
24006 arg2
= static_cast< int >(val2
);
24008 arg3
= wxString_in_helper(obj2
);
24009 if (arg3
== NULL
) SWIG_fail
;
24012 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24013 if (!SWIG_IsOK(res4
)) {
24014 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24019 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24021 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24022 if (!SWIG_IsOK(res5
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24028 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24031 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24032 if (!SWIG_IsOK(ecode6
)) {
24033 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24035 arg6
= static_cast< wxItemKind
>(val6
);
24039 arg7
= wxString_in_helper(obj6
);
24040 if (arg7
== NULL
) SWIG_fail
;
24046 arg8
= wxString_in_helper(obj7
);
24047 if (arg8
== NULL
) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24093 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24098 wxString
*arg4
= 0 ;
24099 wxBitmap
*arg5
= 0 ;
24100 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24101 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24102 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24103 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24104 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24105 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24106 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24107 PyObject
*arg10
= (PyObject
*) NULL
;
24108 wxToolBarToolBase
*result
= 0 ;
24115 bool temp4
= false ;
24122 bool temp8
= false ;
24123 bool temp9
= false ;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24126 PyObject
* obj2
= 0 ;
24127 PyObject
* obj3
= 0 ;
24128 PyObject
* obj4
= 0 ;
24129 PyObject
* obj5
= 0 ;
24130 PyObject
* obj6
= 0 ;
24131 PyObject
* obj7
= 0 ;
24132 PyObject
* obj8
= 0 ;
24133 PyObject
* obj9
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24143 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24144 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24145 if (!SWIG_IsOK(ecode2
)) {
24146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24148 arg2
= static_cast< size_t >(val2
);
24149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24150 if (!SWIG_IsOK(ecode3
)) {
24151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24153 arg3
= static_cast< int >(val3
);
24155 arg4
= wxString_in_helper(obj3
);
24156 if (arg4
== NULL
) SWIG_fail
;
24159 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24160 if (!SWIG_IsOK(res5
)) {
24161 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24166 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24168 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24169 if (!SWIG_IsOK(res6
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24175 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24178 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24179 if (!SWIG_IsOK(ecode7
)) {
24180 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24182 arg7
= static_cast< wxItemKind
>(val7
);
24186 arg8
= wxString_in_helper(obj7
);
24187 if (arg8
== NULL
) SWIG_fail
;
24193 arg9
= wxString_in_helper(obj8
);
24194 if (arg9
== NULL
) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24204 wxPyEndAllowThreads(__tstate
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24240 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
= 0;
24242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24243 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24244 wxToolBarToolBase
*result
= 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 char * kwnames
[] = {
24252 (char *) "self",(char *) "tool", NULL
24255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24257 if (!SWIG_IsOK(res1
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24260 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24262 if (!SWIG_IsOK(res2
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24265 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24281 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
= 0;
24283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24285 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24286 wxToolBarToolBase
*result
= 0 ;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 PyObject
* obj2
= 0 ;
24296 char * kwnames
[] = {
24297 (char *) "self",(char *) "pos",(char *) "tool", NULL
24300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24302 if (!SWIG_IsOK(res1
)) {
24303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24305 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24306 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24307 if (!SWIG_IsOK(ecode2
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24310 arg2
= static_cast< size_t >(val2
);
24311 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24312 if (!SWIG_IsOK(res3
)) {
24313 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24315 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24331 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
= 0;
24333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24334 wxControl
*arg2
= (wxControl
*) 0 ;
24335 wxToolBarToolBase
*result
= 0 ;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 char * kwnames
[] = {
24343 (char *) "self",(char *) "control", NULL
24346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24348 if (!SWIG_IsOK(res1
)) {
24349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24351 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24353 if (!SWIG_IsOK(res2
)) {
24354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24356 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24372 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
= 0;
24374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24376 wxControl
*arg3
= (wxControl
*) 0 ;
24377 wxToolBarToolBase
*result
= 0 ;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj1
= 0 ;
24386 PyObject
* obj2
= 0 ;
24387 char * kwnames
[] = {
24388 (char *) "self",(char *) "pos",(char *) "control", NULL
24391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24393 if (!SWIG_IsOK(res1
)) {
24394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24396 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24397 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24398 if (!SWIG_IsOK(ecode2
)) {
24399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24401 arg2
= static_cast< size_t >(val2
);
24402 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24403 if (!SWIG_IsOK(res3
)) {
24404 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24406 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24422 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
= 0;
24424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24426 wxControl
*result
= 0 ;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 char * kwnames
[] = {
24434 (char *) "self",(char *) "id", NULL
24437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24439 if (!SWIG_IsOK(res1
)) {
24440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24442 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24444 if (!SWIG_IsOK(ecode2
)) {
24445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24447 arg2
= static_cast< int >(val2
);
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= wxPyMake_wxObject(result
, 0);
24463 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24464 PyObject
*resultobj
= 0;
24465 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24466 wxToolBarToolBase
*result
= 0 ;
24469 PyObject
*swig_obj
[1] ;
24471 if (!args
) SWIG_fail
;
24472 swig_obj
[0] = args
;
24473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24474 if (!SWIG_IsOK(res1
)) {
24475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24477 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24493 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
= 0;
24495 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24497 wxToolBarToolBase
*result
= 0 ;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 char * kwnames
[] = {
24505 (char *) "self",(char *) "pos", NULL
24508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",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_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24513 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24514 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24515 if (!SWIG_IsOK(ecode2
)) {
24516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24518 arg2
= static_cast< size_t >(val2
);
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24534 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
= 0;
24536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24538 wxToolBarToolBase
*result
= 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_RemoveTool",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_RemoveTool" "', 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_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24559 arg2
= static_cast< int >(val2
);
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24575 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
= 0;
24577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 PyObject
* obj1
= 0 ;
24586 char * kwnames
[] = {
24587 (char *) "self",(char *) "pos", NULL
24590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24595 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24596 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24597 if (!SWIG_IsOK(ecode2
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24600 arg2
= static_cast< size_t >(val2
);
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24616 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
= 0;
24618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24625 PyObject
* obj0
= 0 ;
24626 PyObject
* obj1
= 0 ;
24627 char * kwnames
[] = {
24628 (char *) "self",(char *) "id", NULL
24631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24633 if (!SWIG_IsOK(res1
)) {
24634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24636 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24638 if (!SWIG_IsOK(ecode2
)) {
24639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24641 arg2
= static_cast< int >(val2
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (bool)(arg1
)->DeleteTool(arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24657 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24658 PyObject
*resultobj
= 0;
24659 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24662 PyObject
*swig_obj
[1] ;
24664 if (!args
) SWIG_fail
;
24665 swig_obj
[0] = args
;
24666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24670 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 (arg1
)->ClearTools();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_Py_Void();
24684 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24685 PyObject
*resultobj
= 0;
24686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24690 PyObject
*swig_obj
[1] ;
24692 if (!args
) SWIG_fail
;
24693 swig_obj
[0] = args
;
24694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24695 if (!SWIG_IsOK(res1
)) {
24696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24698 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (bool)(arg1
)->Realize();
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24714 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 PyObject
* obj2
= 0 ;
24728 char * kwnames
[] = {
24729 (char *) "self",(char *) "id",(char *) "enable", NULL
24732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24734 if (!SWIG_IsOK(res1
)) {
24735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24737 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24739 if (!SWIG_IsOK(ecode2
)) {
24740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24742 arg2
= static_cast< int >(val2
);
24743 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24744 if (!SWIG_IsOK(ecode3
)) {
24745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24747 arg3
= static_cast< bool >(val3
);
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 (arg1
)->EnableTool(arg2
,arg3
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= SWIG_Py_Void();
24761 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
= 0;
24763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 PyObject
* obj2
= 0 ;
24775 char * kwnames
[] = {
24776 (char *) "self",(char *) "id",(char *) "toggle", NULL
24779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24781 if (!SWIG_IsOK(res1
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24784 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24786 if (!SWIG_IsOK(ecode2
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24789 arg2
= static_cast< int >(val2
);
24790 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24791 if (!SWIG_IsOK(ecode3
)) {
24792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24794 arg3
= static_cast< bool >(val3
);
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 (arg1
)->ToggleTool(arg2
,arg3
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24801 resultobj
= SWIG_Py_Void();
24808 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
= 0;
24810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 PyObject
* obj1
= 0 ;
24821 PyObject
* obj2
= 0 ;
24822 char * kwnames
[] = {
24823 (char *) "self",(char *) "id",(char *) "toggle", NULL
24826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24831 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24833 if (!SWIG_IsOK(ecode2
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24836 arg2
= static_cast< int >(val2
);
24837 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24838 if (!SWIG_IsOK(ecode3
)) {
24839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24841 arg3
= static_cast< bool >(val3
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 (arg1
)->SetToggle(arg2
,arg3
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= SWIG_Py_Void();
24855 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
= 0;
24857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24859 PyObject
*result
= 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char * kwnames
[] = {
24867 (char *) "self",(char *) "id", NULL
24870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",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_GetToolClientData" "', 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_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24880 arg2
= static_cast< int >(val2
);
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= result
;
24894 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
= 0;
24896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24898 PyObject
*arg3
= (PyObject
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 PyObject
* obj1
= 0 ;
24905 PyObject
* obj2
= 0 ;
24906 char * kwnames
[] = {
24907 (char *) "self",(char *) "id",(char *) "clientData", NULL
24910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24912 if (!SWIG_IsOK(res1
)) {
24913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24915 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24917 if (!SWIG_IsOK(ecode2
)) {
24918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24920 arg2
= static_cast< int >(val2
);
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= SWIG_Py_Void();
24935 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
= 0;
24937 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 char * kwnames
[] = {
24947 (char *) "self",(char *) "id", NULL
24950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24952 if (!SWIG_IsOK(res1
)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24955 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24957 if (!SWIG_IsOK(ecode2
)) {
24958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24960 arg2
= static_cast< int >(val2
);
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= SWIG_From_int(static_cast< int >(result
));
24974 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
= 0;
24976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 PyObject
* obj1
= 0 ;
24985 char * kwnames
[] = {
24986 (char *) "self",(char *) "id", NULL
24989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24991 if (!SWIG_IsOK(res1
)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24994 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24996 if (!SWIG_IsOK(ecode2
)) {
24997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24999 arg2
= static_cast< int >(val2
);
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= (bool)(arg1
)->GetToolState(arg2
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25015 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
= 0;
25017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25024 PyObject
* obj0
= 0 ;
25025 PyObject
* obj1
= 0 ;
25026 char * kwnames
[] = {
25027 (char *) "self",(char *) "id", NULL
25030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25032 if (!SWIG_IsOK(res1
)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25035 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25037 if (!SWIG_IsOK(ecode2
)) {
25038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25040 arg2
= static_cast< int >(val2
);
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25056 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
= 0;
25058 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25060 wxString
*arg3
= 0 ;
25065 bool temp3
= false ;
25066 PyObject
* obj0
= 0 ;
25067 PyObject
* obj1
= 0 ;
25068 PyObject
* obj2
= 0 ;
25069 char * kwnames
[] = {
25070 (char *) "self",(char *) "id",(char *) "helpString", NULL
25073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25078 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25080 if (!SWIG_IsOK(ecode2
)) {
25081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25083 arg2
= static_cast< int >(val2
);
25085 arg3
= wxString_in_helper(obj2
);
25086 if (arg3
== NULL
) SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= SWIG_Py_Void();
25110 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
= 0;
25112 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25119 PyObject
* obj0
= 0 ;
25120 PyObject
* obj1
= 0 ;
25121 char * kwnames
[] = {
25122 (char *) "self",(char *) "id", NULL
25125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25127 if (!SWIG_IsOK(res1
)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25130 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25132 if (!SWIG_IsOK(ecode2
)) {
25133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25135 arg2
= static_cast< int >(val2
);
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (arg1
)->GetToolShortHelp(arg2
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25155 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
= 0;
25157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25159 wxString
*arg3
= 0 ;
25164 bool temp3
= false ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 PyObject
* obj2
= 0 ;
25168 char * kwnames
[] = {
25169 (char *) "self",(char *) "id",(char *) "helpString", NULL
25172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25174 if (!SWIG_IsOK(res1
)) {
25175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25177 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25179 if (!SWIG_IsOK(ecode2
)) {
25180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25182 arg2
= static_cast< int >(val2
);
25184 arg3
= wxString_in_helper(obj2
);
25185 if (arg3
== NULL
) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_Py_Void();
25209 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
= 0;
25211 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25218 PyObject
* obj0
= 0 ;
25219 PyObject
* obj1
= 0 ;
25220 char * kwnames
[] = {
25221 (char *) "self",(char *) "id", NULL
25224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25226 if (!SWIG_IsOK(res1
)) {
25227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25229 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25231 if (!SWIG_IsOK(ecode2
)) {
25232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25234 arg2
= static_cast< int >(val2
);
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (arg1
)->GetToolLongHelp(arg2
);
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25254 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
= 0;
25256 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 PyObject
* obj2
= 0 ;
25268 char * kwnames
[] = {
25269 (char *) "self",(char *) "x",(char *) "y", NULL
25272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25274 if (!SWIG_IsOK(res1
)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25277 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25279 if (!SWIG_IsOK(ecode2
)) {
25280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25282 arg2
= static_cast< int >(val2
);
25283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25284 if (!SWIG_IsOK(ecode3
)) {
25285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25287 arg3
= static_cast< int >(val3
);
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 (arg1
)->SetMargins(arg2
,arg3
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= SWIG_Py_Void();
25301 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
= 0;
25303 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25308 PyObject
* obj0
= 0 ;
25309 PyObject
* obj1
= 0 ;
25310 char * kwnames
[] = {
25311 (char *) "self",(char *) "size", NULL
25314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25319 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25322 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_Py_Void();
25337 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
= 0;
25339 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25345 PyObject
* obj0
= 0 ;
25346 PyObject
* obj1
= 0 ;
25347 char * kwnames
[] = {
25348 (char *) "self",(char *) "packing", NULL
25351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25353 if (!SWIG_IsOK(res1
)) {
25354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25356 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25358 if (!SWIG_IsOK(ecode2
)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25361 arg2
= static_cast< int >(val2
);
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->SetToolPacking(arg2
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= SWIG_Py_Void();
25375 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
= 0;
25377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 char * kwnames
[] = {
25386 (char *) "self",(char *) "separation", NULL
25389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25391 if (!SWIG_IsOK(res1
)) {
25392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25394 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25396 if (!SWIG_IsOK(ecode2
)) {
25397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25399 arg2
= static_cast< int >(val2
);
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 (arg1
)->SetToolSeparation(arg2
);
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_Py_Void();
25413 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 PyObject
*resultobj
= 0;
25415 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25419 PyObject
*swig_obj
[1] ;
25421 if (!args
) SWIG_fail
;
25422 swig_obj
[0] = args
;
25423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25424 if (!SWIG_IsOK(res1
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25427 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (arg1
)->GetToolMargins();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25441 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25442 PyObject
*resultobj
= 0;
25443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25447 PyObject
*swig_obj
[1] ;
25449 if (!args
) SWIG_fail
;
25450 swig_obj
[0] = args
;
25451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25452 if (!SWIG_IsOK(res1
)) {
25453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25455 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= (arg1
)->GetMargins();
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25469 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25470 PyObject
*resultobj
= 0;
25471 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25475 PyObject
*swig_obj
[1] ;
25477 if (!args
) SWIG_fail
;
25478 swig_obj
[0] = args
;
25479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25480 if (!SWIG_IsOK(res1
)) {
25481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25483 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 result
= (int)(arg1
)->GetToolPacking();
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25490 resultobj
= SWIG_From_int(static_cast< int >(result
));
25497 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25498 PyObject
*resultobj
= 0;
25499 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25503 PyObject
*swig_obj
[1] ;
25505 if (!args
) SWIG_fail
;
25506 swig_obj
[0] = args
;
25507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25508 if (!SWIG_IsOK(res1
)) {
25509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25511 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (int)(arg1
)->GetToolSeparation();
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_From_int(static_cast< int >(result
));
25525 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
= 0;
25527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char * kwnames
[] = {
25536 (char *) "self",(char *) "nRows", NULL
25539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25544 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25546 if (!SWIG_IsOK(ecode2
)) {
25547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25549 arg2
= static_cast< int >(val2
);
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 (arg1
)->SetRows(arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_Py_Void();
25563 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
= 0;
25565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 PyObject
* obj2
= 0 ;
25577 char * kwnames
[] = {
25578 (char *) "self",(char *) "rows",(char *) "cols", NULL
25581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25583 if (!SWIG_IsOK(res1
)) {
25584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25586 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25588 if (!SWIG_IsOK(ecode2
)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25591 arg2
= static_cast< int >(val2
);
25592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25593 if (!SWIG_IsOK(ecode3
)) {
25594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25596 arg3
= static_cast< int >(val3
);
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= SWIG_Py_Void();
25610 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25611 PyObject
*resultobj
= 0;
25612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25616 PyObject
*swig_obj
[1] ;
25618 if (!args
) SWIG_fail
;
25619 swig_obj
[0] = args
;
25620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25621 if (!SWIG_IsOK(res1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25624 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 result
= (int)(arg1
)->GetMaxRows();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_From_int(static_cast< int >(result
));
25638 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25639 PyObject
*resultobj
= 0;
25640 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25644 PyObject
*swig_obj
[1] ;
25646 if (!args
) SWIG_fail
;
25647 swig_obj
[0] = args
;
25648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25649 if (!SWIG_IsOK(res1
)) {
25650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25652 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= (int)(arg1
)->GetMaxCols();
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_From_int(static_cast< int >(result
));
25666 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
= 0;
25668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25673 PyObject
* obj0
= 0 ;
25674 PyObject
* obj1
= 0 ;
25675 char * kwnames
[] = {
25676 (char *) "self",(char *) "size", NULL
25679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25681 if (!SWIG_IsOK(res1
)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25684 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25687 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_Py_Void();
25702 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25703 PyObject
*resultobj
= 0;
25704 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25708 PyObject
*swig_obj
[1] ;
25710 if (!args
) SWIG_fail
;
25711 swig_obj
[0] = args
;
25712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25713 if (!SWIG_IsOK(res1
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25716 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (arg1
)->GetToolBitmapSize();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25730 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 PyObject
*resultobj
= 0;
25732 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25736 PyObject
*swig_obj
[1] ;
25738 if (!args
) SWIG_fail
;
25739 swig_obj
[0] = args
;
25740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25741 if (!SWIG_IsOK(res1
)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25744 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 result
= (arg1
)->GetToolSize();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25758 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
= 0;
25760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25763 wxToolBarToolBase
*result
= 0 ;
25770 PyObject
* obj0
= 0 ;
25771 PyObject
* obj1
= 0 ;
25772 PyObject
* obj2
= 0 ;
25773 char * kwnames
[] = {
25774 (char *) "self",(char *) "x",(char *) "y", NULL
25777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25779 if (!SWIG_IsOK(res1
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25782 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25784 if (!SWIG_IsOK(ecode2
)) {
25785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25787 arg2
= static_cast< int >(val2
);
25788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25789 if (!SWIG_IsOK(ecode3
)) {
25790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25792 arg3
= static_cast< int >(val3
);
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25808 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
= 0;
25810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25812 wxToolBarToolBase
*result
= 0 ;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char * kwnames
[] = {
25820 (char *) "self",(char *) "toolid", NULL
25823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25825 if (!SWIG_IsOK(res1
)) {
25826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25828 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25830 if (!SWIG_IsOK(ecode2
)) {
25831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25833 arg2
= static_cast< int >(val2
);
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25849 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25850 PyObject
*resultobj
= 0;
25851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25855 PyObject
*swig_obj
[1] ;
25857 if (!args
) SWIG_fail
;
25858 swig_obj
[0] = args
;
25859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25860 if (!SWIG_IsOK(res1
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25863 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= (bool)(arg1
)->IsVertical();
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25879 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25880 PyObject
*resultobj
= 0;
25881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25885 PyObject
*swig_obj
[1] ;
25887 if (!args
) SWIG_fail
;
25888 swig_obj
[0] = args
;
25889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25890 if (!SWIG_IsOK(res1
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25893 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25907 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25910 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25911 return SWIG_Py_Void();
25914 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
= 0;
25916 wxWindow
*arg1
= (wxWindow
*) 0 ;
25917 int arg2
= (int) -1 ;
25918 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25919 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25920 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25921 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25922 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25923 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25924 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25925 wxToolBar
*result
= 0 ;
25934 bool temp6
= false ;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 PyObject
* obj2
= 0 ;
25938 PyObject
* obj3
= 0 ;
25939 PyObject
* obj4
= 0 ;
25940 PyObject
* obj5
= 0 ;
25941 char * kwnames
[] = {
25942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25950 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25953 if (!SWIG_IsOK(ecode2
)) {
25954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25956 arg2
= static_cast< int >(val2
);
25961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25967 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25971 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25972 if (!SWIG_IsOK(ecode5
)) {
25973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25975 arg5
= static_cast< long >(val5
);
25979 arg6
= wxString_in_helper(obj5
);
25980 if (arg6
== NULL
) SWIG_fail
;
25985 if (!wxPyCheckForApp()) SWIG_fail
;
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
26006 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26007 PyObject
*resultobj
= 0;
26008 wxToolBar
*result
= 0 ;
26010 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
26012 if (!wxPyCheckForApp()) SWIG_fail
;
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 result
= (wxToolBar
*)new wxToolBar();
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
26025 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
= 0;
26027 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26028 wxWindow
*arg2
= (wxWindow
*) 0 ;
26029 int arg3
= (int) -1 ;
26030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26034 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26035 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26036 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26048 bool temp7
= false ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 PyObject
* obj2
= 0 ;
26052 PyObject
* obj3
= 0 ;
26053 PyObject
* obj4
= 0 ;
26054 PyObject
* obj5
= 0 ;
26055 PyObject
* obj6
= 0 ;
26056 char * kwnames
[] = {
26057 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26062 if (!SWIG_IsOK(res1
)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26065 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26067 if (!SWIG_IsOK(res2
)) {
26068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26070 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26073 if (!SWIG_IsOK(ecode3
)) {
26074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26076 arg3
= static_cast< int >(val3
);
26081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26091 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26092 if (!SWIG_IsOK(ecode6
)) {
26093 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26095 arg6
= static_cast< long >(val6
);
26099 arg7
= wxString_in_helper(obj6
);
26100 if (arg7
== NULL
) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26127 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
= 0;
26129 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26130 SwigValueWrapper
<wxVisualAttributes
> result
;
26133 PyObject
* obj0
= 0 ;
26134 char * kwnames
[] = {
26135 (char *) "variant", NULL
26138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26140 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26141 if (!SWIG_IsOK(ecode1
)) {
26142 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26144 arg1
= static_cast< wxWindowVariant
>(val1
);
26147 if (!wxPyCheckForApp()) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26160 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26163 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26164 return SWIG_Py_Void();
26167 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26168 return SWIG_Python_InitShadowInstance(args
);
26171 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26172 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26177 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26178 PyObject
*pyobj
= 0;
26182 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26184 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26191 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
= 0;
26193 wxColour
const &arg1_defvalue
= wxNullColour
;
26194 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26195 wxColour
const &arg2_defvalue
= wxNullColour
;
26196 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26197 wxFont
const &arg3_defvalue
= wxNullFont
;
26198 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26199 wxListItemAttr
*result
= 0 ;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 PyObject
* obj2
= 0 ;
26207 char * kwnames
[] = {
26208 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26215 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26225 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26226 if (!SWIG_IsOK(res3
)) {
26227 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26232 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26247 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26248 PyObject
*resultobj
= 0;
26249 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26252 PyObject
*swig_obj
[1] ;
26254 if (!args
) SWIG_fail
;
26255 swig_obj
[0] = args
;
26256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26257 if (!SWIG_IsOK(res1
)) {
26258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26260 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= SWIG_Py_Void();
26275 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
= 0;
26277 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26278 wxColour
*arg2
= 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char * kwnames
[] = {
26285 (char *) "self",(char *) "colText", NULL
26288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26290 if (!SWIG_IsOK(res1
)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26293 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= SWIG_Py_Void();
26311 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
= 0;
26313 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26314 wxColour
*arg2
= 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 char * kwnames
[] = {
26321 (char *) "self",(char *) "colBack", NULL
26324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26326 if (!SWIG_IsOK(res1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26329 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26332 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_Py_Void();
26347 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
= 0;
26349 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26355 PyObject
* obj0
= 0 ;
26356 PyObject
* obj1
= 0 ;
26357 char * kwnames
[] = {
26358 (char *) "self",(char *) "font", NULL
26361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26363 if (!SWIG_IsOK(res1
)) {
26364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26366 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26368 if (!SWIG_IsOK(res2
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26374 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->SetFont((wxFont
const &)*arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26389 PyObject
*resultobj
= 0;
26390 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26394 PyObject
*swig_obj
[1] ;
26396 if (!args
) SWIG_fail
;
26397 swig_obj
[0] = args
;
26398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26399 if (!SWIG_IsOK(res1
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26402 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= (bool)(arg1
)->HasTextColour();
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26418 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26419 PyObject
*resultobj
= 0;
26420 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26424 PyObject
*swig_obj
[1] ;
26426 if (!args
) SWIG_fail
;
26427 swig_obj
[0] = args
;
26428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26429 if (!SWIG_IsOK(res1
)) {
26430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26432 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= (bool)(arg1
)->HasBackgroundColour();
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26448 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26449 PyObject
*resultobj
= 0;
26450 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26454 PyObject
*swig_obj
[1] ;
26456 if (!args
) SWIG_fail
;
26457 swig_obj
[0] = args
;
26458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26459 if (!SWIG_IsOK(res1
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26462 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= (bool)(arg1
)->HasFont();
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26478 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26479 PyObject
*resultobj
= 0;
26480 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26484 PyObject
*swig_obj
[1] ;
26486 if (!args
) SWIG_fail
;
26487 swig_obj
[0] = args
;
26488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26489 if (!SWIG_IsOK(res1
)) {
26490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26492 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 result
= (arg1
)->GetTextColour();
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26506 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26507 PyObject
*resultobj
= 0;
26508 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26512 PyObject
*swig_obj
[1] ;
26514 if (!args
) SWIG_fail
;
26515 swig_obj
[0] = args
;
26516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26520 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (arg1
)->GetBackgroundColour();
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26534 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26535 PyObject
*resultobj
= 0;
26536 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26540 PyObject
*swig_obj
[1] ;
26542 if (!args
) SWIG_fail
;
26543 swig_obj
[0] = args
;
26544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26545 if (!SWIG_IsOK(res1
)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26548 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= (arg1
)->GetFont();
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26562 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
= 0;
26564 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26565 wxListItemAttr
*arg2
= 0 ;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 char * kwnames
[] = {
26573 (char *) "self",(char *) "source", NULL
26576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26578 if (!SWIG_IsOK(res1
)) {
26579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26581 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26583 if (!SWIG_IsOK(res2
)) {
26584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26589 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= SWIG_Py_Void();
26603 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26604 PyObject
*resultobj
= 0;
26605 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26608 PyObject
*swig_obj
[1] ;
26610 if (!args
) SWIG_fail
;
26611 swig_obj
[0] = args
;
26612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26616 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 wxListItemAttr_Destroy(arg1
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= SWIG_Py_Void();
26630 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26633 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26634 return SWIG_Py_Void();
26637 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26638 return SWIG_Python_InitShadowInstance(args
);
26641 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26642 PyObject
*resultobj
= 0;
26643 wxListItem
*result
= 0 ;
26645 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 result
= (wxListItem
*)new wxListItem();
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26659 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26660 PyObject
*resultobj
= 0;
26661 wxListItem
*arg1
= (wxListItem
*) 0 ;
26664 PyObject
*swig_obj
[1] ;
26666 if (!args
) SWIG_fail
;
26667 swig_obj
[0] = args
;
26668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26669 if (!SWIG_IsOK(res1
)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26672 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_Py_Void();
26687 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26688 PyObject
*resultobj
= 0;
26689 wxListItem
*arg1
= (wxListItem
*) 0 ;
26692 PyObject
*swig_obj
[1] ;
26694 if (!args
) SWIG_fail
;
26695 swig_obj
[0] = args
;
26696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26700 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= SWIG_Py_Void();
26714 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26715 PyObject
*resultobj
= 0;
26716 wxListItem
*arg1
= (wxListItem
*) 0 ;
26719 PyObject
*swig_obj
[1] ;
26721 if (!args
) SWIG_fail
;
26722 swig_obj
[0] = args
;
26723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26724 if (!SWIG_IsOK(res1
)) {
26725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26727 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 (arg1
)->ClearAttributes();
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 resultobj
= SWIG_Py_Void();
26741 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
= 0;
26743 wxListItem
*arg1
= (wxListItem
*) 0 ;
26749 PyObject
* obj0
= 0 ;
26750 PyObject
* obj1
= 0 ;
26751 char * kwnames
[] = {
26752 (char *) "self",(char *) "mask", NULL
26755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26757 if (!SWIG_IsOK(res1
)) {
26758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26760 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26762 if (!SWIG_IsOK(ecode2
)) {
26763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26765 arg2
= static_cast< long >(val2
);
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 (arg1
)->SetMask(arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= SWIG_Py_Void();
26779 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
= 0;
26781 wxListItem
*arg1
= (wxListItem
*) 0 ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 char * kwnames
[] = {
26790 (char *) "self",(char *) "id", NULL
26793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26798 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26799 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26800 if (!SWIG_IsOK(ecode2
)) {
26801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26803 arg2
= static_cast< long >(val2
);
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 (arg1
)->SetId(arg2
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_Py_Void();
26817 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
= 0;
26819 wxListItem
*arg1
= (wxListItem
*) 0 ;
26825 PyObject
* obj0
= 0 ;
26826 PyObject
* obj1
= 0 ;
26827 char * kwnames
[] = {
26828 (char *) "self",(char *) "col", NULL
26831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26833 if (!SWIG_IsOK(res1
)) {
26834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26836 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26838 if (!SWIG_IsOK(ecode2
)) {
26839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26841 arg2
= static_cast< int >(val2
);
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 (arg1
)->SetColumn(arg2
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= SWIG_Py_Void();
26855 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
= 0;
26857 wxListItem
*arg1
= (wxListItem
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 PyObject
* obj1
= 0 ;
26865 char * kwnames
[] = {
26866 (char *) "self",(char *) "state", NULL
26869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26871 if (!SWIG_IsOK(res1
)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26874 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26876 if (!SWIG_IsOK(ecode2
)) {
26877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26879 arg2
= static_cast< long >(val2
);
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 (arg1
)->SetState(arg2
);
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= SWIG_Py_Void();
26893 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
= 0;
26895 wxListItem
*arg1
= (wxListItem
*) 0 ;
26901 PyObject
* obj0
= 0 ;
26902 PyObject
* obj1
= 0 ;
26903 char * kwnames
[] = {
26904 (char *) "self",(char *) "stateMask", NULL
26907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26912 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26913 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26914 if (!SWIG_IsOK(ecode2
)) {
26915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26917 arg2
= static_cast< long >(val2
);
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 (arg1
)->SetStateMask(arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_Py_Void();
26931 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
= 0;
26933 wxListItem
*arg1
= (wxListItem
*) 0 ;
26934 wxString
*arg2
= 0 ;
26937 bool temp2
= false ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char * kwnames
[] = {
26941 (char *) "self",(char *) "text", NULL
26944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26946 if (!SWIG_IsOK(res1
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26949 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26951 arg2
= wxString_in_helper(obj1
);
26952 if (arg2
== NULL
) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 (arg1
)->SetText((wxString
const &)*arg2
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 resultobj
= SWIG_Py_Void();
26976 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= 0;
26978 wxListItem
*arg1
= (wxListItem
*) 0 ;
26984 PyObject
* obj0
= 0 ;
26985 PyObject
* obj1
= 0 ;
26986 char * kwnames
[] = {
26987 (char *) "self",(char *) "image", NULL
26990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26992 if (!SWIG_IsOK(res1
)) {
26993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26995 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26997 if (!SWIG_IsOK(ecode2
)) {
26998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27000 arg2
= static_cast< int >(val2
);
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 (arg1
)->SetImage(arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= SWIG_Py_Void();
27014 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
= 0;
27016 wxListItem
*arg1
= (wxListItem
*) 0 ;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 char * kwnames
[] = {
27025 (char *) "self",(char *) "data", NULL
27028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27033 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27034 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27035 if (!SWIG_IsOK(ecode2
)) {
27036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27038 arg2
= static_cast< long >(val2
);
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 (arg1
)->SetData(arg2
);
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_Py_Void();
27052 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
= 0;
27054 wxListItem
*arg1
= (wxListItem
*) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 PyObject
* obj1
= 0 ;
27062 char * kwnames
[] = {
27063 (char *) "self",(char *) "width", NULL
27066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27068 if (!SWIG_IsOK(res1
)) {
27069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27071 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27073 if (!SWIG_IsOK(ecode2
)) {
27074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27076 arg2
= static_cast< int >(val2
);
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 (arg1
)->SetWidth(arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_Py_Void();
27090 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
= 0;
27092 wxListItem
*arg1
= (wxListItem
*) 0 ;
27093 wxListColumnFormat arg2
;
27098 PyObject
* obj0
= 0 ;
27099 PyObject
* obj1
= 0 ;
27100 char * kwnames
[] = {
27101 (char *) "self",(char *) "align", NULL
27104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27106 if (!SWIG_IsOK(res1
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27109 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27111 if (!SWIG_IsOK(ecode2
)) {
27112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27114 arg2
= static_cast< wxListColumnFormat
>(val2
);
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->SetAlign(arg2
);
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= SWIG_Py_Void();
27128 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
= 0;
27130 wxListItem
*arg1
= (wxListItem
*) 0 ;
27131 wxColour
*arg2
= 0 ;
27135 PyObject
* obj0
= 0 ;
27136 PyObject
* obj1
= 0 ;
27137 char * kwnames
[] = {
27138 (char *) "self",(char *) "colText", NULL
27141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27143 if (!SWIG_IsOK(res1
)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27146 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27149 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_Py_Void();
27164 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
= 0;
27166 wxListItem
*arg1
= (wxListItem
*) 0 ;
27167 wxColour
*arg2
= 0 ;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 char * kwnames
[] = {
27174 (char *) "self",(char *) "colBack", NULL
27177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27182 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= SWIG_Py_Void();
27200 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
= 0;
27202 wxListItem
*arg1
= (wxListItem
*) 0 ;
27208 PyObject
* obj0
= 0 ;
27209 PyObject
* obj1
= 0 ;
27210 char * kwnames
[] = {
27211 (char *) "self",(char *) "font", NULL
27214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27216 if (!SWIG_IsOK(res1
)) {
27217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27219 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27221 if (!SWIG_IsOK(res2
)) {
27222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27227 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 (arg1
)->SetFont((wxFont
const &)*arg2
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_Py_Void();
27241 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27242 PyObject
*resultobj
= 0;
27243 wxListItem
*arg1
= (wxListItem
*) 0 ;
27247 PyObject
*swig_obj
[1] ;
27249 if (!args
) SWIG_fail
;
27250 swig_obj
[0] = args
;
27251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27252 if (!SWIG_IsOK(res1
)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27255 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= (long)(arg1
)->GetMask();
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= SWIG_From_long(static_cast< long >(result
));
27269 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27270 PyObject
*resultobj
= 0;
27271 wxListItem
*arg1
= (wxListItem
*) 0 ;
27275 PyObject
*swig_obj
[1] ;
27277 if (!args
) SWIG_fail
;
27278 swig_obj
[0] = args
;
27279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27280 if (!SWIG_IsOK(res1
)) {
27281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27283 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (long)(arg1
)->GetId();
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= SWIG_From_long(static_cast< long >(result
));
27297 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27298 PyObject
*resultobj
= 0;
27299 wxListItem
*arg1
= (wxListItem
*) 0 ;
27303 PyObject
*swig_obj
[1] ;
27305 if (!args
) SWIG_fail
;
27306 swig_obj
[0] = args
;
27307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27308 if (!SWIG_IsOK(res1
)) {
27309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27311 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 result
= (int)(arg1
)->GetColumn();
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= SWIG_From_int(static_cast< int >(result
));
27325 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27326 PyObject
*resultobj
= 0;
27327 wxListItem
*arg1
= (wxListItem
*) 0 ;
27331 PyObject
*swig_obj
[1] ;
27333 if (!args
) SWIG_fail
;
27334 swig_obj
[0] = args
;
27335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27336 if (!SWIG_IsOK(res1
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27339 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 result
= (long)(arg1
)->GetState();
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_From_long(static_cast< long >(result
));
27353 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27354 PyObject
*resultobj
= 0;
27355 wxListItem
*arg1
= (wxListItem
*) 0 ;
27356 wxString
*result
= 0 ;
27359 PyObject
*swig_obj
[1] ;
27361 if (!args
) SWIG_fail
;
27362 swig_obj
[0] = args
;
27363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27364 if (!SWIG_IsOK(res1
)) {
27365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27367 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 wxString
const &_result_ref
= (arg1
)->GetText();
27372 result
= (wxString
*) &_result_ref
;
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27381 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27390 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27391 PyObject
*resultobj
= 0;
27392 wxListItem
*arg1
= (wxListItem
*) 0 ;
27396 PyObject
*swig_obj
[1] ;
27398 if (!args
) SWIG_fail
;
27399 swig_obj
[0] = args
;
27400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27401 if (!SWIG_IsOK(res1
)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27404 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 result
= (int)(arg1
)->GetImage();
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27411 resultobj
= SWIG_From_int(static_cast< int >(result
));
27418 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27419 PyObject
*resultobj
= 0;
27420 wxListItem
*arg1
= (wxListItem
*) 0 ;
27424 PyObject
*swig_obj
[1] ;
27426 if (!args
) SWIG_fail
;
27427 swig_obj
[0] = args
;
27428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27429 if (!SWIG_IsOK(res1
)) {
27430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27432 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= (long)(arg1
)->GetData();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= SWIG_From_long(static_cast< long >(result
));
27446 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27447 PyObject
*resultobj
= 0;
27448 wxListItem
*arg1
= (wxListItem
*) 0 ;
27452 PyObject
*swig_obj
[1] ;
27454 if (!args
) SWIG_fail
;
27455 swig_obj
[0] = args
;
27456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27457 if (!SWIG_IsOK(res1
)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27460 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 result
= (int)(arg1
)->GetWidth();
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 resultobj
= SWIG_From_int(static_cast< int >(result
));
27474 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27475 PyObject
*resultobj
= 0;
27476 wxListItem
*arg1
= (wxListItem
*) 0 ;
27477 wxListColumnFormat result
;
27480 PyObject
*swig_obj
[1] ;
27482 if (!args
) SWIG_fail
;
27483 swig_obj
[0] = args
;
27484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27485 if (!SWIG_IsOK(res1
)) {
27486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27488 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= SWIG_From_int(static_cast< int >(result
));
27502 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27503 PyObject
*resultobj
= 0;
27504 wxListItem
*arg1
= (wxListItem
*) 0 ;
27505 wxListItemAttr
*result
= 0 ;
27508 PyObject
*swig_obj
[1] ;
27510 if (!args
) SWIG_fail
;
27511 swig_obj
[0] = args
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27516 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27530 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27531 PyObject
*resultobj
= 0;
27532 wxListItem
*arg1
= (wxListItem
*) 0 ;
27536 PyObject
*swig_obj
[1] ;
27538 if (!args
) SWIG_fail
;
27539 swig_obj
[0] = args
;
27540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27544 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= (bool)(arg1
)->HasAttributes();
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27560 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27561 PyObject
*resultobj
= 0;
27562 wxListItem
*arg1
= (wxListItem
*) 0 ;
27566 PyObject
*swig_obj
[1] ;
27568 if (!args
) SWIG_fail
;
27569 swig_obj
[0] = args
;
27570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27571 if (!SWIG_IsOK(res1
)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27574 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27578 wxPyEndAllowThreads(__tstate
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27581 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27588 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27589 PyObject
*resultobj
= 0;
27590 wxListItem
*arg1
= (wxListItem
*) 0 ;
27594 PyObject
*swig_obj
[1] ;
27596 if (!args
) SWIG_fail
;
27597 swig_obj
[0] = args
;
27598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27602 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27616 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27617 PyObject
*resultobj
= 0;
27618 wxListItem
*arg1
= (wxListItem
*) 0 ;
27622 PyObject
*swig_obj
[1] ;
27624 if (!args
) SWIG_fail
;
27625 swig_obj
[0] = args
;
27626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= ((wxListItem
const *)arg1
)->GetFont();
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27644 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27645 PyObject
*resultobj
= 0;
27646 wxListItem
*arg1
= (wxListItem
*) 0 ;
27652 PyObject
*swig_obj
[2] ;
27654 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27659 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27660 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27661 if (!SWIG_IsOK(ecode2
)) {
27662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27664 arg2
= static_cast< long >(val2
);
27665 if (arg1
) (arg1
)->m_mask
= arg2
;
27667 resultobj
= SWIG_Py_Void();
27674 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27675 PyObject
*resultobj
= 0;
27676 wxListItem
*arg1
= (wxListItem
*) 0 ;
27680 PyObject
*swig_obj
[1] ;
27682 if (!args
) SWIG_fail
;
27683 swig_obj
[0] = args
;
27684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27685 if (!SWIG_IsOK(res1
)) {
27686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27688 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27689 result
= (long) ((arg1
)->m_mask
);
27690 resultobj
= SWIG_From_long(static_cast< long >(result
));
27697 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27698 PyObject
*resultobj
= 0;
27699 wxListItem
*arg1
= (wxListItem
*) 0 ;
27705 PyObject
*swig_obj
[2] ;
27707 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27709 if (!SWIG_IsOK(res1
)) {
27710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27712 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27713 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27714 if (!SWIG_IsOK(ecode2
)) {
27715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27717 arg2
= static_cast< long >(val2
);
27718 if (arg1
) (arg1
)->m_itemId
= arg2
;
27720 resultobj
= SWIG_Py_Void();
27727 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27728 PyObject
*resultobj
= 0;
27729 wxListItem
*arg1
= (wxListItem
*) 0 ;
27733 PyObject
*swig_obj
[1] ;
27735 if (!args
) SWIG_fail
;
27736 swig_obj
[0] = args
;
27737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27741 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27742 result
= (long) ((arg1
)->m_itemId
);
27743 resultobj
= SWIG_From_long(static_cast< long >(result
));
27750 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27751 PyObject
*resultobj
= 0;
27752 wxListItem
*arg1
= (wxListItem
*) 0 ;
27758 PyObject
*swig_obj
[2] ;
27760 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27762 if (!SWIG_IsOK(res1
)) {
27763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27765 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27766 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27767 if (!SWIG_IsOK(ecode2
)) {
27768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27770 arg2
= static_cast< int >(val2
);
27771 if (arg1
) (arg1
)->m_col
= arg2
;
27773 resultobj
= SWIG_Py_Void();
27780 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27781 PyObject
*resultobj
= 0;
27782 wxListItem
*arg1
= (wxListItem
*) 0 ;
27786 PyObject
*swig_obj
[1] ;
27788 if (!args
) SWIG_fail
;
27789 swig_obj
[0] = args
;
27790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27794 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27795 result
= (int) ((arg1
)->m_col
);
27796 resultobj
= SWIG_From_int(static_cast< int >(result
));
27803 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 PyObject
*resultobj
= 0;
27805 wxListItem
*arg1
= (wxListItem
*) 0 ;
27811 PyObject
*swig_obj
[2] ;
27813 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27815 if (!SWIG_IsOK(res1
)) {
27816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27818 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27819 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27820 if (!SWIG_IsOK(ecode2
)) {
27821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27823 arg2
= static_cast< long >(val2
);
27824 if (arg1
) (arg1
)->m_state
= arg2
;
27826 resultobj
= SWIG_Py_Void();
27833 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27834 PyObject
*resultobj
= 0;
27835 wxListItem
*arg1
= (wxListItem
*) 0 ;
27839 PyObject
*swig_obj
[1] ;
27841 if (!args
) SWIG_fail
;
27842 swig_obj
[0] = args
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27847 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27848 result
= (long) ((arg1
)->m_state
);
27849 resultobj
= SWIG_From_long(static_cast< long >(result
));
27856 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27857 PyObject
*resultobj
= 0;
27858 wxListItem
*arg1
= (wxListItem
*) 0 ;
27864 PyObject
*swig_obj
[2] ;
27866 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27868 if (!SWIG_IsOK(res1
)) {
27869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27871 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27872 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27873 if (!SWIG_IsOK(ecode2
)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27876 arg2
= static_cast< long >(val2
);
27877 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27879 resultobj
= SWIG_Py_Void();
27886 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27887 PyObject
*resultobj
= 0;
27888 wxListItem
*arg1
= (wxListItem
*) 0 ;
27892 PyObject
*swig_obj
[1] ;
27894 if (!args
) SWIG_fail
;
27895 swig_obj
[0] = args
;
27896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27897 if (!SWIG_IsOK(res1
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27900 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27901 result
= (long) ((arg1
)->m_stateMask
);
27902 resultobj
= SWIG_From_long(static_cast< long >(result
));
27909 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27910 PyObject
*resultobj
= 0;
27911 wxListItem
*arg1
= (wxListItem
*) 0 ;
27912 wxString
*arg2
= (wxString
*) 0 ;
27915 bool temp2
= false ;
27916 PyObject
*swig_obj
[2] ;
27918 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27920 if (!SWIG_IsOK(res1
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27923 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27925 arg2
= wxString_in_helper(swig_obj
[1]);
27926 if (arg2
== NULL
) SWIG_fail
;
27929 if (arg1
) (arg1
)->m_text
= *arg2
;
27931 resultobj
= SWIG_Py_Void();
27946 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27947 PyObject
*resultobj
= 0;
27948 wxListItem
*arg1
= (wxListItem
*) 0 ;
27949 wxString
*result
= 0 ;
27952 PyObject
*swig_obj
[1] ;
27954 if (!args
) SWIG_fail
;
27955 swig_obj
[0] = args
;
27956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27957 if (!SWIG_IsOK(res1
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27960 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27961 result
= (wxString
*)& ((arg1
)->m_text
);
27964 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27966 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27975 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxListItem
*arg1
= (wxListItem
*) 0 ;
27983 PyObject
*swig_obj
[2] ;
27985 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27987 if (!SWIG_IsOK(res1
)) {
27988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27990 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27991 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27992 if (!SWIG_IsOK(ecode2
)) {
27993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27995 arg2
= static_cast< int >(val2
);
27996 if (arg1
) (arg1
)->m_image
= arg2
;
27998 resultobj
= SWIG_Py_Void();
28005 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28006 PyObject
*resultobj
= 0;
28007 wxListItem
*arg1
= (wxListItem
*) 0 ;
28011 PyObject
*swig_obj
[1] ;
28013 if (!args
) SWIG_fail
;
28014 swig_obj
[0] = args
;
28015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28016 if (!SWIG_IsOK(res1
)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28019 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28020 result
= (int) ((arg1
)->m_image
);
28021 resultobj
= SWIG_From_int(static_cast< int >(result
));
28028 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28029 PyObject
*resultobj
= 0;
28030 wxListItem
*arg1
= (wxListItem
*) 0 ;
28036 PyObject
*swig_obj
[2] ;
28038 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28040 if (!SWIG_IsOK(res1
)) {
28041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28043 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28044 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28045 if (!SWIG_IsOK(ecode2
)) {
28046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28048 arg2
= static_cast< long >(val2
);
28049 if (arg1
) (arg1
)->m_data
= arg2
;
28051 resultobj
= SWIG_Py_Void();
28058 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28059 PyObject
*resultobj
= 0;
28060 wxListItem
*arg1
= (wxListItem
*) 0 ;
28064 PyObject
*swig_obj
[1] ;
28066 if (!args
) SWIG_fail
;
28067 swig_obj
[0] = args
;
28068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28069 if (!SWIG_IsOK(res1
)) {
28070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28072 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28073 result
= (long) ((arg1
)->m_data
);
28074 resultobj
= SWIG_From_long(static_cast< long >(result
));
28081 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28082 PyObject
*resultobj
= 0;
28083 wxListItem
*arg1
= (wxListItem
*) 0 ;
28089 PyObject
*swig_obj
[2] ;
28091 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28093 if (!SWIG_IsOK(res1
)) {
28094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28096 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28097 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28098 if (!SWIG_IsOK(ecode2
)) {
28099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28101 arg2
= static_cast< int >(val2
);
28102 if (arg1
) (arg1
)->m_format
= arg2
;
28104 resultobj
= SWIG_Py_Void();
28111 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28112 PyObject
*resultobj
= 0;
28113 wxListItem
*arg1
= (wxListItem
*) 0 ;
28117 PyObject
*swig_obj
[1] ;
28119 if (!args
) SWIG_fail
;
28120 swig_obj
[0] = args
;
28121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28122 if (!SWIG_IsOK(res1
)) {
28123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28125 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28126 result
= (int) ((arg1
)->m_format
);
28127 resultobj
= SWIG_From_int(static_cast< int >(result
));
28134 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28135 PyObject
*resultobj
= 0;
28136 wxListItem
*arg1
= (wxListItem
*) 0 ;
28142 PyObject
*swig_obj
[2] ;
28144 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28146 if (!SWIG_IsOK(res1
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28149 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28150 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28151 if (!SWIG_IsOK(ecode2
)) {
28152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28154 arg2
= static_cast< int >(val2
);
28155 if (arg1
) (arg1
)->m_width
= arg2
;
28157 resultobj
= SWIG_Py_Void();
28164 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28165 PyObject
*resultobj
= 0;
28166 wxListItem
*arg1
= (wxListItem
*) 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_wxListItem
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28178 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28179 result
= (int) ((arg1
)->m_width
);
28180 resultobj
= SWIG_From_int(static_cast< int >(result
));
28187 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28190 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28191 return SWIG_Py_Void();
28194 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28195 return SWIG_Python_InitShadowInstance(args
);
28198 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
= 0;
28200 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28201 int arg2
= (int) 0 ;
28202 wxListEvent
*result
= 0 ;
28207 PyObject
* obj0
= 0 ;
28208 PyObject
* obj1
= 0 ;
28209 char * kwnames
[] = {
28210 (char *) "commandType",(char *) "id", NULL
28213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28216 if (!SWIG_IsOK(ecode1
)) {
28217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28219 arg1
= static_cast< wxEventType
>(val1
);
28222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28223 if (!SWIG_IsOK(ecode2
)) {
28224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28226 arg2
= static_cast< int >(val2
);
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28241 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28242 PyObject
*resultobj
= 0;
28243 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28249 PyObject
*swig_obj
[2] ;
28251 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28253 if (!SWIG_IsOK(res1
)) {
28254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28256 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28257 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28258 if (!SWIG_IsOK(ecode2
)) {
28259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28261 arg2
= static_cast< int >(val2
);
28262 if (arg1
) (arg1
)->m_code
= arg2
;
28264 resultobj
= SWIG_Py_Void();
28271 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28272 PyObject
*resultobj
= 0;
28273 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28277 PyObject
*swig_obj
[1] ;
28279 if (!args
) SWIG_fail
;
28280 swig_obj
[0] = args
;
28281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28285 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28286 result
= (int) ((arg1
)->m_code
);
28287 resultobj
= SWIG_From_int(static_cast< int >(result
));
28294 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28295 PyObject
*resultobj
= 0;
28296 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28302 PyObject
*swig_obj
[2] ;
28304 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28306 if (!SWIG_IsOK(res1
)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28309 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28310 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28311 if (!SWIG_IsOK(ecode2
)) {
28312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28314 arg2
= static_cast< long >(val2
);
28315 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28317 resultobj
= SWIG_Py_Void();
28324 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28325 PyObject
*resultobj
= 0;
28326 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28330 PyObject
*swig_obj
[1] ;
28332 if (!args
) SWIG_fail
;
28333 swig_obj
[0] = args
;
28334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28335 if (!SWIG_IsOK(res1
)) {
28336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28338 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28339 result
= (long) ((arg1
)->m_oldItemIndex
);
28340 resultobj
= SWIG_From_long(static_cast< long >(result
));
28347 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28348 PyObject
*resultobj
= 0;
28349 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28355 PyObject
*swig_obj
[2] ;
28357 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28359 if (!SWIG_IsOK(res1
)) {
28360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28362 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28363 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28364 if (!SWIG_IsOK(ecode2
)) {
28365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28367 arg2
= static_cast< long >(val2
);
28368 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28370 resultobj
= SWIG_Py_Void();
28377 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28378 PyObject
*resultobj
= 0;
28379 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28383 PyObject
*swig_obj
[1] ;
28385 if (!args
) SWIG_fail
;
28386 swig_obj
[0] = args
;
28387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28388 if (!SWIG_IsOK(res1
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28391 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28392 result
= (long) ((arg1
)->m_itemIndex
);
28393 resultobj
= SWIG_From_long(static_cast< long >(result
));
28400 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28401 PyObject
*resultobj
= 0;
28402 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28408 PyObject
*swig_obj
[2] ;
28410 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28412 if (!SWIG_IsOK(res1
)) {
28413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28415 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28416 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28417 if (!SWIG_IsOK(ecode2
)) {
28418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28420 arg2
= static_cast< int >(val2
);
28421 if (arg1
) (arg1
)->m_col
= arg2
;
28423 resultobj
= SWIG_Py_Void();
28430 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28431 PyObject
*resultobj
= 0;
28432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28436 PyObject
*swig_obj
[1] ;
28438 if (!args
) SWIG_fail
;
28439 swig_obj
[0] = args
;
28440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28444 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28445 result
= (int) ((arg1
)->m_col
);
28446 resultobj
= SWIG_From_int(static_cast< int >(result
));
28453 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28454 PyObject
*resultobj
= 0;
28455 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28456 wxPoint
*arg2
= (wxPoint
*) 0 ;
28461 PyObject
*swig_obj
[2] ;
28463 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28465 if (!SWIG_IsOK(res1
)) {
28466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28468 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28469 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28470 if (!SWIG_IsOK(res2
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28473 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28474 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28476 resultobj
= SWIG_Py_Void();
28483 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28484 PyObject
*resultobj
= 0;
28485 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28486 wxPoint
*result
= 0 ;
28489 PyObject
*swig_obj
[1] ;
28491 if (!args
) SWIG_fail
;
28492 swig_obj
[0] = args
;
28493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28494 if (!SWIG_IsOK(res1
)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28497 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28498 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28506 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28507 PyObject
*resultobj
= 0;
28508 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28509 wxListItem
*result
= 0 ;
28512 PyObject
*swig_obj
[1] ;
28514 if (!args
) SWIG_fail
;
28515 swig_obj
[0] = args
;
28516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28517 if (!SWIG_IsOK(res1
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28520 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28521 result
= (wxListItem
*)& ((arg1
)->m_item
);
28523 resultobj
= wxPyMake_wxObject(result
, 0);
28531 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28532 PyObject
*resultobj
= 0;
28533 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28537 PyObject
*swig_obj
[1] ;
28539 if (!args
) SWIG_fail
;
28540 swig_obj
[0] = args
;
28541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28545 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (int)(arg1
)->GetKeyCode();
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= SWIG_From_int(static_cast< int >(result
));
28559 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28560 PyObject
*resultobj
= 0;
28561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28565 PyObject
*swig_obj
[1] ;
28567 if (!args
) SWIG_fail
;
28568 swig_obj
[0] = args
;
28569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28570 if (!SWIG_IsOK(res1
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28573 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 result
= (long)(arg1
)->GetIndex();
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 resultobj
= SWIG_From_long(static_cast< long >(result
));
28587 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28588 PyObject
*resultobj
= 0;
28589 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28593 PyObject
*swig_obj
[1] ;
28595 if (!args
) SWIG_fail
;
28596 swig_obj
[0] = args
;
28597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28601 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (int)(arg1
)->GetColumn();
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= SWIG_From_int(static_cast< int >(result
));
28615 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28616 PyObject
*resultobj
= 0;
28617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28621 PyObject
*swig_obj
[1] ;
28623 if (!args
) SWIG_fail
;
28624 swig_obj
[0] = args
;
28625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28629 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= (arg1
)->GetPoint();
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28643 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28644 PyObject
*resultobj
= 0;
28645 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28646 wxString
*result
= 0 ;
28649 PyObject
*swig_obj
[1] ;
28651 if (!args
) SWIG_fail
;
28652 swig_obj
[0] = args
;
28653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28654 if (!SWIG_IsOK(res1
)) {
28655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28657 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 wxString
const &_result_ref
= (arg1
)->GetLabel();
28662 result
= (wxString
*) &_result_ref
;
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28669 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28671 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28680 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28681 PyObject
*resultobj
= 0;
28682 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28683 wxString
*result
= 0 ;
28686 PyObject
*swig_obj
[1] ;
28688 if (!args
) SWIG_fail
;
28689 swig_obj
[0] = args
;
28690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28691 if (!SWIG_IsOK(res1
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28694 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 wxString
const &_result_ref
= (arg1
)->GetText();
28699 result
= (wxString
*) &_result_ref
;
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28708 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28717 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28718 PyObject
*resultobj
= 0;
28719 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28723 PyObject
*swig_obj
[1] ;
28725 if (!args
) SWIG_fail
;
28726 swig_obj
[0] = args
;
28727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28728 if (!SWIG_IsOK(res1
)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28731 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (int)(arg1
)->GetImage();
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_From_int(static_cast< int >(result
));
28745 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28746 PyObject
*resultobj
= 0;
28747 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28751 PyObject
*swig_obj
[1] ;
28753 if (!args
) SWIG_fail
;
28754 swig_obj
[0] = args
;
28755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28759 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 result
= (long)(arg1
)->GetData();
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= SWIG_From_long(static_cast< long >(result
));
28773 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28774 PyObject
*resultobj
= 0;
28775 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28779 PyObject
*swig_obj
[1] ;
28781 if (!args
) SWIG_fail
;
28782 swig_obj
[0] = args
;
28783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28787 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 result
= (long)(arg1
)->GetMask();
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_From_long(static_cast< long >(result
));
28801 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28802 PyObject
*resultobj
= 0;
28803 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28804 wxListItem
*result
= 0 ;
28807 PyObject
*swig_obj
[1] ;
28809 if (!args
) SWIG_fail
;
28810 swig_obj
[0] = args
;
28811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28812 if (!SWIG_IsOK(res1
)) {
28813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28815 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28820 result
= (wxListItem
*) &_result_ref
;
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28832 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28833 PyObject
*resultobj
= 0;
28834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28838 PyObject
*swig_obj
[1] ;
28840 if (!args
) SWIG_fail
;
28841 swig_obj
[0] = args
;
28842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28843 if (!SWIG_IsOK(res1
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28846 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (long)(arg1
)->GetCacheFrom();
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_From_long(static_cast< long >(result
));
28860 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28861 PyObject
*resultobj
= 0;
28862 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28866 PyObject
*swig_obj
[1] ;
28868 if (!args
) SWIG_fail
;
28869 swig_obj
[0] = args
;
28870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28871 if (!SWIG_IsOK(res1
)) {
28872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28874 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (long)(arg1
)->GetCacheTo();
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_From_long(static_cast< long >(result
));
28888 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28889 PyObject
*resultobj
= 0;
28890 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28894 PyObject
*swig_obj
[1] ;
28896 if (!args
) SWIG_fail
;
28897 swig_obj
[0] = args
;
28898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28899 if (!SWIG_IsOK(res1
)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28902 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28918 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
= 0;
28920 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28926 PyObject
* obj0
= 0 ;
28927 PyObject
* obj1
= 0 ;
28928 char * kwnames
[] = {
28929 (char *) "self",(char *) "editCancelled", NULL
28932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28934 if (!SWIG_IsOK(res1
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28937 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28939 if (!SWIG_IsOK(ecode2
)) {
28940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28942 arg2
= static_cast< bool >(val2
);
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 (arg1
)->SetEditCanceled(arg2
);
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 resultobj
= SWIG_Py_Void();
28956 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28959 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28960 return SWIG_Py_Void();
28963 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28964 return SWIG_Python_InitShadowInstance(args
);
28967 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
= 0;
28969 wxWindow
*arg1
= (wxWindow
*) 0 ;
28970 int arg2
= (int) -1 ;
28971 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28972 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28973 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28974 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28975 long arg5
= (long) wxLC_ICON
;
28976 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28977 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28978 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28979 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28980 wxPyListCtrl
*result
= 0 ;
28991 bool temp7
= false ;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 PyObject
* obj2
= 0 ;
28995 PyObject
* obj3
= 0 ;
28996 PyObject
* obj4
= 0 ;
28997 PyObject
* obj5
= 0 ;
28998 PyObject
* obj6
= 0 ;
28999 char * kwnames
[] = {
29000 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29005 if (!SWIG_IsOK(res1
)) {
29006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29008 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29011 if (!SWIG_IsOK(ecode2
)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29014 arg2
= static_cast< int >(val2
);
29019 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29025 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29029 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29030 if (!SWIG_IsOK(ecode5
)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29033 arg5
= static_cast< long >(val5
);
29036 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29037 if (!SWIG_IsOK(res6
)) {
29038 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29043 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29047 arg7
= wxString_in_helper(obj6
);
29048 if (arg7
== NULL
) SWIG_fail
;
29053 if (!wxPyCheckForApp()) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29074 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29075 PyObject
*resultobj
= 0;
29076 wxPyListCtrl
*result
= 0 ;
29078 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29080 if (!wxPyCheckForApp()) SWIG_fail
;
29081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29082 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29093 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
= 0;
29095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29096 wxWindow
*arg2
= (wxWindow
*) 0 ;
29097 int arg3
= (int) -1 ;
29098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29102 long arg6
= (long) wxLC_ICON
;
29103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29105 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29120 bool temp8
= false ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 PyObject
* obj2
= 0 ;
29124 PyObject
* obj3
= 0 ;
29125 PyObject
* obj4
= 0 ;
29126 PyObject
* obj5
= 0 ;
29127 PyObject
* obj6
= 0 ;
29128 PyObject
* obj7
= 0 ;
29129 char * kwnames
[] = {
29130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29135 if (!SWIG_IsOK(res1
)) {
29136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29138 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29140 if (!SWIG_IsOK(res2
)) {
29141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29143 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29146 if (!SWIG_IsOK(ecode3
)) {
29147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29149 arg3
= static_cast< int >(val3
);
29154 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29160 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29164 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29165 if (!SWIG_IsOK(ecode6
)) {
29166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29168 arg6
= static_cast< long >(val6
);
29171 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29172 if (!SWIG_IsOK(res7
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29178 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29182 arg8
= wxString_in_helper(obj7
);
29183 if (arg8
== NULL
) SWIG_fail
;
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29210 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
= 0;
29212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29213 PyObject
*arg2
= (PyObject
*) 0 ;
29214 PyObject
*arg3
= (PyObject
*) 0 ;
29217 PyObject
* obj0
= 0 ;
29218 PyObject
* obj1
= 0 ;
29219 PyObject
* obj2
= 0 ;
29220 char * kwnames
[] = {
29221 (char *) "self",(char *) "self",(char *) "_class", NULL
29224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29226 if (!SWIG_IsOK(res1
)) {
29227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29229 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= SWIG_Py_Void();
29245 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
= 0;
29247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29249 wxListItem
*result
= 0 ;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 char * kwnames
[] = {
29257 (char *) "self",(char *) "col", NULL
29260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29262 if (!SWIG_IsOK(res1
)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29265 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29267 if (!SWIG_IsOK(ecode2
)) {
29268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29270 arg2
= static_cast< int >(val2
);
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= wxPyMake_wxObject(result
, 0);
29286 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
= 0;
29288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29290 wxListItem
*arg3
= 0 ;
29298 PyObject
* obj0
= 0 ;
29299 PyObject
* obj1
= 0 ;
29300 PyObject
* obj2
= 0 ;
29301 char * kwnames
[] = {
29302 (char *) "self",(char *) "col",(char *) "item", NULL
29305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29307 if (!SWIG_IsOK(res1
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29310 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29312 if (!SWIG_IsOK(ecode2
)) {
29313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29315 arg2
= static_cast< int >(val2
);
29316 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29317 if (!SWIG_IsOK(res3
)) {
29318 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29323 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29327 wxPyEndAllowThreads(__tstate
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29339 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29340 PyObject
*resultobj
= 0;
29341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 char * kwnames
[] = {
29351 (char *) "self",(char *) "col", NULL
29354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29359 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29361 if (!SWIG_IsOK(ecode2
)) {
29362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29364 arg2
= static_cast< int >(val2
);
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= SWIG_From_int(static_cast< int >(result
));
29378 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
= 0;
29380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 PyObject
* obj1
= 0 ;
29392 PyObject
* obj2
= 0 ;
29393 char * kwnames
[] = {
29394 (char *) "self",(char *) "col",(char *) "width", NULL
29397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29402 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29404 if (!SWIG_IsOK(ecode2
)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29407 arg2
= static_cast< int >(val2
);
29408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29409 if (!SWIG_IsOK(ecode3
)) {
29410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29412 arg3
= static_cast< int >(val3
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29428 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29429 PyObject
*resultobj
= 0;
29430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29434 PyObject
*swig_obj
[1] ;
29436 if (!args
) SWIG_fail
;
29437 swig_obj
[0] = args
;
29438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29439 if (!SWIG_IsOK(res1
)) {
29440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29442 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= SWIG_From_int(static_cast< int >(result
));
29456 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29457 PyObject
*resultobj
= 0;
29458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29462 PyObject
*swig_obj
[1] ;
29464 if (!args
) SWIG_fail
;
29465 swig_obj
[0] = args
;
29466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29467 if (!SWIG_IsOK(res1
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29470 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29484 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29485 PyObject
*resultobj
= 0;
29486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29487 wxTextCtrl
*result
= 0 ;
29490 PyObject
*swig_obj
[1] ;
29492 if (!args
) SWIG_fail
;
29493 swig_obj
[0] = args
;
29494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29495 if (!SWIG_IsOK(res1
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29498 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29506 resultobj
= wxPyMake_wxObject(result
, 0);
29514 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29515 PyObject
*resultobj
= 0;
29516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29518 int arg3
= (int) 0 ;
29519 wxListItem
*result
= 0 ;
29526 PyObject
* obj0
= 0 ;
29527 PyObject
* obj1
= 0 ;
29528 PyObject
* obj2
= 0 ;
29529 char * kwnames
[] = {
29530 (char *) "self",(char *) "itemId",(char *) "col", NULL
29533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29538 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29539 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29540 if (!SWIG_IsOK(ecode2
)) {
29541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29543 arg2
= static_cast< long >(val2
);
29545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29546 if (!SWIG_IsOK(ecode3
)) {
29547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29549 arg3
= static_cast< int >(val3
);
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29554 wxPyEndAllowThreads(__tstate
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29558 resultobj
= wxPyMake_wxObject(result
, 0);
29566 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
= 0;
29568 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29569 wxListItem
*arg2
= 0 ;
29575 PyObject
* obj0
= 0 ;
29576 PyObject
* obj1
= 0 ;
29577 char * kwnames
[] = {
29578 (char *) "self",(char *) "info", NULL
29581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29583 if (!SWIG_IsOK(res1
)) {
29584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29586 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29588 if (!SWIG_IsOK(res2
)) {
29589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29594 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (bool)(arg1
)->SetItem(*arg2
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29610 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
= 0;
29612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29615 wxString
*arg4
= 0 ;
29616 int arg5
= (int) -1 ;
29624 bool temp4
= false ;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 PyObject
* obj3
= 0 ;
29631 PyObject
* obj4
= 0 ;
29632 char * kwnames
[] = {
29633 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_SetStringItem" "', 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_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29646 arg2
= static_cast< long >(val2
);
29647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29648 if (!SWIG_IsOK(ecode3
)) {
29649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29651 arg3
= static_cast< int >(val3
);
29653 arg4
= wxString_in_helper(obj3
);
29654 if (arg4
== NULL
) SWIG_fail
;
29658 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29659 if (!SWIG_IsOK(ecode5
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29662 arg5
= static_cast< int >(val5
);
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= SWIG_From_long(static_cast< long >(result
));
29685 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
= 0;
29687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29697 PyObject
* obj0
= 0 ;
29698 PyObject
* obj1
= 0 ;
29699 PyObject
* obj2
= 0 ;
29700 char * kwnames
[] = {
29701 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29706 if (!SWIG_IsOK(res1
)) {
29707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29709 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29710 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29711 if (!SWIG_IsOK(ecode2
)) {
29712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29714 arg2
= static_cast< long >(val2
);
29715 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29716 if (!SWIG_IsOK(ecode3
)) {
29717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29719 arg3
= static_cast< long >(val3
);
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= SWIG_From_int(static_cast< int >(result
));
29733 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
= 0;
29735 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 PyObject
* obj2
= 0 ;
29751 PyObject
* obj3
= 0 ;
29752 char * kwnames
[] = {
29753 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29758 if (!SWIG_IsOK(res1
)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29761 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29762 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29763 if (!SWIG_IsOK(ecode2
)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29766 arg2
= static_cast< long >(val2
);
29767 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29768 if (!SWIG_IsOK(ecode3
)) {
29769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29771 arg3
= static_cast< long >(val3
);
29772 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29773 if (!SWIG_IsOK(ecode4
)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29776 arg4
= static_cast< long >(val4
);
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29792 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
= 0;
29794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29797 int arg4
= (int) -1 ;
29807 PyObject
* obj0
= 0 ;
29808 PyObject
* obj1
= 0 ;
29809 PyObject
* obj2
= 0 ;
29810 PyObject
* obj3
= 0 ;
29811 char * kwnames
[] = {
29812 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29817 if (!SWIG_IsOK(res1
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29820 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29821 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29822 if (!SWIG_IsOK(ecode2
)) {
29823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29825 arg2
= static_cast< long >(val2
);
29826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29827 if (!SWIG_IsOK(ecode3
)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29830 arg3
= static_cast< int >(val3
);
29832 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29833 if (!SWIG_IsOK(ecode4
)) {
29834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29836 arg4
= static_cast< int >(val4
);
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29853 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
= 0;
29855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 PyObject
* obj2
= 0 ;
29871 PyObject
* obj3
= 0 ;
29872 char * kwnames
[] = {
29873 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29883 if (!SWIG_IsOK(ecode2
)) {
29884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29886 arg2
= static_cast< long >(val2
);
29887 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29888 if (!SWIG_IsOK(ecode3
)) {
29889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29891 arg3
= static_cast< long >(val3
);
29892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29893 if (!SWIG_IsOK(ecode4
)) {
29894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29896 arg4
= static_cast< int >(val4
);
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29912 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
= 0;
29914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29921 PyObject
* obj0
= 0 ;
29922 PyObject
* obj1
= 0 ;
29923 char * kwnames
[] = {
29924 (char *) "self",(char *) "item", NULL
29927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29929 if (!SWIG_IsOK(res1
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29933 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29934 if (!SWIG_IsOK(ecode2
)) {
29935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29937 arg2
= static_cast< long >(val2
);
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29957 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
= 0;
29959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29961 wxString
*arg3
= 0 ;
29966 bool temp3
= false ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 PyObject
* obj2
= 0 ;
29970 char * kwnames
[] = {
29971 (char *) "self",(char *) "item",(char *) "str", NULL
29974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29976 if (!SWIG_IsOK(res1
)) {
29977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29979 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29980 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29981 if (!SWIG_IsOK(ecode2
)) {
29982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29984 arg2
= static_cast< long >(val2
);
29986 arg3
= wxString_in_helper(obj2
);
29987 if (arg3
== NULL
) SWIG_fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_Py_Void();
30011 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 char * kwnames
[] = {
30023 (char *) "self",(char *) "item", NULL
30026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30028 if (!SWIG_IsOK(res1
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30031 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30032 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30033 if (!SWIG_IsOK(ecode2
)) {
30034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30036 arg2
= static_cast< long >(val2
);
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= SWIG_From_long(static_cast< long >(result
));
30050 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
= 0;
30052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30062 PyObject
* obj0
= 0 ;
30063 PyObject
* obj1
= 0 ;
30064 PyObject
* obj2
= 0 ;
30065 char * kwnames
[] = {
30066 (char *) "self",(char *) "item",(char *) "data", NULL
30069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30071 if (!SWIG_IsOK(res1
)) {
30072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30074 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30076 if (!SWIG_IsOK(ecode2
)) {
30077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30079 arg2
= static_cast< long >(val2
);
30080 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30081 if (!SWIG_IsOK(ecode3
)) {
30082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30084 arg3
= static_cast< long >(val3
);
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30100 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
= 0;
30102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "self",(char *) "item", NULL
30115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30117 if (!SWIG_IsOK(res1
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30120 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30121 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30122 if (!SWIG_IsOK(ecode2
)) {
30123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30125 arg2
= static_cast< long >(val2
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30139 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
= 0;
30141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30143 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 PyObject
* obj2
= 0 ;
30154 char * kwnames
[] = {
30155 (char *) "self",(char *) "item",(char *) "code", NULL
30158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30160 if (!SWIG_IsOK(res1
)) {
30161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30163 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30165 if (!SWIG_IsOK(ecode2
)) {
30166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30168 arg2
= static_cast< long >(val2
);
30170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30171 if (!SWIG_IsOK(ecode3
)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30174 arg3
= static_cast< int >(val3
);
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30179 wxPyEndAllowThreads(__tstate
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30189 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30190 PyObject
*resultobj
= 0;
30191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30193 wxPoint
*arg3
= 0 ;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 PyObject
* obj2
= 0 ;
30203 char * kwnames
[] = {
30204 (char *) "self",(char *) "item",(char *) "pos", NULL
30207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30209 if (!SWIG_IsOK(res1
)) {
30210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30212 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30213 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30214 if (!SWIG_IsOK(ecode2
)) {
30215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30217 arg2
= static_cast< long >(val2
);
30220 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30237 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30238 PyObject
*resultobj
= 0;
30239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30243 PyObject
*swig_obj
[1] ;
30245 if (!args
) SWIG_fail
;
30246 swig_obj
[0] = args
;
30247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30248 if (!SWIG_IsOK(res1
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30251 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= SWIG_From_int(static_cast< int >(result
));
30265 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30266 PyObject
*resultobj
= 0;
30267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30271 PyObject
*swig_obj
[1] ;
30273 if (!args
) SWIG_fail
;
30274 swig_obj
[0] = args
;
30275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30276 if (!SWIG_IsOK(res1
)) {
30277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30279 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= SWIG_From_int(static_cast< int >(result
));
30293 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30294 PyObject
*resultobj
= 0;
30295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30299 PyObject
*swig_obj
[1] ;
30301 if (!args
) SWIG_fail
;
30302 swig_obj
[0] = args
;
30303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30304 if (!SWIG_IsOK(res1
)) {
30305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30307 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30321 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30322 PyObject
*resultobj
= 0;
30323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30327 PyObject
*swig_obj
[1] ;
30329 if (!args
) SWIG_fail
;
30330 swig_obj
[0] = args
;
30331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30335 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= SWIG_From_int(static_cast< int >(result
));
30349 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30350 PyObject
*resultobj
= 0;
30351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30355 PyObject
*swig_obj
[1] ;
30357 if (!args
) SWIG_fail
;
30358 swig_obj
[0] = args
;
30359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30360 if (!SWIG_IsOK(res1
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30363 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30377 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
= 0;
30379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30380 wxColour
*arg2
= 0 ;
30384 PyObject
* obj0
= 0 ;
30385 PyObject
* obj1
= 0 ;
30386 char * kwnames
[] = {
30387 (char *) "self",(char *) "col", NULL
30390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30392 if (!SWIG_IsOK(res1
)) {
30393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30395 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30398 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= SWIG_Py_Void();
30413 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30414 PyObject
*resultobj
= 0;
30415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30419 PyObject
*swig_obj
[1] ;
30421 if (!args
) SWIG_fail
;
30422 swig_obj
[0] = args
;
30423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30424 if (!SWIG_IsOK(res1
)) {
30425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30427 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30430 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= SWIG_From_long(static_cast< long >(result
));
30441 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
= 0;
30443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30445 bool arg3
= (bool) true ;
30452 PyObject
* obj0
= 0 ;
30453 PyObject
* obj1
= 0 ;
30454 PyObject
* obj2
= 0 ;
30455 char * kwnames
[] = {
30456 (char *) "self",(char *) "style",(char *) "add", NULL
30459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30464 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30465 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30466 if (!SWIG_IsOK(ecode2
)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30469 arg2
= static_cast< long >(val2
);
30471 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30472 if (!SWIG_IsOK(ecode3
)) {
30473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30475 arg3
= static_cast< bool >(val3
);
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 (arg1
)->SetSingleStyle(arg2
,arg3
);
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30483 resultobj
= SWIG_Py_Void();
30490 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
= 0;
30492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30494 int arg3
= (int) wxLIST_NEXT_ALL
;
30495 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30505 PyObject
* obj0
= 0 ;
30506 PyObject
* obj1
= 0 ;
30507 PyObject
* obj2
= 0 ;
30508 PyObject
* obj3
= 0 ;
30509 char * kwnames
[] = {
30510 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30515 if (!SWIG_IsOK(res1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30518 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30519 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30520 if (!SWIG_IsOK(ecode2
)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30523 arg2
= static_cast< long >(val2
);
30525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30526 if (!SWIG_IsOK(ecode3
)) {
30527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30529 arg3
= static_cast< int >(val3
);
30532 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30533 if (!SWIG_IsOK(ecode4
)) {
30534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30536 arg4
= static_cast< int >(val4
);
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= SWIG_From_long(static_cast< long >(result
));
30551 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30552 PyObject
*resultobj
= 0;
30553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30555 wxImageList
*result
= 0 ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char * kwnames
[] = {
30563 (char *) "self",(char *) "which", NULL
30566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30568 if (!SWIG_IsOK(res1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30571 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30573 if (!SWIG_IsOK(ecode2
)) {
30574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30576 arg2
= static_cast< int >(val2
);
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30584 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30592 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
= 0;
30594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30595 wxImageList
*arg2
= (wxImageList
*) 0 ;
30603 PyObject
* obj0
= 0 ;
30604 PyObject
* obj1
= 0 ;
30605 PyObject
* obj2
= 0 ;
30606 char * kwnames
[] = {
30607 (char *) "self",(char *) "imageList",(char *) "which", NULL
30610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30612 if (!SWIG_IsOK(res1
)) {
30613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30615 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30617 if (!SWIG_IsOK(res2
)) {
30618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30620 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30622 if (!SWIG_IsOK(ecode3
)) {
30623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30625 arg3
= static_cast< int >(val3
);
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 (arg1
)->SetImageList(arg2
,arg3
);
30629 wxPyEndAllowThreads(__tstate
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30632 resultobj
= SWIG_Py_Void();
30639 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30640 PyObject
*resultobj
= 0;
30641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30642 wxImageList
*arg2
= (wxImageList
*) 0 ;
30649 PyObject
* obj0
= 0 ;
30650 PyObject
* obj1
= 0 ;
30651 PyObject
* obj2
= 0 ;
30652 char * kwnames
[] = {
30653 (char *) "self",(char *) "imageList",(char *) "which", NULL
30656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30658 if (!SWIG_IsOK(res1
)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30661 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30662 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30663 if (!SWIG_IsOK(res2
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30667 if (!SWIG_IsOK(ecode3
)) {
30668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30670 arg3
= static_cast< int >(val3
);
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->AssignImageList(arg2
,arg3
);
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_Py_Void();
30684 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30685 PyObject
*resultobj
= 0;
30686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30690 PyObject
*swig_obj
[1] ;
30692 if (!args
) SWIG_fail
;
30693 swig_obj
[0] = args
;
30694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30695 if (!SWIG_IsOK(res1
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30698 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30714 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30715 PyObject
*resultobj
= 0;
30716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30720 PyObject
*swig_obj
[1] ;
30722 if (!args
) SWIG_fail
;
30723 swig_obj
[0] = args
;
30724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30725 if (!SWIG_IsOK(res1
)) {
30726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30728 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30744 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
= 0;
30746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30752 PyObject
* obj0
= 0 ;
30753 PyObject
* obj1
= 0 ;
30754 char * kwnames
[] = {
30755 (char *) "self",(char *) "item", NULL
30758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30760 if (!SWIG_IsOK(res1
)) {
30761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30763 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30764 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30765 if (!SWIG_IsOK(ecode2
)) {
30766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30768 arg2
= static_cast< long >(val2
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 (arg1
)->RefreshItem(arg2
);
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_Py_Void();
30782 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
= 0;
30784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 PyObject
* obj1
= 0 ;
30795 PyObject
* obj2
= 0 ;
30796 char * kwnames
[] = {
30797 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30802 if (!SWIG_IsOK(res1
)) {
30803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30805 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30806 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30807 if (!SWIG_IsOK(ecode2
)) {
30808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30810 arg2
= static_cast< long >(val2
);
30811 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30812 if (!SWIG_IsOK(ecode3
)) {
30813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30815 arg3
= static_cast< long >(val3
);
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 (arg1
)->RefreshItems(arg2
,arg3
);
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= SWIG_Py_Void();
30829 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30832 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 char * kwnames
[] = {
30841 (char *) "self",(char *) "flag", NULL
30844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30846 if (!SWIG_IsOK(res1
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30849 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30852 if (!SWIG_IsOK(ecode2
)) {
30853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30855 arg2
= static_cast< int >(val2
);
30858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30859 result
= (bool)(arg1
)->Arrange(arg2
);
30860 wxPyEndAllowThreads(__tstate
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30872 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
= 0;
30874 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30881 PyObject
* obj0
= 0 ;
30882 PyObject
* obj1
= 0 ;
30883 char * kwnames
[] = {
30884 (char *) "self",(char *) "item", NULL
30887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30889 if (!SWIG_IsOK(res1
)) {
30890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30892 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30894 if (!SWIG_IsOK(ecode2
)) {
30895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30897 arg2
= static_cast< long >(val2
);
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= (bool)(arg1
)->DeleteItem(arg2
);
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30913 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30914 PyObject
*resultobj
= 0;
30915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30919 PyObject
*swig_obj
[1] ;
30921 if (!args
) SWIG_fail
;
30922 swig_obj
[0] = args
;
30923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30924 if (!SWIG_IsOK(res1
)) {
30925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30927 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 result
= (bool)(arg1
)->DeleteAllItems();
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30943 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
= 0;
30945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 char * kwnames
[] = {
30955 (char *) "self",(char *) "col", NULL
30958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30960 if (!SWIG_IsOK(res1
)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30963 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30965 if (!SWIG_IsOK(ecode2
)) {
30966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30968 arg2
= static_cast< int >(val2
);
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30984 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30985 PyObject
*resultobj
= 0;
30986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30990 PyObject
*swig_obj
[1] ;
30992 if (!args
) SWIG_fail
;
30993 swig_obj
[0] = args
;
30994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30995 if (!SWIG_IsOK(res1
)) {
30996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30998 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 result
= (bool)(arg1
)->DeleteAllColumns();
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31014 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31015 PyObject
*resultobj
= 0;
31016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31019 PyObject
*swig_obj
[1] ;
31021 if (!args
) SWIG_fail
;
31022 swig_obj
[0] = args
;
31023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31024 if (!SWIG_IsOK(res1
)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 (arg1
)->ClearAll();
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_Py_Void();
31041 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
= 0;
31043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31045 wxTextCtrl
*result
= 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "self",(char *) "item", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31061 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31062 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31063 if (!SWIG_IsOK(ecode2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31066 arg2
= static_cast< long >(val2
);
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= wxPyMake_wxObject(result
, 0);
31082 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31083 PyObject
*resultobj
= 0;
31084 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 char * kwnames
[] = {
31094 (char *) "self",(char *) "cancel", NULL
31097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31099 if (!SWIG_IsOK(res1
)) {
31100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31102 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31103 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31104 if (!SWIG_IsOK(ecode2
)) {
31105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31107 arg2
= static_cast< bool >(val2
);
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31123 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
= 0;
31125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 char * kwnames
[] = {
31135 (char *) "self",(char *) "item", NULL
31138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31140 if (!SWIG_IsOK(res1
)) {
31141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31143 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31145 if (!SWIG_IsOK(ecode2
)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31148 arg2
= static_cast< long >(val2
);
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31164 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
= 0;
31166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31168 wxString
*arg3
= 0 ;
31169 bool arg4
= (bool) false ;
31175 bool temp3
= false ;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 PyObject
* obj2
= 0 ;
31181 PyObject
* obj3
= 0 ;
31182 char * kwnames
[] = {
31183 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31188 if (!SWIG_IsOK(res1
)) {
31189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31191 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31192 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31193 if (!SWIG_IsOK(ecode2
)) {
31194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31196 arg2
= static_cast< long >(val2
);
31198 arg3
= wxString_in_helper(obj2
);
31199 if (arg3
== NULL
) SWIG_fail
;
31203 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31204 if (!SWIG_IsOK(ecode4
)) {
31205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31207 arg4
= static_cast< bool >(val4
);
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31215 resultobj
= SWIG_From_long(static_cast< long >(result
));
31230 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
= 0;
31232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 PyObject
* obj2
= 0 ;
31245 char * kwnames
[] = {
31246 (char *) "self",(char *) "start",(char *) "data", NULL
31249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31251 if (!SWIG_IsOK(res1
)) {
31252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31254 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31255 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31256 if (!SWIG_IsOK(ecode2
)) {
31257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31259 arg2
= static_cast< long >(val2
);
31260 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31261 if (!SWIG_IsOK(ecode3
)) {
31262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31264 arg3
= static_cast< long >(val3
);
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 resultobj
= SWIG_From_long(static_cast< long >(result
));
31278 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
= 0;
31280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31282 wxPoint
*arg3
= 0 ;
31292 PyObject
* obj0
= 0 ;
31293 PyObject
* obj1
= 0 ;
31294 PyObject
* obj2
= 0 ;
31295 PyObject
* obj3
= 0 ;
31296 char * kwnames
[] = {
31297 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31302 if (!SWIG_IsOK(res1
)) {
31303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31305 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31306 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31307 if (!SWIG_IsOK(ecode2
)) {
31308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31310 arg2
= static_cast< long >(val2
);
31313 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31316 if (!SWIG_IsOK(ecode4
)) {
31317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31319 arg4
= static_cast< int >(val4
);
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31323 wxPyEndAllowThreads(__tstate
);
31324 if (PyErr_Occurred()) SWIG_fail
;
31326 resultobj
= SWIG_From_long(static_cast< long >(result
));
31333 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31334 PyObject
*resultobj
= 0;
31335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31336 wxPoint
*arg2
= 0 ;
31343 int res3
= SWIG_TMPOBJ
;
31344 PyObject
* obj0
= 0 ;
31345 PyObject
* obj1
= 0 ;
31346 char * kwnames
[] = {
31347 (char *) "self",(char *) "point", NULL
31351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31353 if (!SWIG_IsOK(res1
)) {
31354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31356 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31363 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31367 resultobj
= SWIG_From_long(static_cast< long >(result
));
31368 if (SWIG_IsTmpObj(res3
)) {
31369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31371 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31380 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31381 PyObject
*resultobj
= 0;
31382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31383 wxPoint
*arg2
= 0 ;
31385 long *arg4
= (long *) 0 ;
31391 int res3
= SWIG_TMPOBJ
;
31393 int res4
= SWIG_TMPOBJ
;
31394 PyObject
* obj0
= 0 ;
31395 PyObject
* obj1
= 0 ;
31396 char * kwnames
[] = {
31397 (char *) "self",(char *) "point", NULL
31402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31404 if (!SWIG_IsOK(res1
)) {
31405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31407 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31410 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= SWIG_From_long(static_cast< long >(result
));
31419 if (SWIG_IsTmpObj(res3
)) {
31420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31422 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31425 if (SWIG_IsTmpObj(res4
)) {
31426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31428 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31437 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
= 0;
31439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31440 wxListItem
*arg2
= 0 ;
31446 PyObject
* obj0
= 0 ;
31447 PyObject
* obj1
= 0 ;
31448 char * kwnames
[] = {
31449 (char *) "self",(char *) "info", NULL
31452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31454 if (!SWIG_IsOK(res1
)) {
31455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31457 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31459 if (!SWIG_IsOK(res2
)) {
31460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31465 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= (long)(arg1
)->InsertItem(*arg2
);
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= SWIG_From_long(static_cast< long >(result
));
31479 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31480 PyObject
*resultobj
= 0;
31481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31483 wxString
*arg3
= 0 ;
31484 int arg4
= (int) -1 ;
31490 bool temp3
= false ;
31493 PyObject
* obj0
= 0 ;
31494 PyObject
* obj1
= 0 ;
31495 PyObject
* obj2
= 0 ;
31496 PyObject
* obj3
= 0 ;
31497 char * kwnames
[] = {
31498 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31503 if (!SWIG_IsOK(res1
)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31506 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31507 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31508 if (!SWIG_IsOK(ecode2
)) {
31509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31511 arg2
= static_cast< long >(val2
);
31513 arg3
= wxString_in_helper(obj2
);
31514 if (arg3
== NULL
) SWIG_fail
;
31518 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31519 if (!SWIG_IsOK(ecode4
)) {
31520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31522 arg4
= static_cast< int >(val4
);
31525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31526 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31527 wxPyEndAllowThreads(__tstate
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31530 resultobj
= SWIG_From_long(static_cast< long >(result
));
31545 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31546 PyObject
*resultobj
= 0;
31547 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31557 PyObject
* obj0
= 0 ;
31558 PyObject
* obj1
= 0 ;
31559 PyObject
* obj2
= 0 ;
31560 char * kwnames
[] = {
31561 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31566 if (!SWIG_IsOK(res1
)) {
31567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31570 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31571 if (!SWIG_IsOK(ecode2
)) {
31572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31574 arg2
= static_cast< long >(val2
);
31575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31576 if (!SWIG_IsOK(ecode3
)) {
31577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31579 arg3
= static_cast< int >(val3
);
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31586 resultobj
= SWIG_From_long(static_cast< long >(result
));
31593 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31594 PyObject
*resultobj
= 0;
31595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31597 wxString
*arg3
= 0 ;
31604 bool temp3
= false ;
31607 PyObject
* obj0
= 0 ;
31608 PyObject
* obj1
= 0 ;
31609 PyObject
* obj2
= 0 ;
31610 PyObject
* obj3
= 0 ;
31611 char * kwnames
[] = {
31612 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31617 if (!SWIG_IsOK(res1
)) {
31618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31620 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31621 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31622 if (!SWIG_IsOK(ecode2
)) {
31623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31625 arg2
= static_cast< long >(val2
);
31627 arg3
= wxString_in_helper(obj2
);
31628 if (arg3
== NULL
) SWIG_fail
;
31631 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31632 if (!SWIG_IsOK(ecode4
)) {
31633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31635 arg4
= static_cast< int >(val4
);
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= SWIG_From_long(static_cast< long >(result
));
31657 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
= 0;
31659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31661 wxListItem
*arg3
= 0 ;
31669 PyObject
* obj0
= 0 ;
31670 PyObject
* obj1
= 0 ;
31671 PyObject
* obj2
= 0 ;
31672 char * kwnames
[] = {
31673 (char *) "self",(char *) "col",(char *) "info", NULL
31676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31678 if (!SWIG_IsOK(res1
)) {
31679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31681 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31682 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31683 if (!SWIG_IsOK(ecode2
)) {
31684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31686 arg2
= static_cast< long >(val2
);
31687 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31688 if (!SWIG_IsOK(res3
)) {
31689 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31694 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31697 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31701 resultobj
= SWIG_From_long(static_cast< long >(result
));
31708 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
= 0;
31710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31712 wxString
*arg3
= 0 ;
31713 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31714 int arg5
= (int) -1 ;
31720 bool temp3
= false ;
31725 PyObject
* obj0
= 0 ;
31726 PyObject
* obj1
= 0 ;
31727 PyObject
* obj2
= 0 ;
31728 PyObject
* obj3
= 0 ;
31729 PyObject
* obj4
= 0 ;
31730 char * kwnames
[] = {
31731 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31736 if (!SWIG_IsOK(res1
)) {
31737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31741 if (!SWIG_IsOK(ecode2
)) {
31742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31744 arg2
= static_cast< long >(val2
);
31746 arg3
= wxString_in_helper(obj2
);
31747 if (arg3
== NULL
) SWIG_fail
;
31751 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31752 if (!SWIG_IsOK(ecode4
)) {
31753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31755 arg4
= static_cast< int >(val4
);
31758 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31759 if (!SWIG_IsOK(ecode5
)) {
31760 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31762 arg5
= static_cast< int >(val5
);
31765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31766 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= SWIG_From_long(static_cast< long >(result
));
31785 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
= 0;
31787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31793 PyObject
* obj0
= 0 ;
31794 PyObject
* obj1
= 0 ;
31795 char * kwnames
[] = {
31796 (char *) "self",(char *) "count", NULL
31799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31801 if (!SWIG_IsOK(res1
)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31804 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31805 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31806 if (!SWIG_IsOK(ecode2
)) {
31807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31809 arg2
= static_cast< long >(val2
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 (arg1
)->SetItemCount(arg2
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_Py_Void();
31823 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
= 0;
31825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31835 PyObject
* obj0
= 0 ;
31836 PyObject
* obj1
= 0 ;
31837 PyObject
* obj2
= 0 ;
31838 char * kwnames
[] = {
31839 (char *) "self",(char *) "dx",(char *) "dy", NULL
31842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31844 if (!SWIG_IsOK(res1
)) {
31845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31847 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31849 if (!SWIG_IsOK(ecode2
)) {
31850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31852 arg2
= static_cast< int >(val2
);
31853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31854 if (!SWIG_IsOK(ecode3
)) {
31855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31857 arg3
= static_cast< int >(val3
);
31859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31860 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31861 wxPyEndAllowThreads(__tstate
);
31862 if (PyErr_Occurred()) SWIG_fail
;
31865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31873 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
= 0;
31875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31877 wxColour
*arg3
= 0 ;
31883 PyObject
* obj0
= 0 ;
31884 PyObject
* obj1
= 0 ;
31885 PyObject
* obj2
= 0 ;
31886 char * kwnames
[] = {
31887 (char *) "self",(char *) "item",(char *) "col", NULL
31890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31892 if (!SWIG_IsOK(res1
)) {
31893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31895 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31897 if (!SWIG_IsOK(ecode2
)) {
31898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31900 arg2
= static_cast< long >(val2
);
31903 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31911 resultobj
= SWIG_Py_Void();
31918 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
= 0;
31920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 char * kwnames
[] = {
31930 (char *) "self",(char *) "item", NULL
31933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31935 if (!SWIG_IsOK(res1
)) {
31936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31938 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31940 if (!SWIG_IsOK(ecode2
)) {
31941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31943 arg2
= static_cast< long >(val2
);
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31957 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
= 0;
31959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31961 wxColour
*arg3
= 0 ;
31967 PyObject
* obj0
= 0 ;
31968 PyObject
* obj1
= 0 ;
31969 PyObject
* obj2
= 0 ;
31970 char * kwnames
[] = {
31971 (char *) "self",(char *) "item",(char *) "col", NULL
31974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31976 if (!SWIG_IsOK(res1
)) {
31977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31979 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31980 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31981 if (!SWIG_IsOK(ecode2
)) {
31982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31984 arg2
= static_cast< long >(val2
);
31987 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31992 wxPyEndAllowThreads(__tstate
);
31993 if (PyErr_Occurred()) SWIG_fail
;
31995 resultobj
= SWIG_Py_Void();
32002 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32003 PyObject
*resultobj
= 0;
32004 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32011 PyObject
* obj0
= 0 ;
32012 PyObject
* obj1
= 0 ;
32013 char * kwnames
[] = {
32014 (char *) "self",(char *) "item", NULL
32017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32019 if (!SWIG_IsOK(res1
)) {
32020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32022 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32023 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32024 if (!SWIG_IsOK(ecode2
)) {
32025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32027 arg2
= static_cast< long >(val2
);
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32041 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32042 PyObject
*resultobj
= 0;
32043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 PyObject
* obj1
= 0 ;
32054 PyObject
* obj2
= 0 ;
32055 char * kwnames
[] = {
32056 (char *) "self",(char *) "item",(char *) "f", NULL
32059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32061 if (!SWIG_IsOK(res1
)) {
32062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32064 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32066 if (!SWIG_IsOK(ecode2
)) {
32067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32069 arg2
= static_cast< long >(val2
);
32070 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32071 if (!SWIG_IsOK(res3
)) {
32072 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32077 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= SWIG_Py_Void();
32091 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
= 0;
32093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32100 PyObject
* obj0
= 0 ;
32101 PyObject
* obj1
= 0 ;
32102 char * kwnames
[] = {
32103 (char *) "self",(char *) "item", NULL
32106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32108 if (!SWIG_IsOK(res1
)) {
32109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32111 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32112 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32113 if (!SWIG_IsOK(ecode2
)) {
32114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32116 arg2
= static_cast< long >(val2
);
32118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32119 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32130 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
= 0;
32132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32133 PyObject
*arg2
= (PyObject
*) 0 ;
32137 PyObject
* obj0
= 0 ;
32138 PyObject
* obj1
= 0 ;
32139 char * kwnames
[] = {
32140 (char *) "self",(char *) "func", NULL
32143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32145 if (!SWIG_IsOK(res1
)) {
32146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32148 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32152 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32165 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32166 PyObject
*resultobj
= 0;
32167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32168 wxWindow
*result
= 0 ;
32171 PyObject
*swig_obj
[1] ;
32173 if (!args
) SWIG_fail
;
32174 swig_obj
[0] = args
;
32175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32176 if (!SWIG_IsOK(res1
)) {
32177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32179 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32187 resultobj
= wxPyMake_wxObject(result
, 0);
32195 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
= 0;
32197 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32198 SwigValueWrapper
<wxVisualAttributes
> result
;
32201 PyObject
* obj0
= 0 ;
32202 char * kwnames
[] = {
32203 (char *) "variant", NULL
32206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32209 if (!SWIG_IsOK(ecode1
)) {
32210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32212 arg1
= static_cast< wxWindowVariant
>(val1
);
32215 if (!wxPyCheckForApp()) SWIG_fail
;
32216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32217 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32218 wxPyEndAllowThreads(__tstate
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32228 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32231 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32232 return SWIG_Py_Void();
32235 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32236 return SWIG_Python_InitShadowInstance(args
);
32239 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
= 0;
32241 wxWindow
*arg1
= (wxWindow
*) 0 ;
32242 int arg2
= (int) -1 ;
32243 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32244 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32245 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32246 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32247 long arg5
= (long) wxLC_REPORT
;
32248 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32249 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32250 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32251 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32252 wxListView
*result
= 0 ;
32263 bool temp7
= false ;
32264 PyObject
* obj0
= 0 ;
32265 PyObject
* obj1
= 0 ;
32266 PyObject
* obj2
= 0 ;
32267 PyObject
* obj3
= 0 ;
32268 PyObject
* obj4
= 0 ;
32269 PyObject
* obj5
= 0 ;
32270 PyObject
* obj6
= 0 ;
32271 char * kwnames
[] = {
32272 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32277 if (!SWIG_IsOK(res1
)) {
32278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32283 if (!SWIG_IsOK(ecode2
)) {
32284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32286 arg2
= static_cast< int >(val2
);
32291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32301 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32302 if (!SWIG_IsOK(ecode5
)) {
32303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32305 arg5
= static_cast< long >(val5
);
32308 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32309 if (!SWIG_IsOK(res6
)) {
32310 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32315 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32319 arg7
= wxString_in_helper(obj6
);
32320 if (arg7
== NULL
) SWIG_fail
;
32325 if (!wxPyCheckForApp()) SWIG_fail
;
32326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32327 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32328 wxPyEndAllowThreads(__tstate
);
32329 if (PyErr_Occurred()) SWIG_fail
;
32331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32346 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32347 PyObject
*resultobj
= 0;
32348 wxListView
*result
= 0 ;
32350 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32352 if (!wxPyCheckForApp()) SWIG_fail
;
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 result
= (wxListView
*)new wxListView();
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32365 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32366 PyObject
*resultobj
= 0;
32367 wxListView
*arg1
= (wxListView
*) 0 ;
32368 wxWindow
*arg2
= (wxWindow
*) 0 ;
32369 int arg3
= (int) -1 ;
32370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32374 long arg6
= (long) wxLC_REPORT
;
32375 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32376 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32377 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32378 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32392 bool temp8
= false ;
32393 PyObject
* obj0
= 0 ;
32394 PyObject
* obj1
= 0 ;
32395 PyObject
* obj2
= 0 ;
32396 PyObject
* obj3
= 0 ;
32397 PyObject
* obj4
= 0 ;
32398 PyObject
* obj5
= 0 ;
32399 PyObject
* obj6
= 0 ;
32400 PyObject
* obj7
= 0 ;
32401 char * kwnames
[] = {
32402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32407 if (!SWIG_IsOK(res1
)) {
32408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32410 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32412 if (!SWIG_IsOK(res2
)) {
32413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32415 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32418 if (!SWIG_IsOK(ecode3
)) {
32419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32421 arg3
= static_cast< int >(val3
);
32426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32436 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32437 if (!SWIG_IsOK(ecode6
)) {
32438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32440 arg6
= static_cast< long >(val6
);
32443 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32444 if (!SWIG_IsOK(res7
)) {
32445 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32450 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32454 arg8
= wxString_in_helper(obj7
);
32455 if (arg8
== NULL
) SWIG_fail
;
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32462 wxPyEndAllowThreads(__tstate
);
32463 if (PyErr_Occurred()) SWIG_fail
;
32466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32482 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
= 0;
32484 wxListView
*arg1
= (wxListView
*) 0 ;
32486 bool arg3
= (bool) true ;
32493 PyObject
* obj0
= 0 ;
32494 PyObject
* obj1
= 0 ;
32495 PyObject
* obj2
= 0 ;
32496 char * kwnames
[] = {
32497 (char *) "self",(char *) "n",(char *) "on", NULL
32500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32502 if (!SWIG_IsOK(res1
)) {
32503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32505 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32506 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32507 if (!SWIG_IsOK(ecode2
)) {
32508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32510 arg2
= static_cast< long >(val2
);
32512 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32513 if (!SWIG_IsOK(ecode3
)) {
32514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32516 arg3
= static_cast< bool >(val3
);
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 (arg1
)->Select(arg2
,arg3
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_Py_Void();
32531 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32532 PyObject
*resultobj
= 0;
32533 wxListView
*arg1
= (wxListView
*) 0 ;
32539 PyObject
* obj0
= 0 ;
32540 PyObject
* obj1
= 0 ;
32541 char * kwnames
[] = {
32542 (char *) "self",(char *) "index", NULL
32545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32547 if (!SWIG_IsOK(res1
)) {
32548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32550 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32551 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32552 if (!SWIG_IsOK(ecode2
)) {
32553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32555 arg2
= static_cast< long >(val2
);
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 (arg1
)->Focus(arg2
);
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32562 resultobj
= SWIG_Py_Void();
32569 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32570 PyObject
*resultobj
= 0;
32571 wxListView
*arg1
= (wxListView
*) 0 ;
32575 PyObject
*swig_obj
[1] ;
32577 if (!args
) SWIG_fail
;
32578 swig_obj
[0] = args
;
32579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32580 if (!SWIG_IsOK(res1
)) {
32581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32583 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32586 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32590 resultobj
= SWIG_From_long(static_cast< long >(result
));
32597 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
= 0;
32599 wxListView
*arg1
= (wxListView
*) 0 ;
32606 PyObject
* obj0
= 0 ;
32607 PyObject
* obj1
= 0 ;
32608 char * kwnames
[] = {
32609 (char *) "self",(char *) "item", NULL
32612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32614 if (!SWIG_IsOK(res1
)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32617 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32618 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32619 if (!SWIG_IsOK(ecode2
)) {
32620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32622 arg2
= static_cast< long >(val2
);
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= SWIG_From_long(static_cast< long >(result
));
32636 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32637 PyObject
*resultobj
= 0;
32638 wxListView
*arg1
= (wxListView
*) 0 ;
32642 PyObject
*swig_obj
[1] ;
32644 if (!args
) SWIG_fail
;
32645 swig_obj
[0] = args
;
32646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32647 if (!SWIG_IsOK(res1
)) {
32648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32650 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32654 wxPyEndAllowThreads(__tstate
);
32655 if (PyErr_Occurred()) SWIG_fail
;
32657 resultobj
= SWIG_From_long(static_cast< long >(result
));
32664 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32665 PyObject
*resultobj
= 0;
32666 wxListView
*arg1
= (wxListView
*) 0 ;
32673 PyObject
* obj0
= 0 ;
32674 PyObject
* obj1
= 0 ;
32675 char * kwnames
[] = {
32676 (char *) "self",(char *) "index", NULL
32679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32681 if (!SWIG_IsOK(res1
)) {
32682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32684 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32685 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32686 if (!SWIG_IsOK(ecode2
)) {
32687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32689 arg2
= static_cast< long >(val2
);
32691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 result
= (bool)(arg1
)->IsSelected(arg2
);
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32705 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32706 PyObject
*resultobj
= 0;
32707 wxListView
*arg1
= (wxListView
*) 0 ;
32716 PyObject
* obj0
= 0 ;
32717 PyObject
* obj1
= 0 ;
32718 PyObject
* obj2
= 0 ;
32719 char * kwnames
[] = {
32720 (char *) "self",(char *) "col",(char *) "image", NULL
32723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32728 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32730 if (!SWIG_IsOK(ecode2
)) {
32731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32733 arg2
= static_cast< int >(val2
);
32734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32735 if (!SWIG_IsOK(ecode3
)) {
32736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32738 arg3
= static_cast< int >(val3
);
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 (arg1
)->SetColumnImage(arg2
,arg3
);
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= SWIG_Py_Void();
32752 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32753 PyObject
*resultobj
= 0;
32754 wxListView
*arg1
= (wxListView
*) 0 ;
32760 PyObject
* obj0
= 0 ;
32761 PyObject
* obj1
= 0 ;
32762 char * kwnames
[] = {
32763 (char *) "self",(char *) "col", NULL
32766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32768 if (!SWIG_IsOK(res1
)) {
32769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32771 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32773 if (!SWIG_IsOK(ecode2
)) {
32774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32776 arg2
= static_cast< int >(val2
);
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 (arg1
)->ClearColumnImage(arg2
);
32780 wxPyEndAllowThreads(__tstate
);
32781 if (PyErr_Occurred()) SWIG_fail
;
32783 resultobj
= SWIG_Py_Void();
32790 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32793 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32794 return SWIG_Py_Void();
32797 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32798 return SWIG_Python_InitShadowInstance(args
);
32801 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32802 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32807 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32808 PyObject
*pyobj
= 0;
32812 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32814 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32821 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32822 PyObject
*resultobj
= 0;
32823 wxTreeItemId
*result
= 0 ;
32825 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= (wxTreeItemId
*)new wxTreeItemId();
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32839 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32840 PyObject
*resultobj
= 0;
32841 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32844 PyObject
*swig_obj
[1] ;
32846 if (!args
) SWIG_fail
;
32847 swig_obj
[0] = args
;
32848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32849 if (!SWIG_IsOK(res1
)) {
32850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32852 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= SWIG_Py_Void();
32867 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32868 PyObject
*resultobj
= 0;
32869 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32873 PyObject
*swig_obj
[1] ;
32875 if (!args
) SWIG_fail
;
32876 swig_obj
[0] = args
;
32877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32878 if (!SWIG_IsOK(res1
)) {
32879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32881 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32884 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32897 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
= 0;
32899 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32900 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 PyObject
* obj1
= 0 ;
32908 char * kwnames
[] = {
32909 (char *) "self",(char *) "other", NULL
32912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32914 if (!SWIG_IsOK(res1
)) {
32915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32917 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32919 if (!SWIG_IsOK(res2
)) {
32920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32922 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32938 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32939 PyObject
*resultobj
= 0;
32940 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32941 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32947 PyObject
* obj0
= 0 ;
32948 PyObject
* obj1
= 0 ;
32949 char * kwnames
[] = {
32950 (char *) "self",(char *) "other", NULL
32953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32955 if (!SWIG_IsOK(res1
)) {
32956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32958 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32960 if (!SWIG_IsOK(res2
)) {
32961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32963 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32979 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32980 PyObject
*resultobj
= 0;
32981 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32982 void *arg2
= (void *) 0 ;
32986 PyObject
*swig_obj
[2] ;
32988 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32990 if (!SWIG_IsOK(res1
)) {
32991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32993 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32994 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32995 if (!SWIG_IsOK(res2
)) {
32996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32998 if (arg1
) (arg1
)->m_pItem
= arg2
;
33000 resultobj
= SWIG_Py_Void();
33007 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33008 PyObject
*resultobj
= 0;
33009 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
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_wxTreeItemId
, 0 | 0 );
33018 if (!SWIG_IsOK(res1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33021 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33022 result
= (void *) ((arg1
)->m_pItem
);
33023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33030 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33033 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33034 return SWIG_Py_Void();
33037 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33038 return SWIG_Python_InitShadowInstance(args
);
33041 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33042 PyObject
*resultobj
= 0;
33043 PyObject
*arg1
= (PyObject
*) NULL
;
33044 wxPyTreeItemData
*result
= 0 ;
33045 PyObject
* obj0
= 0 ;
33046 char * kwnames
[] = {
33047 (char *) "obj", NULL
33050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33056 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33057 wxPyEndAllowThreads(__tstate
);
33058 if (PyErr_Occurred()) SWIG_fail
;
33060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33067 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33068 PyObject
*resultobj
= 0;
33069 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33072 PyObject
*swig_obj
[1] ;
33074 if (!args
) SWIG_fail
;
33075 swig_obj
[0] = args
;
33076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33077 if (!SWIG_IsOK(res1
)) {
33078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33080 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 wxPyEndAllowThreads(__tstate
);
33086 if (PyErr_Occurred()) SWIG_fail
;
33088 resultobj
= SWIG_Py_Void();
33095 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33096 PyObject
*resultobj
= 0;
33097 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33098 PyObject
*result
= 0 ;
33101 PyObject
*swig_obj
[1] ;
33103 if (!args
) SWIG_fail
;
33104 swig_obj
[0] = args
;
33105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33106 if (!SWIG_IsOK(res1
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33109 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33112 result
= (PyObject
*)(arg1
)->GetData();
33113 wxPyEndAllowThreads(__tstate
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33116 resultobj
= result
;
33123 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33124 PyObject
*resultobj
= 0;
33125 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33126 PyObject
*arg2
= (PyObject
*) 0 ;
33129 PyObject
* obj0
= 0 ;
33130 PyObject
* obj1
= 0 ;
33131 char * kwnames
[] = {
33132 (char *) "self",(char *) "obj", NULL
33135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33137 if (!SWIG_IsOK(res1
)) {
33138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33140 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33144 (arg1
)->SetData(arg2
);
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33148 resultobj
= SWIG_Py_Void();
33155 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33156 PyObject
*resultobj
= 0;
33157 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33158 wxTreeItemId
*result
= 0 ;
33161 PyObject
*swig_obj
[1] ;
33163 if (!args
) SWIG_fail
;
33164 swig_obj
[0] = args
;
33165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33166 if (!SWIG_IsOK(res1
)) {
33167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33169 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33174 result
= (wxTreeItemId
*) &_result_ref
;
33176 wxPyEndAllowThreads(__tstate
);
33177 if (PyErr_Occurred()) SWIG_fail
;
33179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33186 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33187 PyObject
*resultobj
= 0;
33188 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33189 wxTreeItemId
*arg2
= 0 ;
33194 PyObject
* obj0
= 0 ;
33195 PyObject
* obj1
= 0 ;
33196 char * kwnames
[] = {
33197 (char *) "self",(char *) "id", NULL
33200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33202 if (!SWIG_IsOK(res1
)) {
33203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33205 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33207 if (!SWIG_IsOK(res2
)) {
33208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33213 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33216 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= SWIG_Py_Void();
33227 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33228 PyObject
*resultobj
= 0;
33229 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33232 PyObject
*swig_obj
[1] ;
33234 if (!args
) SWIG_fail
;
33235 swig_obj
[0] = args
;
33236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33237 if (!SWIG_IsOK(res1
)) {
33238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33240 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 wxPyTreeItemData_Destroy(arg1
);
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= SWIG_Py_Void();
33254 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33257 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33258 return SWIG_Py_Void();
33261 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33262 return SWIG_Python_InitShadowInstance(args
);
33265 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33268 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33269 if (!SWIG_IsOK(res
)) {
33270 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33275 wxTreeItemId
* temp
;
33276 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33277 wxNullTreeItemId
= *temp
;
33278 if (SWIG_IsNewObj(res
)) delete temp
;
33287 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33288 PyObject
*pyobj
= 0;
33290 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33295 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33296 PyObject
*resultobj
= 0;
33297 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33298 int arg2
= (int) 0 ;
33299 wxTreeEvent
*result
= 0 ;
33305 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33307 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33308 if (!SWIG_IsOK(ecode1
)) {
33309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33311 arg1
= static_cast< wxEventType
>(val1
);
33314 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33315 if (!SWIG_IsOK(ecode2
)) {
33316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33318 arg2
= static_cast< int >(val2
);
33321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33322 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33323 wxPyEndAllowThreads(__tstate
);
33324 if (PyErr_Occurred()) SWIG_fail
;
33326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33333 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33334 PyObject
*resultobj
= 0;
33336 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33337 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33338 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33339 wxTreeEvent
*result
= 0 ;
33347 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33348 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33349 if (!SWIG_IsOK(ecode1
)) {
33350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33352 arg1
= static_cast< wxEventType
>(val1
);
33353 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33354 if (!SWIG_IsOK(res2
)) {
33355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33357 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33359 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33360 if (!SWIG_IsOK(res3
)) {
33361 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33366 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33371 wxPyEndAllowThreads(__tstate
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33381 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33385 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33387 if ((argc
>= 0) && (argc
<= 2)) {
33392 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33393 _v
= SWIG_CheckState(res
);
33396 if (!_v
) goto check_1
;
33398 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33402 if ((argc
>= 2) && (argc
<= 3)) {
33403 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33407 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33412 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33413 PyObject
*resultobj
= 0;
33414 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33415 wxTreeItemId result
;
33418 PyObject
*swig_obj
[1] ;
33420 if (!args
) SWIG_fail
;
33421 swig_obj
[0] = args
;
33422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33423 if (!SWIG_IsOK(res1
)) {
33424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33426 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33433 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33440 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33441 PyObject
*resultobj
= 0;
33442 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33443 wxTreeItemId
*arg2
= 0 ;
33448 PyObject
* obj0
= 0 ;
33449 PyObject
* obj1
= 0 ;
33450 char * kwnames
[] = {
33451 (char *) "self",(char *) "item", NULL
33454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33456 if (!SWIG_IsOK(res1
)) {
33457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33459 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33461 if (!SWIG_IsOK(res2
)) {
33462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33467 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33470 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33471 wxPyEndAllowThreads(__tstate
);
33472 if (PyErr_Occurred()) SWIG_fail
;
33474 resultobj
= SWIG_Py_Void();
33481 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33482 PyObject
*resultobj
= 0;
33483 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33484 wxTreeItemId result
;
33487 PyObject
*swig_obj
[1] ;
33489 if (!args
) SWIG_fail
;
33490 swig_obj
[0] = args
;
33491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33492 if (!SWIG_IsOK(res1
)) {
33493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33495 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33498 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33499 wxPyEndAllowThreads(__tstate
);
33500 if (PyErr_Occurred()) SWIG_fail
;
33502 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33509 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33510 PyObject
*resultobj
= 0;
33511 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33512 wxTreeItemId
*arg2
= 0 ;
33517 PyObject
* obj0
= 0 ;
33518 PyObject
* obj1
= 0 ;
33519 char * kwnames
[] = {
33520 (char *) "self",(char *) "item", NULL
33523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33525 if (!SWIG_IsOK(res1
)) {
33526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33528 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33529 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33530 if (!SWIG_IsOK(res2
)) {
33531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33536 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33539 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33543 resultobj
= SWIG_Py_Void();
33550 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33551 PyObject
*resultobj
= 0;
33552 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33556 PyObject
*swig_obj
[1] ;
33558 if (!args
) SWIG_fail
;
33559 swig_obj
[0] = args
;
33560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33561 if (!SWIG_IsOK(res1
)) {
33562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33564 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33571 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33578 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33579 PyObject
*resultobj
= 0;
33580 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33581 wxPoint
*arg2
= 0 ;
33585 PyObject
* obj0
= 0 ;
33586 PyObject
* obj1
= 0 ;
33587 char * kwnames
[] = {
33588 (char *) "self",(char *) "pt", NULL
33591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33593 if (!SWIG_IsOK(res1
)) {
33594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33596 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33607 resultobj
= SWIG_Py_Void();
33614 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33615 PyObject
*resultobj
= 0;
33616 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33617 wxKeyEvent
*result
= 0 ;
33620 PyObject
*swig_obj
[1] ;
33622 if (!args
) SWIG_fail
;
33623 swig_obj
[0] = args
;
33624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33625 if (!SWIG_IsOK(res1
)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33628 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33633 result
= (wxKeyEvent
*) &_result_ref
;
33635 wxPyEndAllowThreads(__tstate
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33645 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33646 PyObject
*resultobj
= 0;
33647 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33651 PyObject
*swig_obj
[1] ;
33653 if (!args
) SWIG_fail
;
33654 swig_obj
[0] = args
;
33655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33656 if (!SWIG_IsOK(res1
)) {
33657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33659 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33662 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33666 resultobj
= SWIG_From_int(static_cast< int >(result
));
33673 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33674 PyObject
*resultobj
= 0;
33675 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33676 wxKeyEvent
*arg2
= 0 ;
33681 PyObject
* obj0
= 0 ;
33682 PyObject
* obj1
= 0 ;
33683 char * kwnames
[] = {
33684 (char *) "self",(char *) "evt", NULL
33687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33689 if (!SWIG_IsOK(res1
)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33692 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33694 if (!SWIG_IsOK(res2
)) {
33695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33700 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33703 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33707 resultobj
= SWIG_Py_Void();
33714 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33715 PyObject
*resultobj
= 0;
33716 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33717 wxString
*result
= 0 ;
33720 PyObject
*swig_obj
[1] ;
33722 if (!args
) SWIG_fail
;
33723 swig_obj
[0] = args
;
33724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33725 if (!SWIG_IsOK(res1
)) {
33726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33728 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33733 result
= (wxString
*) &_result_ref
;
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33740 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33742 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33751 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
= 0;
33753 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33754 wxString
*arg2
= 0 ;
33757 bool temp2
= false ;
33758 PyObject
* obj0
= 0 ;
33759 PyObject
* obj1
= 0 ;
33760 char * kwnames
[] = {
33761 (char *) "self",(char *) "label", NULL
33764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33766 if (!SWIG_IsOK(res1
)) {
33767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33769 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33771 arg2
= wxString_in_helper(obj1
);
33772 if (arg2
== NULL
) SWIG_fail
;
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 (arg1
)->SetLabel((wxString
const &)*arg2
);
33778 wxPyEndAllowThreads(__tstate
);
33779 if (PyErr_Occurred()) SWIG_fail
;
33781 resultobj
= SWIG_Py_Void();
33796 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33797 PyObject
*resultobj
= 0;
33798 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33802 PyObject
*swig_obj
[1] ;
33804 if (!args
) SWIG_fail
;
33805 swig_obj
[0] = args
;
33806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33807 if (!SWIG_IsOK(res1
)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33810 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33814 wxPyEndAllowThreads(__tstate
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33826 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33827 PyObject
*resultobj
= 0;
33828 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33834 PyObject
* obj0
= 0 ;
33835 PyObject
* obj1
= 0 ;
33836 char * kwnames
[] = {
33837 (char *) "self",(char *) "editCancelled", NULL
33840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33842 if (!SWIG_IsOK(res1
)) {
33843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33845 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33846 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33847 if (!SWIG_IsOK(ecode2
)) {
33848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33850 arg2
= static_cast< bool >(val2
);
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 (arg1
)->SetEditCanceled(arg2
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_Py_Void();
33864 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
= 0;
33866 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33867 wxString
*arg2
= 0 ;
33870 bool temp2
= false ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 char * kwnames
[] = {
33874 (char *) "self",(char *) "toolTip", NULL
33877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33879 if (!SWIG_IsOK(res1
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33882 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33884 arg2
= wxString_in_helper(obj1
);
33885 if (arg2
== NULL
) SWIG_fail
;
33889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33890 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 resultobj
= SWIG_Py_Void();
33909 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33910 PyObject
*resultobj
= 0;
33911 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33915 PyObject
*swig_obj
[1] ;
33917 if (!args
) SWIG_fail
;
33918 swig_obj
[0] = args
;
33919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33920 if (!SWIG_IsOK(res1
)) {
33921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33923 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 result
= (arg1
)->GetToolTip();
33927 wxPyEndAllowThreads(__tstate
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33943 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33946 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33947 return SWIG_Py_Void();
33950 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33951 return SWIG_Python_InitShadowInstance(args
);
33954 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33955 PyObject
*resultobj
= 0;
33956 wxWindow
*arg1
= (wxWindow
*) 0 ;
33957 int arg2
= (int) -1 ;
33958 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33959 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33960 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33961 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33962 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33963 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33964 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33965 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33966 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33967 wxPyTreeCtrl
*result
= 0 ;
33978 bool temp7
= false ;
33979 PyObject
* obj0
= 0 ;
33980 PyObject
* obj1
= 0 ;
33981 PyObject
* obj2
= 0 ;
33982 PyObject
* obj3
= 0 ;
33983 PyObject
* obj4
= 0 ;
33984 PyObject
* obj5
= 0 ;
33985 PyObject
* obj6
= 0 ;
33986 char * kwnames
[] = {
33987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33992 if (!SWIG_IsOK(res1
)) {
33993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33998 if (!SWIG_IsOK(ecode2
)) {
33999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34001 arg2
= static_cast< int >(val2
);
34006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34012 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34016 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34017 if (!SWIG_IsOK(ecode5
)) {
34018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34020 arg5
= static_cast< long >(val5
);
34023 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34024 if (!SWIG_IsOK(res6
)) {
34025 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34030 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34034 arg7
= wxString_in_helper(obj6
);
34035 if (arg7
== NULL
) SWIG_fail
;
34040 if (!wxPyCheckForApp()) SWIG_fail
;
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34061 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34062 PyObject
*resultobj
= 0;
34063 wxPyTreeCtrl
*result
= 0 ;
34065 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34067 if (!wxPyCheckForApp()) SWIG_fail
;
34068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34069 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34080 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34081 PyObject
*resultobj
= 0;
34082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34083 wxWindow
*arg2
= (wxWindow
*) 0 ;
34084 int arg3
= (int) -1 ;
34085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34089 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34090 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34091 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34092 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34107 bool temp8
= false ;
34108 PyObject
* obj0
= 0 ;
34109 PyObject
* obj1
= 0 ;
34110 PyObject
* obj2
= 0 ;
34111 PyObject
* obj3
= 0 ;
34112 PyObject
* obj4
= 0 ;
34113 PyObject
* obj5
= 0 ;
34114 PyObject
* obj6
= 0 ;
34115 PyObject
* obj7
= 0 ;
34116 char * kwnames
[] = {
34117 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34122 if (!SWIG_IsOK(res1
)) {
34123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34125 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34127 if (!SWIG_IsOK(res2
)) {
34128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34130 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34133 if (!SWIG_IsOK(ecode3
)) {
34134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34136 arg3
= static_cast< int >(val3
);
34141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34151 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34152 if (!SWIG_IsOK(ecode6
)) {
34153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34155 arg6
= static_cast< long >(val6
);
34158 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34159 if (!SWIG_IsOK(res7
)) {
34160 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34165 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34169 arg8
= wxString_in_helper(obj7
);
34170 if (arg8
== NULL
) SWIG_fail
;
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34197 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
= 0;
34199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34200 PyObject
*arg2
= (PyObject
*) 0 ;
34201 PyObject
*arg3
= (PyObject
*) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 PyObject
* obj2
= 0 ;
34207 char * kwnames
[] = {
34208 (char *) "self",(char *) "self",(char *) "_class", NULL
34211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34213 if (!SWIG_IsOK(res1
)) {
34214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34216 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34222 wxPyEndAllowThreads(__tstate
);
34223 if (PyErr_Occurred()) SWIG_fail
;
34225 resultobj
= SWIG_Py_Void();
34232 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34233 PyObject
*resultobj
= 0;
34234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34235 unsigned int result
;
34238 PyObject
*swig_obj
[1] ;
34240 if (!args
) SWIG_fail
;
34241 swig_obj
[0] = args
;
34242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34243 if (!SWIG_IsOK(res1
)) {
34244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34246 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34260 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34261 PyObject
*resultobj
= 0;
34262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34263 unsigned int result
;
34266 PyObject
*swig_obj
[1] ;
34268 if (!args
) SWIG_fail
;
34269 swig_obj
[0] = args
;
34270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34271 if (!SWIG_IsOK(res1
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34274 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34278 wxPyEndAllowThreads(__tstate
);
34279 if (PyErr_Occurred()) SWIG_fail
;
34281 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34288 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34289 PyObject
*resultobj
= 0;
34290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34291 unsigned int arg2
;
34294 unsigned int val2
;
34296 PyObject
* obj0
= 0 ;
34297 PyObject
* obj1
= 0 ;
34298 char * kwnames
[] = {
34299 (char *) "self",(char *) "indent", NULL
34302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34304 if (!SWIG_IsOK(res1
)) {
34305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34307 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34308 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34309 if (!SWIG_IsOK(ecode2
)) {
34310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34312 arg2
= static_cast< unsigned int >(val2
);
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 (arg1
)->SetIndent(arg2
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 resultobj
= SWIG_Py_Void();
34326 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34327 PyObject
*resultobj
= 0;
34328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34329 unsigned int result
;
34332 PyObject
*swig_obj
[1] ;
34334 if (!args
) SWIG_fail
;
34335 swig_obj
[0] = args
;
34336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34337 if (!SWIG_IsOK(res1
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34340 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34347 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34354 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
= 0;
34356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34357 unsigned int arg2
;
34360 unsigned int val2
;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 char * kwnames
[] = {
34365 (char *) "self",(char *) "spacing", NULL
34368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",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_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34374 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34375 if (!SWIG_IsOK(ecode2
)) {
34376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34378 arg2
= static_cast< unsigned int >(val2
);
34380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34381 (arg1
)->SetSpacing(arg2
);
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34385 resultobj
= SWIG_Py_Void();
34392 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34393 PyObject
*resultobj
= 0;
34394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34395 wxImageList
*result
= 0 ;
34398 PyObject
*swig_obj
[1] ;
34400 if (!args
) SWIG_fail
;
34401 swig_obj
[0] = args
;
34402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34403 if (!SWIG_IsOK(res1
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34406 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34409 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34414 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34422 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34423 PyObject
*resultobj
= 0;
34424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34425 wxImageList
*result
= 0 ;
34428 PyObject
*swig_obj
[1] ;
34430 if (!args
) SWIG_fail
;
34431 swig_obj
[0] = args
;
34432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34433 if (!SWIG_IsOK(res1
)) {
34434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34436 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34439 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34440 wxPyEndAllowThreads(__tstate
);
34441 if (PyErr_Occurred()) SWIG_fail
;
34444 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34452 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34453 PyObject
*resultobj
= 0;
34454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34455 wxImageList
*arg2
= (wxImageList
*) 0 ;
34460 PyObject
* obj0
= 0 ;
34461 PyObject
* obj1
= 0 ;
34462 char * kwnames
[] = {
34463 (char *) "self",(char *) "imageList", NULL
34466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34468 if (!SWIG_IsOK(res1
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34471 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34473 if (!SWIG_IsOK(res2
)) {
34474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34476 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34479 (arg1
)->SetImageList(arg2
);
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34483 resultobj
= SWIG_Py_Void();
34490 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34491 PyObject
*resultobj
= 0;
34492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34493 wxImageList
*arg2
= (wxImageList
*) 0 ;
34498 PyObject
* obj0
= 0 ;
34499 PyObject
* obj1
= 0 ;
34500 char * kwnames
[] = {
34501 (char *) "self",(char *) "imageList", NULL
34504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34506 if (!SWIG_IsOK(res1
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34511 if (!SWIG_IsOK(res2
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34514 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 (arg1
)->SetStateImageList(arg2
);
34518 wxPyEndAllowThreads(__tstate
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= SWIG_Py_Void();
34528 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34529 PyObject
*resultobj
= 0;
34530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34531 wxImageList
*arg2
= (wxImageList
*) 0 ;
34535 PyObject
* obj0
= 0 ;
34536 PyObject
* obj1
= 0 ;
34537 char * kwnames
[] = {
34538 (char *) "self",(char *) "imageList", NULL
34541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34543 if (!SWIG_IsOK(res1
)) {
34544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34546 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34547 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34548 if (!SWIG_IsOK(res2
)) {
34549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34553 (arg1
)->AssignImageList(arg2
);
34554 wxPyEndAllowThreads(__tstate
);
34555 if (PyErr_Occurred()) SWIG_fail
;
34557 resultobj
= SWIG_Py_Void();
34564 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34565 PyObject
*resultobj
= 0;
34566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34567 wxImageList
*arg2
= (wxImageList
*) 0 ;
34571 PyObject
* obj0
= 0 ;
34572 PyObject
* obj1
= 0 ;
34573 char * kwnames
[] = {
34574 (char *) "self",(char *) "imageList", NULL
34577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34579 if (!SWIG_IsOK(res1
)) {
34580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34582 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34583 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34584 if (!SWIG_IsOK(res2
)) {
34585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34589 (arg1
)->AssignStateImageList(arg2
);
34590 wxPyEndAllowThreads(__tstate
);
34591 if (PyErr_Occurred()) SWIG_fail
;
34593 resultobj
= SWIG_Py_Void();
34600 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34601 PyObject
*resultobj
= 0;
34602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34603 wxTreeItemId
*arg2
= 0 ;
34609 PyObject
* obj0
= 0 ;
34610 PyObject
* obj1
= 0 ;
34611 char * kwnames
[] = {
34612 (char *) "self",(char *) "item", NULL
34615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34617 if (!SWIG_IsOK(res1
)) {
34618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34620 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34622 if (!SWIG_IsOK(res2
)) {
34623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34628 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34631 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34648 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
= 0;
34650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34651 wxTreeItemId
*arg2
= 0 ;
34652 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34660 PyObject
* obj0
= 0 ;
34661 PyObject
* obj1
= 0 ;
34662 PyObject
* obj2
= 0 ;
34663 char * kwnames
[] = {
34664 (char *) "self",(char *) "item",(char *) "which", NULL
34667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34669 if (!SWIG_IsOK(res1
)) {
34670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34672 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34674 if (!SWIG_IsOK(res2
)) {
34675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34680 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34683 if (!SWIG_IsOK(ecode3
)) {
34684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34686 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= SWIG_From_int(static_cast< int >(result
));
34701 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34702 PyObject
*resultobj
= 0;
34703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34704 wxTreeItemId
*arg2
= 0 ;
34705 wxPyTreeItemData
*result
= 0 ;
34710 PyObject
* obj0
= 0 ;
34711 PyObject
* obj1
= 0 ;
34712 char * kwnames
[] = {
34713 (char *) "self",(char *) "item", NULL
34716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34718 if (!SWIG_IsOK(res1
)) {
34719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34723 if (!SWIG_IsOK(res2
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34729 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34733 wxPyEndAllowThreads(__tstate
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34743 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34744 PyObject
*resultobj
= 0;
34745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34746 wxTreeItemId
*arg2
= 0 ;
34747 PyObject
*result
= 0 ;
34752 PyObject
* obj0
= 0 ;
34753 PyObject
* obj1
= 0 ;
34754 char * kwnames
[] = {
34755 (char *) "self",(char *) "item", NULL
34758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34760 if (!SWIG_IsOK(res1
)) {
34761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34763 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34765 if (!SWIG_IsOK(res2
)) {
34766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34771 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34774 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34778 resultobj
= result
;
34785 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34786 PyObject
*resultobj
= 0;
34787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34788 wxTreeItemId
*arg2
= 0 ;
34794 PyObject
* obj0
= 0 ;
34795 PyObject
* obj1
= 0 ;
34796 char * kwnames
[] = {
34797 (char *) "self",(char *) "item", NULL
34800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34802 if (!SWIG_IsOK(res1
)) {
34803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34805 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34807 if (!SWIG_IsOK(res2
)) {
34808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34813 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34817 wxPyEndAllowThreads(__tstate
);
34818 if (PyErr_Occurred()) SWIG_fail
;
34820 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34827 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
= 0;
34829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34830 wxTreeItemId
*arg2
= 0 ;
34836 PyObject
* obj0
= 0 ;
34837 PyObject
* obj1
= 0 ;
34838 char * kwnames
[] = {
34839 (char *) "self",(char *) "item", NULL
34842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34844 if (!SWIG_IsOK(res1
)) {
34845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34847 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34849 if (!SWIG_IsOK(res2
)) {
34850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34855 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34862 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34869 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34870 PyObject
*resultobj
= 0;
34871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34872 wxTreeItemId
*arg2
= 0 ;
34878 PyObject
* obj0
= 0 ;
34879 PyObject
* obj1
= 0 ;
34880 char * kwnames
[] = {
34881 (char *) "self",(char *) "item", NULL
34884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34886 if (!SWIG_IsOK(res1
)) {
34887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34889 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34891 if (!SWIG_IsOK(res2
)) {
34892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34897 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34900 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34904 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34911 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34912 PyObject
*resultobj
= 0;
34913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34914 wxTreeItemId
*arg2
= 0 ;
34915 wxString
*arg3
= 0 ;
34920 bool temp3
= false ;
34921 PyObject
* obj0
= 0 ;
34922 PyObject
* obj1
= 0 ;
34923 PyObject
* obj2
= 0 ;
34924 char * kwnames
[] = {
34925 (char *) "self",(char *) "item",(char *) "text", NULL
34928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34930 if (!SWIG_IsOK(res1
)) {
34931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34933 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34935 if (!SWIG_IsOK(res2
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34941 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34943 arg3
= wxString_in_helper(obj2
);
34944 if (arg3
== NULL
) SWIG_fail
;
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34953 resultobj
= SWIG_Py_Void();
34968 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34969 PyObject
*resultobj
= 0;
34970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34971 wxTreeItemId
*arg2
= 0 ;
34973 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34982 PyObject
* obj0
= 0 ;
34983 PyObject
* obj1
= 0 ;
34984 PyObject
* obj2
= 0 ;
34985 PyObject
* obj3
= 0 ;
34986 char * kwnames
[] = {
34987 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34992 if (!SWIG_IsOK(res1
)) {
34993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34995 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34997 if (!SWIG_IsOK(res2
)) {
34998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35003 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35005 if (!SWIG_IsOK(ecode3
)) {
35006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35008 arg3
= static_cast< int >(val3
);
35010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35011 if (!SWIG_IsOK(ecode4
)) {
35012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35014 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35018 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35019 wxPyEndAllowThreads(__tstate
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35022 resultobj
= SWIG_Py_Void();
35029 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35030 PyObject
*resultobj
= 0;
35031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35032 wxTreeItemId
*arg2
= 0 ;
35033 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35039 PyObject
* obj0
= 0 ;
35040 PyObject
* obj1
= 0 ;
35041 PyObject
* obj2
= 0 ;
35042 char * kwnames
[] = {
35043 (char *) "self",(char *) "item",(char *) "data", NULL
35046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35048 if (!SWIG_IsOK(res1
)) {
35049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35051 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35053 if (!SWIG_IsOK(res2
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35059 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35060 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35061 if (!SWIG_IsOK(res3
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35067 wxPyEndAllowThreads(__tstate
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35070 resultobj
= SWIG_Py_Void();
35077 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35078 PyObject
*resultobj
= 0;
35079 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35080 wxTreeItemId
*arg2
= 0 ;
35081 PyObject
*arg3
= (PyObject
*) 0 ;
35086 PyObject
* obj0
= 0 ;
35087 PyObject
* obj1
= 0 ;
35088 PyObject
* obj2
= 0 ;
35089 char * kwnames
[] = {
35090 (char *) "self",(char *) "item",(char *) "obj", NULL
35093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35095 if (!SWIG_IsOK(res1
)) {
35096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35098 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35100 if (!SWIG_IsOK(res2
)) {
35101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35106 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35111 wxPyEndAllowThreads(__tstate
);
35112 if (PyErr_Occurred()) SWIG_fail
;
35114 resultobj
= SWIG_Py_Void();
35121 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35122 PyObject
*resultobj
= 0;
35123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35124 wxTreeItemId
*arg2
= 0 ;
35125 bool arg3
= (bool) true ;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 PyObject
* obj2
= 0 ;
35135 char * kwnames
[] = {
35136 (char *) "self",(char *) "item",(char *) "has", NULL
35139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35141 if (!SWIG_IsOK(res1
)) {
35142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35144 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35146 if (!SWIG_IsOK(res2
)) {
35147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35152 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35154 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35155 if (!SWIG_IsOK(ecode3
)) {
35156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35158 arg3
= static_cast< bool >(val3
);
35161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35162 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35163 wxPyEndAllowThreads(__tstate
);
35164 if (PyErr_Occurred()) SWIG_fail
;
35166 resultobj
= SWIG_Py_Void();
35173 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35174 PyObject
*resultobj
= 0;
35175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35176 wxTreeItemId
*arg2
= 0 ;
35177 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 *) "bold", NULL
35191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",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_SetItemBold" "', 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_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', 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_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35210 arg3
= static_cast< bool >(val3
);
35213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35214 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35218 resultobj
= SWIG_Py_Void();
35225 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35226 PyObject
*resultobj
= 0;
35227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35228 wxTreeItemId
*arg2
= 0 ;
35229 bool arg3
= (bool) true ;
35236 PyObject
* obj0
= 0 ;
35237 PyObject
* obj1
= 0 ;
35238 PyObject
* obj2
= 0 ;
35239 char * kwnames
[] = {
35240 (char *) "self",(char *) "item",(char *) "highlight", NULL
35243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35245 if (!SWIG_IsOK(res1
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35248 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35250 if (!SWIG_IsOK(res2
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35256 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35258 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35259 if (!SWIG_IsOK(ecode3
)) {
35260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35262 arg3
= static_cast< bool >(val3
);
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35266 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= SWIG_Py_Void();
35277 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
= 0;
35279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35280 wxTreeItemId
*arg2
= 0 ;
35281 wxColour
*arg3
= 0 ;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 PyObject
* obj2
= 0 ;
35290 char * kwnames
[] = {
35291 (char *) "self",(char *) "item",(char *) "col", NULL
35294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35296 if (!SWIG_IsOK(res1
)) {
35297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35299 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35301 if (!SWIG_IsOK(res2
)) {
35302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35307 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35310 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35315 wxPyEndAllowThreads(__tstate
);
35316 if (PyErr_Occurred()) SWIG_fail
;
35318 resultobj
= SWIG_Py_Void();
35325 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35326 PyObject
*resultobj
= 0;
35327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35328 wxTreeItemId
*arg2
= 0 ;
35329 wxColour
*arg3
= 0 ;
35335 PyObject
* obj0
= 0 ;
35336 PyObject
* obj1
= 0 ;
35337 PyObject
* obj2
= 0 ;
35338 char * kwnames
[] = {
35339 (char *) "self",(char *) "item",(char *) "col", NULL
35342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35344 if (!SWIG_IsOK(res1
)) {
35345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35347 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35349 if (!SWIG_IsOK(res2
)) {
35350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35355 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35358 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= SWIG_Py_Void();
35373 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35376 wxTreeItemId
*arg2
= 0 ;
35384 PyObject
* obj0
= 0 ;
35385 PyObject
* obj1
= 0 ;
35386 PyObject
* obj2
= 0 ;
35387 char * kwnames
[] = {
35388 (char *) "self",(char *) "item",(char *) "font", NULL
35391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35393 if (!SWIG_IsOK(res1
)) {
35394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35396 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35398 if (!SWIG_IsOK(res2
)) {
35399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35404 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35405 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35406 if (!SWIG_IsOK(res3
)) {
35407 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35412 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35415 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35416 wxPyEndAllowThreads(__tstate
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= SWIG_Py_Void();
35426 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35427 PyObject
*resultobj
= 0;
35428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35429 wxTreeItemId
*arg2
= 0 ;
35435 PyObject
* obj0
= 0 ;
35436 PyObject
* obj1
= 0 ;
35437 char * kwnames
[] = {
35438 (char *) "self",(char *) "item", NULL
35441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35443 if (!SWIG_IsOK(res1
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35446 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35448 if (!SWIG_IsOK(res2
)) {
35449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35454 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35457 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35470 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
= 0;
35472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35473 wxTreeItemId
*arg2
= 0 ;
35479 PyObject
* obj0
= 0 ;
35480 PyObject
* obj1
= 0 ;
35481 char * kwnames
[] = {
35482 (char *) "self",(char *) "item", NULL
35485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35487 if (!SWIG_IsOK(res1
)) {
35488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35490 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35492 if (!SWIG_IsOK(res2
)) {
35493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35498 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35502 wxPyEndAllowThreads(__tstate
);
35503 if (PyErr_Occurred()) SWIG_fail
;
35506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35514 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35515 PyObject
*resultobj
= 0;
35516 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35517 wxTreeItemId
*arg2
= 0 ;
35523 PyObject
* obj0
= 0 ;
35524 PyObject
* obj1
= 0 ;
35525 char * kwnames
[] = {
35526 (char *) "self",(char *) "item", NULL
35529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35531 if (!SWIG_IsOK(res1
)) {
35532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35534 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35536 if (!SWIG_IsOK(res2
)) {
35537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35542 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35545 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35546 wxPyEndAllowThreads(__tstate
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35558 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
= 0;
35560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35561 wxTreeItemId
*arg2
= 0 ;
35567 PyObject
* obj0
= 0 ;
35568 PyObject
* obj1
= 0 ;
35569 char * kwnames
[] = {
35570 (char *) "self",(char *) "item", NULL
35573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35575 if (!SWIG_IsOK(res1
)) {
35576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35578 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35580 if (!SWIG_IsOK(res2
)) {
35581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35586 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35589 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35590 wxPyEndAllowThreads(__tstate
);
35591 if (PyErr_Occurred()) SWIG_fail
;
35594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35602 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
= 0;
35604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35605 wxTreeItemId
*arg2
= 0 ;
35611 PyObject
* obj0
= 0 ;
35612 PyObject
* obj1
= 0 ;
35613 char * kwnames
[] = {
35614 (char *) "self",(char *) "item", NULL
35617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35619 if (!SWIG_IsOK(res1
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35624 if (!SWIG_IsOK(res2
)) {
35625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35630 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35634 wxPyEndAllowThreads(__tstate
);
35635 if (PyErr_Occurred()) SWIG_fail
;
35638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35646 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35647 PyObject
*resultobj
= 0;
35648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35649 wxTreeItemId
*arg2
= 0 ;
35650 bool arg3
= (bool) true ;
35658 PyObject
* obj0
= 0 ;
35659 PyObject
* obj1
= 0 ;
35660 PyObject
* obj2
= 0 ;
35661 char * kwnames
[] = {
35662 (char *) "self",(char *) "item",(char *) "recursively", NULL
35665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35667 if (!SWIG_IsOK(res1
)) {
35668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35670 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35672 if (!SWIG_IsOK(res2
)) {
35673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35678 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35680 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35681 if (!SWIG_IsOK(ecode3
)) {
35682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35684 arg3
= static_cast< bool >(val3
);
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35689 wxPyEndAllowThreads(__tstate
);
35690 if (PyErr_Occurred()) SWIG_fail
;
35692 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35699 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35700 PyObject
*resultobj
= 0;
35701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35702 wxTreeItemId result
;
35705 PyObject
*swig_obj
[1] ;
35707 if (!args
) SWIG_fail
;
35708 swig_obj
[0] = args
;
35709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35710 if (!SWIG_IsOK(res1
)) {
35711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35713 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35716 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35717 wxPyEndAllowThreads(__tstate
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35720 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35727 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35728 PyObject
*resultobj
= 0;
35729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35730 wxTreeItemId result
;
35733 PyObject
*swig_obj
[1] ;
35735 if (!args
) SWIG_fail
;
35736 swig_obj
[0] = args
;
35737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35738 if (!SWIG_IsOK(res1
)) {
35739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35741 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35744 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35745 wxPyEndAllowThreads(__tstate
);
35746 if (PyErr_Occurred()) SWIG_fail
;
35748 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35755 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35756 PyObject
*resultobj
= 0;
35757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35758 PyObject
*result
= 0 ;
35761 PyObject
*swig_obj
[1] ;
35763 if (!args
) SWIG_fail
;
35764 swig_obj
[0] = args
;
35765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35766 if (!SWIG_IsOK(res1
)) {
35767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35769 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35772 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35773 wxPyEndAllowThreads(__tstate
);
35774 if (PyErr_Occurred()) SWIG_fail
;
35776 resultobj
= result
;
35783 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35784 PyObject
*resultobj
= 0;
35785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35786 wxTreeItemId
*arg2
= 0 ;
35787 wxTreeItemId result
;
35792 PyObject
* obj0
= 0 ;
35793 PyObject
* obj1
= 0 ;
35794 char * kwnames
[] = {
35795 (char *) "self",(char *) "item", NULL
35798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35800 if (!SWIG_IsOK(res1
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35803 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35805 if (!SWIG_IsOK(res2
)) {
35806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35811 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35814 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35815 wxPyEndAllowThreads(__tstate
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35818 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35825 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35826 PyObject
*resultobj
= 0;
35827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35828 wxTreeItemId
*arg2
= 0 ;
35829 PyObject
*result
= 0 ;
35834 PyObject
* obj0
= 0 ;
35835 PyObject
* obj1
= 0 ;
35836 char * kwnames
[] = {
35837 (char *) "self",(char *) "item", NULL
35840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35842 if (!SWIG_IsOK(res1
)) {
35843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35845 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35847 if (!SWIG_IsOK(res2
)) {
35848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35853 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35856 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35860 resultobj
= result
;
35867 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35868 PyObject
*resultobj
= 0;
35869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35870 wxTreeItemId
*arg2
= 0 ;
35871 void *arg3
= (void *) 0 ;
35872 PyObject
*result
= 0 ;
35878 PyObject
* obj0
= 0 ;
35879 PyObject
* obj1
= 0 ;
35880 PyObject
* obj2
= 0 ;
35881 char * kwnames
[] = {
35882 (char *) "self",(char *) "item",(char *) "cookie", NULL
35885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35887 if (!SWIG_IsOK(res1
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35890 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35892 if (!SWIG_IsOK(res2
)) {
35893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35898 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35899 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35900 if (!SWIG_IsOK(res3
)) {
35901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35905 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35906 wxPyEndAllowThreads(__tstate
);
35907 if (PyErr_Occurred()) SWIG_fail
;
35909 resultobj
= result
;
35916 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
= 0;
35918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35919 wxTreeItemId
*arg2
= 0 ;
35920 wxTreeItemId result
;
35925 PyObject
* obj0
= 0 ;
35926 PyObject
* obj1
= 0 ;
35927 char * kwnames
[] = {
35928 (char *) "self",(char *) "item", NULL
35931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35933 if (!SWIG_IsOK(res1
)) {
35934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35936 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35938 if (!SWIG_IsOK(res2
)) {
35939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35944 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35947 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35948 wxPyEndAllowThreads(__tstate
);
35949 if (PyErr_Occurred()) SWIG_fail
;
35951 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35958 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35959 PyObject
*resultobj
= 0;
35960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35961 wxTreeItemId
*arg2
= 0 ;
35962 wxTreeItemId result
;
35967 PyObject
* obj0
= 0 ;
35968 PyObject
* obj1
= 0 ;
35969 char * kwnames
[] = {
35970 (char *) "self",(char *) "item", NULL
35973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35975 if (!SWIG_IsOK(res1
)) {
35976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35978 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35980 if (!SWIG_IsOK(res2
)) {
35981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35986 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35989 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35990 wxPyEndAllowThreads(__tstate
);
35991 if (PyErr_Occurred()) SWIG_fail
;
35993 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36000 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36001 PyObject
*resultobj
= 0;
36002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36003 wxTreeItemId
*arg2
= 0 ;
36004 wxTreeItemId result
;
36009 PyObject
* obj0
= 0 ;
36010 PyObject
* obj1
= 0 ;
36011 char * kwnames
[] = {
36012 (char *) "self",(char *) "item", NULL
36015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36017 if (!SWIG_IsOK(res1
)) {
36018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36020 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36022 if (!SWIG_IsOK(res2
)) {
36023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36028 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36032 wxPyEndAllowThreads(__tstate
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36035 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36042 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36043 PyObject
*resultobj
= 0;
36044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36045 wxTreeItemId result
;
36048 PyObject
*swig_obj
[1] ;
36050 if (!args
) SWIG_fail
;
36051 swig_obj
[0] = args
;
36052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36053 if (!SWIG_IsOK(res1
)) {
36054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36056 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36059 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36060 wxPyEndAllowThreads(__tstate
);
36061 if (PyErr_Occurred()) SWIG_fail
;
36063 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36070 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36071 PyObject
*resultobj
= 0;
36072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36073 wxTreeItemId
*arg2
= 0 ;
36074 wxTreeItemId result
;
36079 PyObject
* obj0
= 0 ;
36080 PyObject
* obj1
= 0 ;
36081 char * kwnames
[] = {
36082 (char *) "self",(char *) "item", NULL
36085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36087 if (!SWIG_IsOK(res1
)) {
36088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36090 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36092 if (!SWIG_IsOK(res2
)) {
36093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36098 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36112 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36113 PyObject
*resultobj
= 0;
36114 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36115 wxTreeItemId
*arg2
= 0 ;
36116 wxTreeItemId result
;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 char * kwnames
[] = {
36124 (char *) "self",(char *) "item", NULL
36127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36129 if (!SWIG_IsOK(res1
)) {
36130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36132 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36134 if (!SWIG_IsOK(res2
)) {
36135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36140 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36143 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36154 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36155 PyObject
*resultobj
= 0;
36156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36157 wxString
*arg2
= 0 ;
36158 int arg3
= (int) -1 ;
36159 int arg4
= (int) -1 ;
36160 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36161 wxTreeItemId result
;
36164 bool temp2
= false ;
36170 PyObject
* obj0
= 0 ;
36171 PyObject
* obj1
= 0 ;
36172 PyObject
* obj2
= 0 ;
36173 PyObject
* obj3
= 0 ;
36174 PyObject
* obj4
= 0 ;
36175 char * kwnames
[] = {
36176 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36181 if (!SWIG_IsOK(res1
)) {
36182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36184 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36186 arg2
= wxString_in_helper(obj1
);
36187 if (arg2
== NULL
) SWIG_fail
;
36191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36192 if (!SWIG_IsOK(ecode3
)) {
36193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36195 arg3
= static_cast< int >(val3
);
36198 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36199 if (!SWIG_IsOK(ecode4
)) {
36200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36202 arg4
= static_cast< int >(val4
);
36205 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36206 if (!SWIG_IsOK(res5
)) {
36207 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36213 wxPyEndAllowThreads(__tstate
);
36214 if (PyErr_Occurred()) SWIG_fail
;
36216 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36231 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36232 PyObject
*resultobj
= 0;
36233 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36234 wxTreeItemId
*arg2
= 0 ;
36235 wxString
*arg3
= 0 ;
36236 int arg4
= (int) -1 ;
36237 int arg5
= (int) -1 ;
36238 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36239 wxTreeItemId result
;
36244 bool temp3
= false ;
36250 PyObject
* obj0
= 0 ;
36251 PyObject
* obj1
= 0 ;
36252 PyObject
* obj2
= 0 ;
36253 PyObject
* obj3
= 0 ;
36254 PyObject
* obj4
= 0 ;
36255 PyObject
* obj5
= 0 ;
36256 char * kwnames
[] = {
36257 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36262 if (!SWIG_IsOK(res1
)) {
36263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36265 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36267 if (!SWIG_IsOK(res2
)) {
36268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36273 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36275 arg3
= wxString_in_helper(obj2
);
36276 if (arg3
== NULL
) SWIG_fail
;
36280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36281 if (!SWIG_IsOK(ecode4
)) {
36282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36284 arg4
= static_cast< int >(val4
);
36287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36288 if (!SWIG_IsOK(ecode5
)) {
36289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36291 arg5
= static_cast< int >(val5
);
36294 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36295 if (!SWIG_IsOK(res6
)) {
36296 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36302 wxPyEndAllowThreads(__tstate
);
36303 if (PyErr_Occurred()) SWIG_fail
;
36305 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36320 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
= 0;
36322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36323 wxTreeItemId
*arg2
= 0 ;
36324 wxTreeItemId
*arg3
= 0 ;
36325 wxString
*arg4
= 0 ;
36326 int arg5
= (int) -1 ;
36327 int arg6
= (int) -1 ;
36328 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36329 wxTreeItemId result
;
36336 bool temp4
= false ;
36342 PyObject
* obj0
= 0 ;
36343 PyObject
* obj1
= 0 ;
36344 PyObject
* obj2
= 0 ;
36345 PyObject
* obj3
= 0 ;
36346 PyObject
* obj4
= 0 ;
36347 PyObject
* obj5
= 0 ;
36348 PyObject
* obj6
= 0 ;
36349 char * kwnames
[] = {
36350 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36355 if (!SWIG_IsOK(res1
)) {
36356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36358 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36360 if (!SWIG_IsOK(res2
)) {
36361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36366 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36367 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36368 if (!SWIG_IsOK(res3
)) {
36369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36374 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36376 arg4
= wxString_in_helper(obj3
);
36377 if (arg4
== NULL
) SWIG_fail
;
36381 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36382 if (!SWIG_IsOK(ecode5
)) {
36383 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36385 arg5
= static_cast< int >(val5
);
36388 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36389 if (!SWIG_IsOK(ecode6
)) {
36390 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36392 arg6
= static_cast< int >(val6
);
36395 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36396 if (!SWIG_IsOK(res7
)) {
36397 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36402 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36403 wxPyEndAllowThreads(__tstate
);
36404 if (PyErr_Occurred()) SWIG_fail
;
36406 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36421 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36422 PyObject
*resultobj
= 0;
36423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36424 wxTreeItemId
*arg2
= 0 ;
36426 wxString
*arg4
= 0 ;
36427 int arg5
= (int) -1 ;
36428 int arg6
= (int) -1 ;
36429 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36430 wxTreeItemId result
;
36437 bool temp4
= false ;
36443 PyObject
* obj0
= 0 ;
36444 PyObject
* obj1
= 0 ;
36445 PyObject
* obj2
= 0 ;
36446 PyObject
* obj3
= 0 ;
36447 PyObject
* obj4
= 0 ;
36448 PyObject
* obj5
= 0 ;
36449 PyObject
* obj6
= 0 ;
36450 char * kwnames
[] = {
36451 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36456 if (!SWIG_IsOK(res1
)) {
36457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36459 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36461 if (!SWIG_IsOK(res2
)) {
36462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36467 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36468 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36469 if (!SWIG_IsOK(ecode3
)) {
36470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36472 arg3
= static_cast< size_t >(val3
);
36474 arg4
= wxString_in_helper(obj3
);
36475 if (arg4
== NULL
) SWIG_fail
;
36479 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36480 if (!SWIG_IsOK(ecode5
)) {
36481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36483 arg5
= static_cast< int >(val5
);
36486 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36487 if (!SWIG_IsOK(ecode6
)) {
36488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36490 arg6
= static_cast< int >(val6
);
36493 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36494 if (!SWIG_IsOK(res7
)) {
36495 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36500 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36501 wxPyEndAllowThreads(__tstate
);
36502 if (PyErr_Occurred()) SWIG_fail
;
36504 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36519 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36520 PyObject
*resultobj
= 0;
36521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36522 wxTreeItemId
*arg2
= 0 ;
36523 wxString
*arg3
= 0 ;
36524 int arg4
= (int) -1 ;
36525 int arg5
= (int) -1 ;
36526 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36527 wxTreeItemId result
;
36532 bool temp3
= false ;
36538 PyObject
* obj0
= 0 ;
36539 PyObject
* obj1
= 0 ;
36540 PyObject
* obj2
= 0 ;
36541 PyObject
* obj3
= 0 ;
36542 PyObject
* obj4
= 0 ;
36543 PyObject
* obj5
= 0 ;
36544 char * kwnames
[] = {
36545 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36550 if (!SWIG_IsOK(res1
)) {
36551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36553 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36555 if (!SWIG_IsOK(res2
)) {
36556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36561 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36563 arg3
= wxString_in_helper(obj2
);
36564 if (arg3
== NULL
) SWIG_fail
;
36568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36569 if (!SWIG_IsOK(ecode4
)) {
36570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36572 arg4
= static_cast< int >(val4
);
36575 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36576 if (!SWIG_IsOK(ecode5
)) {
36577 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36579 arg5
= static_cast< int >(val5
);
36582 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36583 if (!SWIG_IsOK(res6
)) {
36584 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36589 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36590 wxPyEndAllowThreads(__tstate
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36593 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36608 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36609 PyObject
*resultobj
= 0;
36610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36611 wxTreeItemId
*arg2
= 0 ;
36616 PyObject
* obj0
= 0 ;
36617 PyObject
* obj1
= 0 ;
36618 char * kwnames
[] = {
36619 (char *) "self",(char *) "item", NULL
36622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36624 if (!SWIG_IsOK(res1
)) {
36625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36627 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36629 if (!SWIG_IsOK(res2
)) {
36630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36635 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 resultobj
= SWIG_Py_Void();
36649 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36650 PyObject
*resultobj
= 0;
36651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36652 wxTreeItemId
*arg2
= 0 ;
36657 PyObject
* obj0
= 0 ;
36658 PyObject
* obj1
= 0 ;
36659 char * kwnames
[] = {
36660 (char *) "self",(char *) "item", NULL
36663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36665 if (!SWIG_IsOK(res1
)) {
36666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36668 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36670 if (!SWIG_IsOK(res2
)) {
36671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36676 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36679 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36680 wxPyEndAllowThreads(__tstate
);
36681 if (PyErr_Occurred()) SWIG_fail
;
36683 resultobj
= SWIG_Py_Void();
36690 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36691 PyObject
*resultobj
= 0;
36692 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36695 PyObject
*swig_obj
[1] ;
36697 if (!args
) SWIG_fail
;
36698 swig_obj
[0] = args
;
36699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36700 if (!SWIG_IsOK(res1
)) {
36701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36703 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 (arg1
)->DeleteAllItems();
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 resultobj
= SWIG_Py_Void();
36717 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
= 0;
36719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36720 wxTreeItemId
*arg2
= 0 ;
36725 PyObject
* obj0
= 0 ;
36726 PyObject
* obj1
= 0 ;
36727 char * kwnames
[] = {
36728 (char *) "self",(char *) "item", NULL
36731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36733 if (!SWIG_IsOK(res1
)) {
36734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36736 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36737 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36738 if (!SWIG_IsOK(res2
)) {
36739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36744 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36747 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36748 wxPyEndAllowThreads(__tstate
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36751 resultobj
= SWIG_Py_Void();
36758 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
= 0;
36760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36761 wxTreeItemId
*arg2
= 0 ;
36766 PyObject
* obj0
= 0 ;
36767 PyObject
* obj1
= 0 ;
36768 char * kwnames
[] = {
36769 (char *) "self",(char *) "item", NULL
36772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36774 if (!SWIG_IsOK(res1
)) {
36775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36777 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36779 if (!SWIG_IsOK(res2
)) {
36780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36785 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36789 wxPyEndAllowThreads(__tstate
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36792 resultobj
= SWIG_Py_Void();
36799 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36800 PyObject
*resultobj
= 0;
36801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36804 PyObject
*swig_obj
[1] ;
36806 if (!args
) SWIG_fail
;
36807 swig_obj
[0] = args
;
36808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36809 if (!SWIG_IsOK(res1
)) {
36810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36812 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36815 (arg1
)->ExpandAll();
36816 wxPyEndAllowThreads(__tstate
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36819 resultobj
= SWIG_Py_Void();
36826 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36827 PyObject
*resultobj
= 0;
36828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36829 wxTreeItemId
*arg2
= 0 ;
36834 PyObject
* obj0
= 0 ;
36835 PyObject
* obj1
= 0 ;
36836 char * kwnames
[] = {
36837 (char *) "self",(char *) "item", NULL
36840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36842 if (!SWIG_IsOK(res1
)) {
36843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36845 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36847 if (!SWIG_IsOK(res2
)) {
36848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36853 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36856 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36857 wxPyEndAllowThreads(__tstate
);
36858 if (PyErr_Occurred()) SWIG_fail
;
36860 resultobj
= SWIG_Py_Void();
36867 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36868 PyObject
*resultobj
= 0;
36869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36870 wxTreeItemId
*arg2
= 0 ;
36875 PyObject
* obj0
= 0 ;
36876 PyObject
* obj1
= 0 ;
36877 char * kwnames
[] = {
36878 (char *) "self",(char *) "item", NULL
36881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36883 if (!SWIG_IsOK(res1
)) {
36884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36886 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36888 if (!SWIG_IsOK(res2
)) {
36889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36894 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36897 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36901 resultobj
= SWIG_Py_Void();
36908 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
= 0;
36910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36911 wxTreeItemId
*arg2
= 0 ;
36916 PyObject
* obj0
= 0 ;
36917 PyObject
* obj1
= 0 ;
36918 char * kwnames
[] = {
36919 (char *) "self",(char *) "item", NULL
36922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36924 if (!SWIG_IsOK(res1
)) {
36925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36927 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36929 if (!SWIG_IsOK(res2
)) {
36930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36935 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36942 resultobj
= SWIG_Py_Void();
36949 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36950 PyObject
*resultobj
= 0;
36951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36954 PyObject
*swig_obj
[1] ;
36956 if (!args
) SWIG_fail
;
36957 swig_obj
[0] = args
;
36958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36959 if (!SWIG_IsOK(res1
)) {
36960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36962 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 (arg1
)->Unselect();
36966 wxPyEndAllowThreads(__tstate
);
36967 if (PyErr_Occurred()) SWIG_fail
;
36969 resultobj
= SWIG_Py_Void();
36976 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36977 PyObject
*resultobj
= 0;
36978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36979 wxTreeItemId
*arg2
= 0 ;
36984 PyObject
* obj0
= 0 ;
36985 PyObject
* obj1
= 0 ;
36986 char * kwnames
[] = {
36987 (char *) "self",(char *) "item", NULL
36990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36992 if (!SWIG_IsOK(res1
)) {
36993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36995 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36997 if (!SWIG_IsOK(res2
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37003 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37006 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37007 wxPyEndAllowThreads(__tstate
);
37008 if (PyErr_Occurred()) SWIG_fail
;
37010 resultobj
= SWIG_Py_Void();
37017 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37018 PyObject
*resultobj
= 0;
37019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37022 PyObject
*swig_obj
[1] ;
37024 if (!args
) SWIG_fail
;
37025 swig_obj
[0] = args
;
37026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37027 if (!SWIG_IsOK(res1
)) {
37028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37030 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 (arg1
)->UnselectAll();
37034 wxPyEndAllowThreads(__tstate
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37037 resultobj
= SWIG_Py_Void();
37044 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37045 PyObject
*resultobj
= 0;
37046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37047 wxTreeItemId
*arg2
= 0 ;
37048 bool arg3
= (bool) true ;
37055 PyObject
* obj0
= 0 ;
37056 PyObject
* obj1
= 0 ;
37057 PyObject
* obj2
= 0 ;
37058 char * kwnames
[] = {
37059 (char *) "self",(char *) "item",(char *) "select", NULL
37062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37064 if (!SWIG_IsOK(res1
)) {
37065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37067 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37069 if (!SWIG_IsOK(res2
)) {
37070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37075 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37077 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37078 if (!SWIG_IsOK(ecode3
)) {
37079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37081 arg3
= static_cast< bool >(val3
);
37084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37085 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37086 wxPyEndAllowThreads(__tstate
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37089 resultobj
= SWIG_Py_Void();
37096 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37097 PyObject
*resultobj
= 0;
37098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37099 wxTreeItemId
*arg2
= 0 ;
37104 PyObject
* obj0
= 0 ;
37105 PyObject
* obj1
= 0 ;
37106 char * kwnames
[] = {
37107 (char *) "self",(char *) "item", NULL
37110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37112 if (!SWIG_IsOK(res1
)) {
37113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37115 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37117 if (!SWIG_IsOK(res2
)) {
37118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37123 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37126 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37127 wxPyEndAllowThreads(__tstate
);
37128 if (PyErr_Occurred()) SWIG_fail
;
37130 resultobj
= SWIG_Py_Void();
37137 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37138 PyObject
*resultobj
= 0;
37139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37140 wxTreeItemId
*arg2
= 0 ;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 char * kwnames
[] = {
37148 (char *) "self",(char *) "item", NULL
37151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37153 if (!SWIG_IsOK(res1
)) {
37154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37156 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37158 if (!SWIG_IsOK(res2
)) {
37159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37164 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37167 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37168 wxPyEndAllowThreads(__tstate
);
37169 if (PyErr_Occurred()) SWIG_fail
;
37171 resultobj
= SWIG_Py_Void();
37178 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37179 PyObject
*resultobj
= 0;
37180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37181 wxTreeItemId
*arg2
= 0 ;
37186 PyObject
* obj0
= 0 ;
37187 PyObject
* obj1
= 0 ;
37188 char * kwnames
[] = {
37189 (char *) "self",(char *) "item", NULL
37192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37194 if (!SWIG_IsOK(res1
)) {
37195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37197 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37199 if (!SWIG_IsOK(res2
)) {
37200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37208 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37209 wxPyEndAllowThreads(__tstate
);
37210 if (PyErr_Occurred()) SWIG_fail
;
37212 resultobj
= SWIG_Py_Void();
37219 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37220 PyObject
*resultobj
= 0;
37221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37222 wxTreeItemId
*arg2
= 0 ;
37227 PyObject
* obj0
= 0 ;
37228 PyObject
* obj1
= 0 ;
37229 char * kwnames
[] = {
37230 (char *) "self",(char *) "item", NULL
37233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37235 if (!SWIG_IsOK(res1
)) {
37236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37238 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37240 if (!SWIG_IsOK(res2
)) {
37241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37246 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37249 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37250 wxPyEndAllowThreads(__tstate
);
37251 if (PyErr_Occurred()) SWIG_fail
;
37253 resultobj
= SWIG_Py_Void();
37260 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37261 PyObject
*resultobj
= 0;
37262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37263 wxTextCtrl
*result
= 0 ;
37266 PyObject
*swig_obj
[1] ;
37268 if (!args
) SWIG_fail
;
37269 swig_obj
[0] = args
;
37270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37271 if (!SWIG_IsOK(res1
)) {
37272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37274 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37282 resultobj
= wxPyMake_wxObject(result
, 0);
37290 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37291 PyObject
*resultobj
= 0;
37292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37293 wxTreeItemId
*arg2
= 0 ;
37294 bool arg3
= (bool) false ;
37301 PyObject
* obj0
= 0 ;
37302 PyObject
* obj1
= 0 ;
37303 PyObject
* obj2
= 0 ;
37304 char * kwnames
[] = {
37305 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37310 if (!SWIG_IsOK(res1
)) {
37311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37313 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37314 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37315 if (!SWIG_IsOK(res2
)) {
37316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37321 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37323 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37324 if (!SWIG_IsOK(ecode3
)) {
37325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37327 arg3
= static_cast< bool >(val3
);
37330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37331 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37332 wxPyEndAllowThreads(__tstate
);
37333 if (PyErr_Occurred()) SWIG_fail
;
37335 resultobj
= SWIG_Py_Void();
37342 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37343 PyObject
*resultobj
= 0;
37344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37345 wxTreeItemId
*arg2
= 0 ;
37350 PyObject
* obj0
= 0 ;
37351 PyObject
* obj1
= 0 ;
37352 char * kwnames
[] = {
37353 (char *) "self",(char *) "item", NULL
37356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37358 if (!SWIG_IsOK(res1
)) {
37359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37361 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37363 if (!SWIG_IsOK(res2
)) {
37364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37369 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37372 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37373 wxPyEndAllowThreads(__tstate
);
37374 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= SWIG_Py_Void();
37383 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37384 PyObject
*resultobj
= 0;
37385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37386 wxPoint
*arg2
= 0 ;
37388 wxTreeItemId result
;
37393 int res3
= SWIG_TMPOBJ
;
37394 PyObject
* obj0
= 0 ;
37395 PyObject
* obj1
= 0 ;
37396 char * kwnames
[] = {
37397 (char *) "self",(char *) "point", NULL
37401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37403 if (!SWIG_IsOK(res1
)) {
37404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37406 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37413 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37418 if (SWIG_IsTmpObj(res3
)) {
37419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37421 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37430 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37431 PyObject
*resultobj
= 0;
37432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37433 wxTreeItemId
*arg2
= 0 ;
37434 bool arg3
= (bool) false ;
37435 PyObject
*result
= 0 ;
37442 PyObject
* obj0
= 0 ;
37443 PyObject
* obj1
= 0 ;
37444 PyObject
* obj2
= 0 ;
37445 char * kwnames
[] = {
37446 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37451 if (!SWIG_IsOK(res1
)) {
37452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37454 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37456 if (!SWIG_IsOK(res2
)) {
37457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37462 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37464 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37465 if (!SWIG_IsOK(ecode3
)) {
37466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37468 arg3
= static_cast< bool >(val3
);
37471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37472 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37473 wxPyEndAllowThreads(__tstate
);
37474 if (PyErr_Occurred()) SWIG_fail
;
37476 resultobj
= result
;
37483 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37484 PyObject
*resultobj
= 0;
37485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37486 wxTreeItemId
*arg2
= 0 ;
37494 PyObject
* obj0
= 0 ;
37495 PyObject
* obj1
= 0 ;
37496 PyObject
* obj2
= 0 ;
37497 char * kwnames
[] = {
37498 (char *) "self",(char *) "node",(char *) "state", NULL
37501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37503 if (!SWIG_IsOK(res1
)) {
37504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37506 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37508 if (!SWIG_IsOK(res2
)) {
37509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37514 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37516 if (!SWIG_IsOK(ecode3
)) {
37517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37519 arg3
= static_cast< int >(val3
);
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= SWIG_Py_Void();
37533 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37534 PyObject
*resultobj
= 0;
37535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37536 wxTreeItemId
*arg2
= 0 ;
37542 PyObject
* obj0
= 0 ;
37543 PyObject
* obj1
= 0 ;
37544 char * kwnames
[] = {
37545 (char *) "self",(char *) "node", NULL
37548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37550 if (!SWIG_IsOK(res1
)) {
37551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37553 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37555 if (!SWIG_IsOK(res2
)) {
37556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37561 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37564 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37565 wxPyEndAllowThreads(__tstate
);
37566 if (PyErr_Occurred()) SWIG_fail
;
37568 resultobj
= SWIG_From_int(static_cast< int >(result
));
37575 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37576 PyObject
*resultobj
= 0;
37577 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37578 SwigValueWrapper
<wxVisualAttributes
> result
;
37581 PyObject
* obj0
= 0 ;
37582 char * kwnames
[] = {
37583 (char *) "variant", NULL
37586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37588 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37589 if (!SWIG_IsOK(ecode1
)) {
37590 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37592 arg1
= static_cast< wxWindowVariant
>(val1
);
37595 if (!wxPyCheckForApp()) SWIG_fail
;
37596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37597 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37598 wxPyEndAllowThreads(__tstate
);
37599 if (PyErr_Occurred()) SWIG_fail
;
37601 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37608 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37609 PyObject
*resultobj
= 0;
37610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37616 PyObject
* obj0
= 0 ;
37617 PyObject
* obj1
= 0 ;
37618 char * kwnames
[] = {
37619 (char *) "self",(char *) "q", NULL
37622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37624 if (!SWIG_IsOK(res1
)) {
37625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37627 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37629 if (!SWIG_IsOK(ecode2
)) {
37630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37632 arg2
= static_cast< bool >(val2
);
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 (arg1
)->SetQuickBestSize(arg2
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 resultobj
= SWIG_Py_Void();
37646 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37647 PyObject
*resultobj
= 0;
37648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37652 PyObject
*swig_obj
[1] ;
37654 if (!args
) SWIG_fail
;
37655 swig_obj
[0] = args
;
37656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37657 if (!SWIG_IsOK(res1
)) {
37658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37660 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37663 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37664 wxPyEndAllowThreads(__tstate
);
37665 if (PyErr_Occurred()) SWIG_fail
;
37668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37676 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37679 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37680 return SWIG_Py_Void();
37683 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37684 return SWIG_Python_InitShadowInstance(args
);
37687 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37688 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37693 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37694 PyObject
*pyobj
= 0;
37698 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37700 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37707 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37708 PyObject
*resultobj
= 0;
37709 wxWindow
*arg1
= (wxWindow
*) 0 ;
37710 int arg2
= (int) (int)-1 ;
37711 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37712 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37717 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37718 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37719 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37720 int arg8
= (int) 0 ;
37721 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37722 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37723 wxGenericDirCtrl
*result
= 0 ;
37728 bool temp3
= false ;
37733 bool temp7
= false ;
37736 bool temp9
= false ;
37737 PyObject
* obj0
= 0 ;
37738 PyObject
* obj1
= 0 ;
37739 PyObject
* obj2
= 0 ;
37740 PyObject
* obj3
= 0 ;
37741 PyObject
* obj4
= 0 ;
37742 PyObject
* obj5
= 0 ;
37743 PyObject
* obj6
= 0 ;
37744 PyObject
* obj7
= 0 ;
37745 PyObject
* obj8
= 0 ;
37746 char * kwnames
[] = {
37747 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37752 if (!SWIG_IsOK(res1
)) {
37753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37755 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37758 if (!SWIG_IsOK(ecode2
)) {
37759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37761 arg2
= static_cast< int >(val2
);
37765 arg3
= wxString_in_helper(obj2
);
37766 if (arg3
== NULL
) SWIG_fail
;
37773 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37779 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37783 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37784 if (!SWIG_IsOK(ecode6
)) {
37785 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37787 arg6
= static_cast< long >(val6
);
37791 arg7
= wxString_in_helper(obj6
);
37792 if (arg7
== NULL
) SWIG_fail
;
37797 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37798 if (!SWIG_IsOK(ecode8
)) {
37799 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37801 arg8
= static_cast< int >(val8
);
37805 arg9
= wxString_in_helper(obj8
);
37806 if (arg9
== NULL
) SWIG_fail
;
37811 if (!wxPyCheckForApp()) SWIG_fail
;
37812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37813 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37814 wxPyEndAllowThreads(__tstate
);
37815 if (PyErr_Occurred()) SWIG_fail
;
37817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37848 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37849 PyObject
*resultobj
= 0;
37850 wxGenericDirCtrl
*result
= 0 ;
37852 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37854 if (!wxPyCheckForApp()) SWIG_fail
;
37855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37856 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37857 wxPyEndAllowThreads(__tstate
);
37858 if (PyErr_Occurred()) SWIG_fail
;
37860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37867 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37868 PyObject
*resultobj
= 0;
37869 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37870 wxWindow
*arg2
= (wxWindow
*) 0 ;
37871 int arg3
= (int) (int)-1 ;
37872 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37873 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37874 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37875 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37876 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37877 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37878 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37879 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37880 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37881 int arg9
= (int) 0 ;
37882 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37883 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37891 bool temp4
= false ;
37896 bool temp8
= false ;
37899 bool temp10
= false ;
37900 PyObject
* obj0
= 0 ;
37901 PyObject
* obj1
= 0 ;
37902 PyObject
* obj2
= 0 ;
37903 PyObject
* obj3
= 0 ;
37904 PyObject
* obj4
= 0 ;
37905 PyObject
* obj5
= 0 ;
37906 PyObject
* obj6
= 0 ;
37907 PyObject
* obj7
= 0 ;
37908 PyObject
* obj8
= 0 ;
37909 PyObject
* obj9
= 0 ;
37910 char * kwnames
[] = {
37911 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37916 if (!SWIG_IsOK(res1
)) {
37917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37919 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37921 if (!SWIG_IsOK(res2
)) {
37922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37924 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37927 if (!SWIG_IsOK(ecode3
)) {
37928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37930 arg3
= static_cast< int >(val3
);
37934 arg4
= wxString_in_helper(obj3
);
37935 if (arg4
== NULL
) SWIG_fail
;
37942 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37948 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37952 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37953 if (!SWIG_IsOK(ecode7
)) {
37954 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37956 arg7
= static_cast< long >(val7
);
37960 arg8
= wxString_in_helper(obj7
);
37961 if (arg8
== NULL
) SWIG_fail
;
37966 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37967 if (!SWIG_IsOK(ecode9
)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37970 arg9
= static_cast< int >(val9
);
37974 arg10
= wxString_in_helper(obj9
);
37975 if (arg10
== NULL
) SWIG_fail
;
37980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37981 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37982 wxPyEndAllowThreads(__tstate
);
37983 if (PyErr_Occurred()) SWIG_fail
;
37986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38018 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38019 PyObject
*resultobj
= 0;
38020 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38021 wxString
*arg2
= 0 ;
38025 bool temp2
= false ;
38026 PyObject
* obj0
= 0 ;
38027 PyObject
* obj1
= 0 ;
38028 char * kwnames
[] = {
38029 (char *) "self",(char *) "path", NULL
38032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38034 if (!SWIG_IsOK(res1
)) {
38035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38037 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38039 arg2
= wxString_in_helper(obj1
);
38040 if (arg2
== NULL
) SWIG_fail
;
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38066 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38067 PyObject
*resultobj
= 0;
38068 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38069 wxString
*arg2
= 0 ;
38073 bool temp2
= false ;
38074 PyObject
* obj0
= 0 ;
38075 PyObject
* obj1
= 0 ;
38076 char * kwnames
[] = {
38077 (char *) "self",(char *) "path", NULL
38080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38082 if (!SWIG_IsOK(res1
)) {
38083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38085 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38087 arg2
= wxString_in_helper(obj1
);
38088 if (arg2
== NULL
) SWIG_fail
;
38092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38093 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38094 wxPyEndAllowThreads(__tstate
);
38095 if (PyErr_Occurred()) SWIG_fail
;
38098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38114 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38115 PyObject
*resultobj
= 0;
38116 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38120 PyObject
*swig_obj
[1] ;
38122 if (!args
) SWIG_fail
;
38123 swig_obj
[0] = args
;
38124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38125 if (!SWIG_IsOK(res1
)) {
38126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38128 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38148 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38149 PyObject
*resultobj
= 0;
38150 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38151 wxString
*arg2
= 0 ;
38154 bool temp2
= false ;
38155 PyObject
* obj0
= 0 ;
38156 PyObject
* obj1
= 0 ;
38157 char * kwnames
[] = {
38158 (char *) "self",(char *) "path", NULL
38161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38163 if (!SWIG_IsOK(res1
)) {
38164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38166 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38168 arg2
= wxString_in_helper(obj1
);
38169 if (arg2
== NULL
) SWIG_fail
;
38173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38174 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38175 wxPyEndAllowThreads(__tstate
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38178 resultobj
= SWIG_Py_Void();
38193 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38194 PyObject
*resultobj
= 0;
38195 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38199 PyObject
*swig_obj
[1] ;
38201 if (!args
) SWIG_fail
;
38202 swig_obj
[0] = args
;
38203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38204 if (!SWIG_IsOK(res1
)) {
38205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38207 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38210 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38227 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38228 PyObject
*resultobj
= 0;
38229 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38233 PyObject
*swig_obj
[1] ;
38235 if (!args
) SWIG_fail
;
38236 swig_obj
[0] = args
;
38237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38238 if (!SWIG_IsOK(res1
)) {
38239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38241 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38261 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38262 PyObject
*resultobj
= 0;
38263 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38264 wxString
*arg2
= 0 ;
38267 bool temp2
= false ;
38268 PyObject
* obj0
= 0 ;
38269 PyObject
* obj1
= 0 ;
38270 char * kwnames
[] = {
38271 (char *) "self",(char *) "path", NULL
38274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38276 if (!SWIG_IsOK(res1
)) {
38277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38279 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38281 arg2
= wxString_in_helper(obj1
);
38282 if (arg2
== NULL
) SWIG_fail
;
38286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38287 (arg1
)->SetPath((wxString
const &)*arg2
);
38288 wxPyEndAllowThreads(__tstate
);
38289 if (PyErr_Occurred()) SWIG_fail
;
38291 resultobj
= SWIG_Py_Void();
38306 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38307 PyObject
*resultobj
= 0;
38308 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38314 PyObject
* obj0
= 0 ;
38315 PyObject
* obj1
= 0 ;
38316 char * kwnames
[] = {
38317 (char *) "self",(char *) "show", NULL
38320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38322 if (!SWIG_IsOK(res1
)) {
38323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38325 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38326 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38327 if (!SWIG_IsOK(ecode2
)) {
38328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38330 arg2
= static_cast< bool >(val2
);
38332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38333 (arg1
)->ShowHidden(arg2
);
38334 wxPyEndAllowThreads(__tstate
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38337 resultobj
= SWIG_Py_Void();
38344 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38345 PyObject
*resultobj
= 0;
38346 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38350 PyObject
*swig_obj
[1] ;
38352 if (!args
) SWIG_fail
;
38353 swig_obj
[0] = args
;
38354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38355 if (!SWIG_IsOK(res1
)) {
38356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38358 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38361 result
= (bool)(arg1
)->GetShowHidden();
38362 wxPyEndAllowThreads(__tstate
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38374 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38375 PyObject
*resultobj
= 0;
38376 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38380 PyObject
*swig_obj
[1] ;
38382 if (!args
) SWIG_fail
;
38383 swig_obj
[0] = args
;
38384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38385 if (!SWIG_IsOK(res1
)) {
38386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38388 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38392 wxPyEndAllowThreads(__tstate
);
38393 if (PyErr_Occurred()) SWIG_fail
;
38397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38408 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38409 PyObject
*resultobj
= 0;
38410 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38411 wxString
*arg2
= 0 ;
38414 bool temp2
= false ;
38415 PyObject
* obj0
= 0 ;
38416 PyObject
* obj1
= 0 ;
38417 char * kwnames
[] = {
38418 (char *) "self",(char *) "filter", NULL
38421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38423 if (!SWIG_IsOK(res1
)) {
38424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38426 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38428 arg2
= wxString_in_helper(obj1
);
38429 if (arg2
== NULL
) SWIG_fail
;
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 (arg1
)->SetFilter((wxString
const &)*arg2
);
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_Py_Void();
38453 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38454 PyObject
*resultobj
= 0;
38455 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38459 PyObject
*swig_obj
[1] ;
38461 if (!args
) SWIG_fail
;
38462 swig_obj
[0] = args
;
38463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38464 if (!SWIG_IsOK(res1
)) {
38465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38467 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38470 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38474 resultobj
= SWIG_From_int(static_cast< int >(result
));
38481 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38482 PyObject
*resultobj
= 0;
38483 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38489 PyObject
* obj0
= 0 ;
38490 PyObject
* obj1
= 0 ;
38491 char * kwnames
[] = {
38492 (char *) "self",(char *) "n", NULL
38495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38497 if (!SWIG_IsOK(res1
)) {
38498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38500 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38502 if (!SWIG_IsOK(ecode2
)) {
38503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38505 arg2
= static_cast< int >(val2
);
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 (arg1
)->SetFilterIndex(arg2
);
38509 wxPyEndAllowThreads(__tstate
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38512 resultobj
= SWIG_Py_Void();
38519 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38520 PyObject
*resultobj
= 0;
38521 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38522 wxTreeItemId result
;
38525 PyObject
*swig_obj
[1] ;
38527 if (!args
) SWIG_fail
;
38528 swig_obj
[0] = args
;
38529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38530 if (!SWIG_IsOK(res1
)) {
38531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38533 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38536 result
= (arg1
)->GetRootId();
38537 wxPyEndAllowThreads(__tstate
);
38538 if (PyErr_Occurred()) SWIG_fail
;
38540 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38547 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38548 PyObject
*resultobj
= 0;
38549 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38550 wxPyTreeCtrl
*result
= 0 ;
38553 PyObject
*swig_obj
[1] ;
38555 if (!args
) SWIG_fail
;
38556 swig_obj
[0] = args
;
38557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38558 if (!SWIG_IsOK(res1
)) {
38559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38561 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38564 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38569 resultobj
= wxPyMake_wxObject(result
, 0);
38577 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38578 PyObject
*resultobj
= 0;
38579 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38580 wxDirFilterListCtrl
*result
= 0 ;
38583 PyObject
*swig_obj
[1] ;
38585 if (!args
) SWIG_fail
;
38586 swig_obj
[0] = args
;
38587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38588 if (!SWIG_IsOK(res1
)) {
38589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38591 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38594 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38595 wxPyEndAllowThreads(__tstate
);
38596 if (PyErr_Occurred()) SWIG_fail
;
38598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38605 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38606 PyObject
*resultobj
= 0;
38607 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38608 wxTreeItemId arg2
;
38609 wxString
*arg3
= 0 ;
38611 wxTreeItemId result
;
38616 bool temp3
= false ;
38618 int res4
= SWIG_TMPOBJ
;
38619 PyObject
* obj0
= 0 ;
38620 PyObject
* obj1
= 0 ;
38621 PyObject
* obj2
= 0 ;
38622 char * kwnames
[] = {
38623 (char *) "self",(char *) "parentId",(char *) "path", NULL
38627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38629 if (!SWIG_IsOK(res1
)) {
38630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38632 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38635 if (!SWIG_IsOK(res2
)) {
38636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38641 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38643 if (SWIG_IsNewObj(res2
)) delete temp
;
38647 arg3
= wxString_in_helper(obj2
);
38648 if (arg3
== NULL
) SWIG_fail
;
38652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38653 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38654 wxPyEndAllowThreads(__tstate
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38657 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38658 if (SWIG_IsTmpObj(res4
)) {
38659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38661 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38678 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38679 PyObject
*resultobj
= 0;
38680 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38683 PyObject
*swig_obj
[1] ;
38685 if (!args
) SWIG_fail
;
38686 swig_obj
[0] = args
;
38687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38688 if (!SWIG_IsOK(res1
)) {
38689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38691 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 (arg1
)->DoResize();
38695 wxPyEndAllowThreads(__tstate
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38698 resultobj
= SWIG_Py_Void();
38705 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38706 PyObject
*resultobj
= 0;
38707 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38710 PyObject
*swig_obj
[1] ;
38712 if (!args
) SWIG_fail
;
38713 swig_obj
[0] = args
;
38714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38715 if (!SWIG_IsOK(res1
)) {
38716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38718 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38721 (arg1
)->ReCreateTree();
38722 wxPyEndAllowThreads(__tstate
);
38723 if (PyErr_Occurred()) SWIG_fail
;
38725 resultobj
= SWIG_Py_Void();
38732 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38735 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38736 return SWIG_Py_Void();
38739 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38740 return SWIG_Python_InitShadowInstance(args
);
38743 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38744 PyObject
*resultobj
= 0;
38745 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38746 int arg2
= (int) (int)-1 ;
38747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38751 long arg5
= (long) 0 ;
38752 wxDirFilterListCtrl
*result
= 0 ;
38761 PyObject
* obj0
= 0 ;
38762 PyObject
* obj1
= 0 ;
38763 PyObject
* obj2
= 0 ;
38764 PyObject
* obj3
= 0 ;
38765 PyObject
* obj4
= 0 ;
38766 char * kwnames
[] = {
38767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38772 if (!SWIG_IsOK(res1
)) {
38773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38775 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38778 if (!SWIG_IsOK(ecode2
)) {
38779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38781 arg2
= static_cast< int >(val2
);
38786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38792 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38796 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38797 if (!SWIG_IsOK(ecode5
)) {
38798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38800 arg5
= static_cast< long >(val5
);
38803 if (!wxPyCheckForApp()) SWIG_fail
;
38804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38805 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38806 wxPyEndAllowThreads(__tstate
);
38807 if (PyErr_Occurred()) SWIG_fail
;
38809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38816 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38817 PyObject
*resultobj
= 0;
38818 wxDirFilterListCtrl
*result
= 0 ;
38820 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38822 if (!wxPyCheckForApp()) SWIG_fail
;
38823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38824 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38825 wxPyEndAllowThreads(__tstate
);
38826 if (PyErr_Occurred()) SWIG_fail
;
38828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38835 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38836 PyObject
*resultobj
= 0;
38837 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38838 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38839 int arg3
= (int) (int)-1 ;
38840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38844 long arg6
= (long) 0 ;
38856 PyObject
* obj0
= 0 ;
38857 PyObject
* obj1
= 0 ;
38858 PyObject
* obj2
= 0 ;
38859 PyObject
* obj3
= 0 ;
38860 PyObject
* obj4
= 0 ;
38861 PyObject
* obj5
= 0 ;
38862 char * kwnames
[] = {
38863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38868 if (!SWIG_IsOK(res1
)) {
38869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38871 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38873 if (!SWIG_IsOK(res2
)) {
38874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38876 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38879 if (!SWIG_IsOK(ecode3
)) {
38880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38882 arg3
= static_cast< int >(val3
);
38887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38897 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38898 if (!SWIG_IsOK(ecode6
)) {
38899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38901 arg6
= static_cast< long >(val6
);
38904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38905 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38906 wxPyEndAllowThreads(__tstate
);
38907 if (PyErr_Occurred()) SWIG_fail
;
38910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38918 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38919 PyObject
*resultobj
= 0;
38920 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38921 wxString
*arg2
= 0 ;
38925 bool temp2
= false ;
38928 PyObject
* obj0
= 0 ;
38929 PyObject
* obj1
= 0 ;
38930 PyObject
* obj2
= 0 ;
38931 char * kwnames
[] = {
38932 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38937 if (!SWIG_IsOK(res1
)) {
38938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38940 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38942 arg2
= wxString_in_helper(obj1
);
38943 if (arg2
== NULL
) SWIG_fail
;
38946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38947 if (!SWIG_IsOK(ecode3
)) {
38948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38950 arg3
= static_cast< int >(val3
);
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38954 wxPyEndAllowThreads(__tstate
);
38955 if (PyErr_Occurred()) SWIG_fail
;
38957 resultobj
= SWIG_Py_Void();
38972 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38975 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38976 return SWIG_Py_Void();
38979 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38980 return SWIG_Python_InitShadowInstance(args
);
38983 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38984 PyObject
*resultobj
= 0;
38985 wxWindow
*arg1
= (wxWindow
*) 0 ;
38986 int arg2
= (int) (int)-1 ;
38987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38989 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38990 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38991 long arg5
= (long) 0 ;
38992 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38993 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38994 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38995 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38996 wxPyControl
*result
= 0 ;
39007 bool temp7
= false ;
39008 PyObject
* obj0
= 0 ;
39009 PyObject
* obj1
= 0 ;
39010 PyObject
* obj2
= 0 ;
39011 PyObject
* obj3
= 0 ;
39012 PyObject
* obj4
= 0 ;
39013 PyObject
* obj5
= 0 ;
39014 PyObject
* obj6
= 0 ;
39015 char * kwnames
[] = {
39016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39021 if (!SWIG_IsOK(res1
)) {
39022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39024 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39027 if (!SWIG_IsOK(ecode2
)) {
39028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39030 arg2
= static_cast< int >(val2
);
39035 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39041 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39045 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39046 if (!SWIG_IsOK(ecode5
)) {
39047 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39049 arg5
= static_cast< long >(val5
);
39052 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39053 if (!SWIG_IsOK(res6
)) {
39054 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39059 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39063 arg7
= wxString_in_helper(obj6
);
39064 if (arg7
== NULL
) SWIG_fail
;
39069 if (!wxPyCheckForApp()) SWIG_fail
;
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39072 wxPyEndAllowThreads(__tstate
);
39073 if (PyErr_Occurred()) SWIG_fail
;
39075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39090 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39091 PyObject
*resultobj
= 0;
39092 wxPyControl
*result
= 0 ;
39094 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39096 if (!wxPyCheckForApp()) SWIG_fail
;
39097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39098 result
= (wxPyControl
*)new wxPyControl();
39099 wxPyEndAllowThreads(__tstate
);
39100 if (PyErr_Occurred()) SWIG_fail
;
39102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39109 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39110 PyObject
*resultobj
= 0;
39111 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39112 PyObject
*arg2
= (PyObject
*) 0 ;
39113 PyObject
*arg3
= (PyObject
*) 0 ;
39116 PyObject
* obj0
= 0 ;
39117 PyObject
* obj1
= 0 ;
39118 PyObject
* obj2
= 0 ;
39119 char * kwnames
[] = {
39120 (char *) "self",(char *) "self",(char *) "_class", NULL
39123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39125 if (!SWIG_IsOK(res1
)) {
39126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39128 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39133 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39134 wxPyEndAllowThreads(__tstate
);
39135 if (PyErr_Occurred()) SWIG_fail
;
39137 resultobj
= SWIG_Py_Void();
39144 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39145 PyObject
*resultobj
= 0;
39146 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39147 wxDC
*arg2
= (wxDC
*) 0 ;
39153 PyObject
* obj0
= 0 ;
39154 PyObject
* obj1
= 0 ;
39155 char * kwnames
[] = {
39156 (char *) "self",(char *) "dc", NULL
39159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39161 if (!SWIG_IsOK(res1
)) {
39162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39164 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39166 if (!SWIG_IsOK(res2
)) {
39167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39169 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39172 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39173 wxPyEndAllowThreads(__tstate
);
39174 if (PyErr_Occurred()) SWIG_fail
;
39177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39185 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39186 PyObject
*resultobj
= 0;
39187 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39202 PyObject
* obj0
= 0 ;
39203 PyObject
* obj1
= 0 ;
39204 PyObject
* obj2
= 0 ;
39205 PyObject
* obj3
= 0 ;
39206 PyObject
* obj4
= 0 ;
39207 char * kwnames
[] = {
39208 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39213 if (!SWIG_IsOK(res1
)) {
39214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39216 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39218 if (!SWIG_IsOK(ecode2
)) {
39219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39221 arg2
= static_cast< int >(val2
);
39222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39223 if (!SWIG_IsOK(ecode3
)) {
39224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39226 arg3
= static_cast< int >(val3
);
39227 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39228 if (!SWIG_IsOK(ecode4
)) {
39229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39231 arg4
= static_cast< int >(val4
);
39232 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39233 if (!SWIG_IsOK(ecode5
)) {
39234 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39236 arg5
= static_cast< int >(val5
);
39238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39239 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39240 wxPyEndAllowThreads(__tstate
);
39241 if (PyErr_Occurred()) SWIG_fail
;
39243 resultobj
= SWIG_Py_Void();
39250 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39251 PyObject
*resultobj
= 0;
39252 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39257 int arg6
= (int) wxSIZE_AUTO
;
39270 PyObject
* obj0
= 0 ;
39271 PyObject
* obj1
= 0 ;
39272 PyObject
* obj2
= 0 ;
39273 PyObject
* obj3
= 0 ;
39274 PyObject
* obj4
= 0 ;
39275 PyObject
* obj5
= 0 ;
39276 char * kwnames
[] = {
39277 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39282 if (!SWIG_IsOK(res1
)) {
39283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39285 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39287 if (!SWIG_IsOK(ecode2
)) {
39288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39290 arg2
= static_cast< int >(val2
);
39291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39292 if (!SWIG_IsOK(ecode3
)) {
39293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39295 arg3
= static_cast< int >(val3
);
39296 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39297 if (!SWIG_IsOK(ecode4
)) {
39298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39300 arg4
= static_cast< int >(val4
);
39301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39302 if (!SWIG_IsOK(ecode5
)) {
39303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39305 arg5
= static_cast< int >(val5
);
39307 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39308 if (!SWIG_IsOK(ecode6
)) {
39309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39311 arg6
= static_cast< int >(val6
);
39314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39315 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39316 wxPyEndAllowThreads(__tstate
);
39317 if (PyErr_Occurred()) SWIG_fail
;
39319 resultobj
= SWIG_Py_Void();
39326 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39327 PyObject
*resultobj
= 0;
39328 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39337 PyObject
* obj0
= 0 ;
39338 PyObject
* obj1
= 0 ;
39339 PyObject
* obj2
= 0 ;
39340 char * kwnames
[] = {
39341 (char *) "self",(char *) "width",(char *) "height", NULL
39344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39346 if (!SWIG_IsOK(res1
)) {
39347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39349 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39351 if (!SWIG_IsOK(ecode2
)) {
39352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39354 arg2
= static_cast< int >(val2
);
39355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39356 if (!SWIG_IsOK(ecode3
)) {
39357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39359 arg3
= static_cast< int >(val3
);
39361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39362 (arg1
)->DoSetClientSize(arg2
,arg3
);
39363 wxPyEndAllowThreads(__tstate
);
39364 if (PyErr_Occurred()) SWIG_fail
;
39366 resultobj
= SWIG_Py_Void();
39373 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39374 PyObject
*resultobj
= 0;
39375 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39384 PyObject
* obj0
= 0 ;
39385 PyObject
* obj1
= 0 ;
39386 PyObject
* obj2
= 0 ;
39387 char * kwnames
[] = {
39388 (char *) "self",(char *) "x",(char *) "y", NULL
39391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39393 if (!SWIG_IsOK(res1
)) {
39394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39396 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39398 if (!SWIG_IsOK(ecode2
)) {
39399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39401 arg2
= static_cast< int >(val2
);
39402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39403 if (!SWIG_IsOK(ecode3
)) {
39404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39406 arg3
= static_cast< int >(val3
);
39408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39409 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39410 wxPyEndAllowThreads(__tstate
);
39411 if (PyErr_Occurred()) SWIG_fail
;
39413 resultobj
= SWIG_Py_Void();
39420 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39421 PyObject
*resultobj
= 0;
39422 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39423 int *arg2
= (int *) 0 ;
39424 int *arg3
= (int *) 0 ;
39428 int res2
= SWIG_TMPOBJ
;
39430 int res3
= SWIG_TMPOBJ
;
39431 PyObject
*swig_obj
[1] ;
39435 if (!args
) SWIG_fail
;
39436 swig_obj
[0] = args
;
39437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39438 if (!SWIG_IsOK(res1
)) {
39439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39441 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39444 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39445 wxPyEndAllowThreads(__tstate
);
39446 if (PyErr_Occurred()) SWIG_fail
;
39448 resultobj
= SWIG_Py_Void();
39449 if (SWIG_IsTmpObj(res2
)) {
39450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39452 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39455 if (SWIG_IsTmpObj(res3
)) {
39456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39458 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39467 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39468 PyObject
*resultobj
= 0;
39469 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39470 int *arg2
= (int *) 0 ;
39471 int *arg3
= (int *) 0 ;
39475 int res2
= SWIG_TMPOBJ
;
39477 int res3
= SWIG_TMPOBJ
;
39478 PyObject
*swig_obj
[1] ;
39482 if (!args
) SWIG_fail
;
39483 swig_obj
[0] = args
;
39484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39485 if (!SWIG_IsOK(res1
)) {
39486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39488 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39491 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39492 wxPyEndAllowThreads(__tstate
);
39493 if (PyErr_Occurred()) SWIG_fail
;
39495 resultobj
= SWIG_Py_Void();
39496 if (SWIG_IsTmpObj(res2
)) {
39497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39499 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39502 if (SWIG_IsTmpObj(res3
)) {
39503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39505 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39514 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39515 PyObject
*resultobj
= 0;
39516 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39517 int *arg2
= (int *) 0 ;
39518 int *arg3
= (int *) 0 ;
39522 int res2
= SWIG_TMPOBJ
;
39524 int res3
= SWIG_TMPOBJ
;
39525 PyObject
*swig_obj
[1] ;
39529 if (!args
) SWIG_fail
;
39530 swig_obj
[0] = args
;
39531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39532 if (!SWIG_IsOK(res1
)) {
39533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39535 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39538 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39539 wxPyEndAllowThreads(__tstate
);
39540 if (PyErr_Occurred()) SWIG_fail
;
39542 resultobj
= SWIG_Py_Void();
39543 if (SWIG_IsTmpObj(res2
)) {
39544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39546 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39549 if (SWIG_IsTmpObj(res3
)) {
39550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39552 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39561 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39562 PyObject
*resultobj
= 0;
39563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39567 PyObject
*swig_obj
[1] ;
39569 if (!args
) SWIG_fail
;
39570 swig_obj
[0] = args
;
39571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39572 if (!SWIG_IsOK(res1
)) {
39573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39575 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39578 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39579 wxPyEndAllowThreads(__tstate
);
39580 if (PyErr_Occurred()) SWIG_fail
;
39582 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39589 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39590 PyObject
*resultobj
= 0;
39591 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39595 PyObject
*swig_obj
[1] ;
39597 if (!args
) SWIG_fail
;
39598 swig_obj
[0] = args
;
39599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39600 if (!SWIG_IsOK(res1
)) {
39601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39603 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39606 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39607 wxPyEndAllowThreads(__tstate
);
39608 if (PyErr_Occurred()) SWIG_fail
;
39610 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39617 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39618 PyObject
*resultobj
= 0;
39619 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39620 SwigValueWrapper
<wxVisualAttributes
> result
;
39623 PyObject
*swig_obj
[1] ;
39625 if (!args
) SWIG_fail
;
39626 swig_obj
[0] = args
;
39627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39628 if (!SWIG_IsOK(res1
)) {
39629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39631 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39634 result
= (arg1
)->GetDefaultAttributes();
39635 wxPyEndAllowThreads(__tstate
);
39636 if (PyErr_Occurred()) SWIG_fail
;
39638 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39645 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39646 PyObject
*resultobj
= 0;
39647 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39650 PyObject
*swig_obj
[1] ;
39652 if (!args
) SWIG_fail
;
39653 swig_obj
[0] = args
;
39654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39655 if (!SWIG_IsOK(res1
)) {
39656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39658 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39661 (arg1
)->OnInternalIdle();
39662 wxPyEndAllowThreads(__tstate
);
39663 if (PyErr_Occurred()) SWIG_fail
;
39665 resultobj
= SWIG_Py_Void();
39672 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39675 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39676 return SWIG_Py_Void();
39679 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39680 return SWIG_Python_InitShadowInstance(args
);
39683 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39684 PyObject
*resultobj
= 0;
39685 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39686 int arg2
= (int) 0 ;
39687 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39688 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39689 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39690 wxHelpEvent
*result
= 0 ;
39698 PyObject
* obj0
= 0 ;
39699 PyObject
* obj1
= 0 ;
39700 PyObject
* obj2
= 0 ;
39701 PyObject
* obj3
= 0 ;
39702 char * kwnames
[] = {
39703 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39708 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39709 if (!SWIG_IsOK(ecode1
)) {
39710 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39712 arg1
= static_cast< wxEventType
>(val1
);
39715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39716 if (!SWIG_IsOK(ecode2
)) {
39717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39719 arg2
= static_cast< int >(val2
);
39724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39729 if (!SWIG_IsOK(ecode4
)) {
39730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39732 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39736 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39737 wxPyEndAllowThreads(__tstate
);
39738 if (PyErr_Occurred()) SWIG_fail
;
39740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39747 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39748 PyObject
*resultobj
= 0;
39749 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39753 PyObject
*swig_obj
[1] ;
39755 if (!args
) SWIG_fail
;
39756 swig_obj
[0] = args
;
39757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39758 if (!SWIG_IsOK(res1
)) {
39759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39761 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39764 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39765 wxPyEndAllowThreads(__tstate
);
39766 if (PyErr_Occurred()) SWIG_fail
;
39768 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39775 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39776 PyObject
*resultobj
= 0;
39777 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39778 wxPoint
*arg2
= 0 ;
39782 PyObject
* obj0
= 0 ;
39783 PyObject
* obj1
= 0 ;
39784 char * kwnames
[] = {
39785 (char *) "self",(char *) "pos", NULL
39788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39790 if (!SWIG_IsOK(res1
)) {
39791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39793 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39800 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39801 wxPyEndAllowThreads(__tstate
);
39802 if (PyErr_Occurred()) SWIG_fail
;
39804 resultobj
= SWIG_Py_Void();
39811 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39812 PyObject
*resultobj
= 0;
39813 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39814 wxString
*result
= 0 ;
39817 PyObject
*swig_obj
[1] ;
39819 if (!args
) SWIG_fail
;
39820 swig_obj
[0] = args
;
39821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39822 if (!SWIG_IsOK(res1
)) {
39823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39825 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39829 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39830 result
= (wxString
*) &_result_ref
;
39832 wxPyEndAllowThreads(__tstate
);
39833 if (PyErr_Occurred()) SWIG_fail
;
39837 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39839 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39848 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39849 PyObject
*resultobj
= 0;
39850 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39851 wxString
*arg2
= 0 ;
39854 bool temp2
= false ;
39855 PyObject
* obj0
= 0 ;
39856 PyObject
* obj1
= 0 ;
39857 char * kwnames
[] = {
39858 (char *) "self",(char *) "link", NULL
39861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39863 if (!SWIG_IsOK(res1
)) {
39864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39866 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39868 arg2
= wxString_in_helper(obj1
);
39869 if (arg2
== NULL
) SWIG_fail
;
39873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39874 (arg1
)->SetLink((wxString
const &)*arg2
);
39875 wxPyEndAllowThreads(__tstate
);
39876 if (PyErr_Occurred()) SWIG_fail
;
39878 resultobj
= SWIG_Py_Void();
39893 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39894 PyObject
*resultobj
= 0;
39895 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39896 wxString
*result
= 0 ;
39899 PyObject
*swig_obj
[1] ;
39901 if (!args
) SWIG_fail
;
39902 swig_obj
[0] = args
;
39903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39904 if (!SWIG_IsOK(res1
)) {
39905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39907 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39912 result
= (wxString
*) &_result_ref
;
39914 wxPyEndAllowThreads(__tstate
);
39915 if (PyErr_Occurred()) SWIG_fail
;
39919 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39921 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39930 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39931 PyObject
*resultobj
= 0;
39932 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39933 wxString
*arg2
= 0 ;
39936 bool temp2
= false ;
39937 PyObject
* obj0
= 0 ;
39938 PyObject
* obj1
= 0 ;
39939 char * kwnames
[] = {
39940 (char *) "self",(char *) "target", NULL
39943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39945 if (!SWIG_IsOK(res1
)) {
39946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39948 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39950 arg2
= wxString_in_helper(obj1
);
39951 if (arg2
== NULL
) SWIG_fail
;
39955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39956 (arg1
)->SetTarget((wxString
const &)*arg2
);
39957 wxPyEndAllowThreads(__tstate
);
39958 if (PyErr_Occurred()) SWIG_fail
;
39960 resultobj
= SWIG_Py_Void();
39975 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39976 PyObject
*resultobj
= 0;
39977 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39978 wxHelpEvent::Origin result
;
39981 PyObject
*swig_obj
[1] ;
39983 if (!args
) SWIG_fail
;
39984 swig_obj
[0] = args
;
39985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39986 if (!SWIG_IsOK(res1
)) {
39987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39989 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39992 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39993 wxPyEndAllowThreads(__tstate
);
39994 if (PyErr_Occurred()) SWIG_fail
;
39996 resultobj
= SWIG_From_int(static_cast< int >(result
));
40003 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40004 PyObject
*resultobj
= 0;
40005 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40006 wxHelpEvent::Origin arg2
;
40011 PyObject
* obj0
= 0 ;
40012 PyObject
* obj1
= 0 ;
40013 char * kwnames
[] = {
40014 (char *) "self",(char *) "origin", NULL
40017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40019 if (!SWIG_IsOK(res1
)) {
40020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40022 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40024 if (!SWIG_IsOK(ecode2
)) {
40025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40027 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 (arg1
)->SetOrigin(arg2
);
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 resultobj
= SWIG_Py_Void();
40041 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40044 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40045 return SWIG_Py_Void();
40048 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40049 return SWIG_Python_InitShadowInstance(args
);
40052 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40053 PyObject
*resultobj
= 0;
40054 wxWindow
*arg1
= (wxWindow
*) NULL
;
40055 bool arg2
= (bool) true ;
40056 wxContextHelp
*result
= 0 ;
40061 PyObject
* obj0
= 0 ;
40062 PyObject
* obj1
= 0 ;
40063 char * kwnames
[] = {
40064 (char *) "window",(char *) "doNow", NULL
40067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40070 if (!SWIG_IsOK(res1
)) {
40071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40076 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40077 if (!SWIG_IsOK(ecode2
)) {
40078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40080 arg2
= static_cast< bool >(val2
);
40083 if (!wxPyCheckForApp()) SWIG_fail
;
40084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40085 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40096 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40097 PyObject
*resultobj
= 0;
40098 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40101 PyObject
*swig_obj
[1] ;
40103 if (!args
) SWIG_fail
;
40104 swig_obj
[0] = args
;
40105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40106 if (!SWIG_IsOK(res1
)) {
40107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40109 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40114 wxPyEndAllowThreads(__tstate
);
40115 if (PyErr_Occurred()) SWIG_fail
;
40117 resultobj
= SWIG_Py_Void();
40124 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40125 PyObject
*resultobj
= 0;
40126 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40127 wxWindow
*arg2
= (wxWindow
*) NULL
;
40133 PyObject
* obj0
= 0 ;
40134 PyObject
* obj1
= 0 ;
40135 char * kwnames
[] = {
40136 (char *) "self",(char *) "window", NULL
40139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40141 if (!SWIG_IsOK(res1
)) {
40142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40144 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40147 if (!SWIG_IsOK(res2
)) {
40148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40150 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40154 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40155 wxPyEndAllowThreads(__tstate
);
40156 if (PyErr_Occurred()) SWIG_fail
;
40159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40167 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40168 PyObject
*resultobj
= 0;
40169 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40173 PyObject
*swig_obj
[1] ;
40175 if (!args
) SWIG_fail
;
40176 swig_obj
[0] = args
;
40177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40178 if (!SWIG_IsOK(res1
)) {
40179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40181 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40184 result
= (bool)(arg1
)->EndContextHelp();
40185 wxPyEndAllowThreads(__tstate
);
40186 if (PyErr_Occurred()) SWIG_fail
;
40189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40197 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40200 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40201 return SWIG_Py_Void();
40204 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40205 return SWIG_Python_InitShadowInstance(args
);
40208 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40209 PyObject
*resultobj
= 0;
40210 wxWindow
*arg1
= (wxWindow
*) 0 ;
40211 int arg2
= (int) wxID_CONTEXT_HELP
;
40212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40216 long arg5
= (long) wxBU_AUTODRAW
;
40217 wxContextHelpButton
*result
= 0 ;
40226 PyObject
* obj0
= 0 ;
40227 PyObject
* obj1
= 0 ;
40228 PyObject
* obj2
= 0 ;
40229 PyObject
* obj3
= 0 ;
40230 PyObject
* obj4
= 0 ;
40231 char * kwnames
[] = {
40232 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40237 if (!SWIG_IsOK(res1
)) {
40238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40240 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40243 if (!SWIG_IsOK(ecode2
)) {
40244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40246 arg2
= static_cast< int >(val2
);
40251 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40257 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40261 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40262 if (!SWIG_IsOK(ecode5
)) {
40263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40265 arg5
= static_cast< long >(val5
);
40268 if (!wxPyCheckForApp()) SWIG_fail
;
40269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40270 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40271 wxPyEndAllowThreads(__tstate
);
40272 if (PyErr_Occurred()) SWIG_fail
;
40274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40281 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40284 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40285 return SWIG_Py_Void();
40288 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40289 return SWIG_Python_InitShadowInstance(args
);
40292 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40293 PyObject
*resultobj
= 0;
40294 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40297 PyObject
*swig_obj
[1] ;
40299 if (!args
) SWIG_fail
;
40300 swig_obj
[0] = args
;
40301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40302 if (!SWIG_IsOK(res1
)) {
40303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40305 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40310 wxPyEndAllowThreads(__tstate
);
40311 if (PyErr_Occurred()) SWIG_fail
;
40313 resultobj
= SWIG_Py_Void();
40320 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40321 PyObject
*resultobj
= 0;
40322 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40323 wxHelpProvider
*result
= 0 ;
40325 PyObject
* obj0
= 0 ;
40326 char * kwnames
[] = {
40327 (char *) "helpProvider", NULL
40330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40331 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40332 if (!SWIG_IsOK(res1
)) {
40333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40337 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40348 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40349 PyObject
*resultobj
= 0;
40350 wxHelpProvider
*result
= 0 ;
40352 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40355 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40356 wxPyEndAllowThreads(__tstate
);
40357 if (PyErr_Occurred()) SWIG_fail
;
40359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40366 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40367 PyObject
*resultobj
= 0;
40368 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40369 wxWindow
*arg2
= (wxWindow
*) 0 ;
40375 PyObject
* obj0
= 0 ;
40376 PyObject
* obj1
= 0 ;
40377 char * kwnames
[] = {
40378 (char *) "self",(char *) "window", NULL
40381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40383 if (!SWIG_IsOK(res1
)) {
40384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40386 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40388 if (!SWIG_IsOK(res2
)) {
40389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40394 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40395 wxPyEndAllowThreads(__tstate
);
40396 if (PyErr_Occurred()) SWIG_fail
;
40400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40411 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40412 PyObject
*resultobj
= 0;
40413 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40414 wxWindow
*arg2
= (wxWindow
*) 0 ;
40420 PyObject
* obj0
= 0 ;
40421 PyObject
* obj1
= 0 ;
40422 char * kwnames
[] = {
40423 (char *) "self",(char *) "window", NULL
40426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40428 if (!SWIG_IsOK(res1
)) {
40429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40431 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40433 if (!SWIG_IsOK(res2
)) {
40434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40436 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40439 result
= (bool)(arg1
)->ShowHelp(arg2
);
40440 wxPyEndAllowThreads(__tstate
);
40441 if (PyErr_Occurred()) SWIG_fail
;
40444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40452 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40453 PyObject
*resultobj
= 0;
40454 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40455 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40456 wxPoint
*arg3
= 0 ;
40457 wxHelpEvent::Origin arg4
;
40466 PyObject
* obj0
= 0 ;
40467 PyObject
* obj1
= 0 ;
40468 PyObject
* obj2
= 0 ;
40469 PyObject
* obj3
= 0 ;
40470 char * kwnames
[] = {
40471 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40476 if (!SWIG_IsOK(res1
)) {
40477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40479 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40481 if (!SWIG_IsOK(res2
)) {
40482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40484 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40487 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40490 if (!SWIG_IsOK(ecode4
)) {
40491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40493 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40496 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40497 wxPyEndAllowThreads(__tstate
);
40498 if (PyErr_Occurred()) SWIG_fail
;
40501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40509 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40510 PyObject
*resultobj
= 0;
40511 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40512 wxWindow
*arg2
= (wxWindow
*) 0 ;
40513 wxString
*arg3
= 0 ;
40518 bool temp3
= false ;
40519 PyObject
* obj0
= 0 ;
40520 PyObject
* obj1
= 0 ;
40521 PyObject
* obj2
= 0 ;
40522 char * kwnames
[] = {
40523 (char *) "self",(char *) "window",(char *) "text", NULL
40526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40528 if (!SWIG_IsOK(res1
)) {
40529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40531 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40533 if (!SWIG_IsOK(res2
)) {
40534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40536 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40538 arg3
= wxString_in_helper(obj2
);
40539 if (arg3
== NULL
) SWIG_fail
;
40543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40544 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40545 wxPyEndAllowThreads(__tstate
);
40546 if (PyErr_Occurred()) SWIG_fail
;
40548 resultobj
= SWIG_Py_Void();
40563 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40564 PyObject
*resultobj
= 0;
40565 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40567 wxString
*arg3
= 0 ;
40572 bool temp3
= false ;
40573 PyObject
* obj0
= 0 ;
40574 PyObject
* obj1
= 0 ;
40575 PyObject
* obj2
= 0 ;
40576 char * kwnames
[] = {
40577 (char *) "self",(char *) "id",(char *) "text", NULL
40580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40582 if (!SWIG_IsOK(res1
)) {
40583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40585 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40587 if (!SWIG_IsOK(ecode2
)) {
40588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40590 arg2
= static_cast< int >(val2
);
40592 arg3
= wxString_in_helper(obj2
);
40593 if (arg3
== NULL
) SWIG_fail
;
40597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40598 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40599 wxPyEndAllowThreads(__tstate
);
40600 if (PyErr_Occurred()) SWIG_fail
;
40602 resultobj
= SWIG_Py_Void();
40617 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40618 PyObject
*resultobj
= 0;
40619 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40620 wxWindow
*arg2
= (wxWindow
*) 0 ;
40625 PyObject
* obj0
= 0 ;
40626 PyObject
* obj1
= 0 ;
40627 char * kwnames
[] = {
40628 (char *) "self",(char *) "window", NULL
40631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40633 if (!SWIG_IsOK(res1
)) {
40634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40636 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40638 if (!SWIG_IsOK(res2
)) {
40639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40644 (arg1
)->RemoveHelp(arg2
);
40645 wxPyEndAllowThreads(__tstate
);
40646 if (PyErr_Occurred()) SWIG_fail
;
40648 resultobj
= SWIG_Py_Void();
40655 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40656 PyObject
*resultobj
= 0;
40657 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40660 PyObject
*swig_obj
[1] ;
40662 if (!args
) SWIG_fail
;
40663 swig_obj
[0] = args
;
40664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40665 if (!SWIG_IsOK(res1
)) {
40666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40668 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40671 wxHelpProvider_Destroy(arg1
);
40672 wxPyEndAllowThreads(__tstate
);
40673 if (PyErr_Occurred()) SWIG_fail
;
40675 resultobj
= SWIG_Py_Void();
40682 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40685 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40686 return SWIG_Py_Void();
40689 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40690 PyObject
*resultobj
= 0;
40691 wxSimpleHelpProvider
*result
= 0 ;
40693 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40696 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40697 wxPyEndAllowThreads(__tstate
);
40698 if (PyErr_Occurred()) SWIG_fail
;
40700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40707 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40710 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40711 return SWIG_Py_Void();
40714 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40715 return SWIG_Python_InitShadowInstance(args
);
40718 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40719 PyObject
*resultobj
= 0;
40720 wxBitmap
*arg1
= 0 ;
40721 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40722 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40723 wxGenericDragImage
*result
= 0 ;
40728 PyObject
* obj0
= 0 ;
40729 PyObject
* obj1
= 0 ;
40730 char * kwnames
[] = {
40731 (char *) "image",(char *) "cursor", NULL
40734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40735 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40736 if (!SWIG_IsOK(res1
)) {
40737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40742 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40745 if (!SWIG_IsOK(res2
)) {
40746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40751 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40754 if (!wxPyCheckForApp()) SWIG_fail
;
40755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40756 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40757 wxPyEndAllowThreads(__tstate
);
40758 if (PyErr_Occurred()) SWIG_fail
;
40760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40767 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40768 PyObject
*resultobj
= 0;
40770 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40771 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40772 wxGenericDragImage
*result
= 0 ;
40777 PyObject
* obj0
= 0 ;
40778 PyObject
* obj1
= 0 ;
40779 char * kwnames
[] = {
40780 (char *) "image",(char *) "cursor", NULL
40783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40784 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40785 if (!SWIG_IsOK(res1
)) {
40786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40791 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40794 if (!SWIG_IsOK(res2
)) {
40795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40800 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40803 if (!wxPyCheckForApp()) SWIG_fail
;
40804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40805 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40806 wxPyEndAllowThreads(__tstate
);
40807 if (PyErr_Occurred()) SWIG_fail
;
40809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40816 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40817 PyObject
*resultobj
= 0;
40818 wxString
*arg1
= 0 ;
40819 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40820 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40821 wxGenericDragImage
*result
= 0 ;
40822 bool temp1
= false ;
40825 PyObject
* obj0
= 0 ;
40826 PyObject
* obj1
= 0 ;
40827 char * kwnames
[] = {
40828 (char *) "str",(char *) "cursor", NULL
40831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40833 arg1
= wxString_in_helper(obj0
);
40834 if (arg1
== NULL
) SWIG_fail
;
40838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40839 if (!SWIG_IsOK(res2
)) {
40840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40845 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40848 if (!wxPyCheckForApp()) SWIG_fail
;
40849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40850 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40851 wxPyEndAllowThreads(__tstate
);
40852 if (PyErr_Occurred()) SWIG_fail
;
40854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40869 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40870 PyObject
*resultobj
= 0;
40871 wxPyTreeCtrl
*arg1
= 0 ;
40872 wxTreeItemId
*arg2
= 0 ;
40873 wxGenericDragImage
*result
= 0 ;
40878 PyObject
* obj0
= 0 ;
40879 PyObject
* obj1
= 0 ;
40880 char * kwnames
[] = {
40881 (char *) "treeCtrl",(char *) "id", NULL
40884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40885 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40886 if (!SWIG_IsOK(res1
)) {
40887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40892 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40894 if (!SWIG_IsOK(res2
)) {
40895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40900 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40902 if (!wxPyCheckForApp()) SWIG_fail
;
40903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40904 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40905 wxPyEndAllowThreads(__tstate
);
40906 if (PyErr_Occurred()) SWIG_fail
;
40908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40915 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40916 PyObject
*resultobj
= 0;
40917 wxPyListCtrl
*arg1
= 0 ;
40919 wxGenericDragImage
*result
= 0 ;
40924 PyObject
* obj0
= 0 ;
40925 PyObject
* obj1
= 0 ;
40926 char * kwnames
[] = {
40927 (char *) "listCtrl",(char *) "id", NULL
40930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40931 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40932 if (!SWIG_IsOK(res1
)) {
40933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40938 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40940 if (!SWIG_IsOK(ecode2
)) {
40941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40943 arg2
= static_cast< long >(val2
);
40945 if (!wxPyCheckForApp()) SWIG_fail
;
40946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40947 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40948 wxPyEndAllowThreads(__tstate
);
40949 if (PyErr_Occurred()) SWIG_fail
;
40951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40958 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40959 PyObject
*resultobj
= 0;
40960 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40963 PyObject
*swig_obj
[1] ;
40965 if (!args
) SWIG_fail
;
40966 swig_obj
[0] = args
;
40967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40968 if (!SWIG_IsOK(res1
)) {
40969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40971 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40979 resultobj
= SWIG_Py_Void();
40986 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40987 PyObject
*resultobj
= 0;
40988 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40989 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40994 PyObject
* obj0
= 0 ;
40995 PyObject
* obj1
= 0 ;
40996 char * kwnames
[] = {
40997 (char *) "self",(char *) "bitmap", NULL
41000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41002 if (!SWIG_IsOK(res1
)) {
41003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41005 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41007 if (!SWIG_IsOK(res2
)) {
41008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41010 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41013 (arg1
)->SetBackingBitmap(arg2
);
41014 wxPyEndAllowThreads(__tstate
);
41015 if (PyErr_Occurred()) SWIG_fail
;
41017 resultobj
= SWIG_Py_Void();
41024 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41025 PyObject
*resultobj
= 0;
41026 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41027 wxPoint
*arg2
= 0 ;
41028 wxWindow
*arg3
= (wxWindow
*) 0 ;
41029 bool arg4
= (bool) false ;
41030 wxRect
*arg5
= (wxRect
*) NULL
;
41041 PyObject
* obj0
= 0 ;
41042 PyObject
* obj1
= 0 ;
41043 PyObject
* obj2
= 0 ;
41044 PyObject
* obj3
= 0 ;
41045 PyObject
* obj4
= 0 ;
41046 char * kwnames
[] = {
41047 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41052 if (!SWIG_IsOK(res1
)) {
41053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41055 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41060 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41061 if (!SWIG_IsOK(res3
)) {
41062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41064 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41066 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41067 if (!SWIG_IsOK(ecode4
)) {
41068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41070 arg4
= static_cast< bool >(val4
);
41073 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41074 if (!SWIG_IsOK(res5
)) {
41075 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41077 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41081 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41082 wxPyEndAllowThreads(__tstate
);
41083 if (PyErr_Occurred()) SWIG_fail
;
41086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41094 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41095 PyObject
*resultobj
= 0;
41096 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41097 wxPoint
*arg2
= 0 ;
41098 wxWindow
*arg3
= (wxWindow
*) 0 ;
41099 wxWindow
*arg4
= (wxWindow
*) 0 ;
41108 PyObject
* obj0
= 0 ;
41109 PyObject
* obj1
= 0 ;
41110 PyObject
* obj2
= 0 ;
41111 PyObject
* obj3
= 0 ;
41112 char * kwnames
[] = {
41113 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41118 if (!SWIG_IsOK(res1
)) {
41119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41121 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41126 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41127 if (!SWIG_IsOK(res3
)) {
41128 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41130 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41131 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41132 if (!SWIG_IsOK(res4
)) {
41133 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41135 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41138 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41139 wxPyEndAllowThreads(__tstate
);
41140 if (PyErr_Occurred()) SWIG_fail
;
41143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41151 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41152 PyObject
*resultobj
= 0;
41153 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41157 PyObject
*swig_obj
[1] ;
41159 if (!args
) SWIG_fail
;
41160 swig_obj
[0] = args
;
41161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41162 if (!SWIG_IsOK(res1
)) {
41163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41165 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41168 result
= (bool)(arg1
)->EndDrag();
41169 wxPyEndAllowThreads(__tstate
);
41170 if (PyErr_Occurred()) SWIG_fail
;
41173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41181 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41182 PyObject
*resultobj
= 0;
41183 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41184 wxPoint
*arg2
= 0 ;
41189 PyObject
* obj0
= 0 ;
41190 PyObject
* obj1
= 0 ;
41191 char * kwnames
[] = {
41192 (char *) "self",(char *) "pt", NULL
41195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41197 if (!SWIG_IsOK(res1
)) {
41198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41200 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41207 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41208 wxPyEndAllowThreads(__tstate
);
41209 if (PyErr_Occurred()) SWIG_fail
;
41212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41220 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41221 PyObject
*resultobj
= 0;
41222 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41226 PyObject
*swig_obj
[1] ;
41228 if (!args
) SWIG_fail
;
41229 swig_obj
[0] = args
;
41230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41231 if (!SWIG_IsOK(res1
)) {
41232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41234 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41237 result
= (bool)(arg1
)->Show();
41238 wxPyEndAllowThreads(__tstate
);
41239 if (PyErr_Occurred()) SWIG_fail
;
41242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41250 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41251 PyObject
*resultobj
= 0;
41252 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41256 PyObject
*swig_obj
[1] ;
41258 if (!args
) SWIG_fail
;
41259 swig_obj
[0] = args
;
41260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41261 if (!SWIG_IsOK(res1
)) {
41262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41264 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41267 result
= (bool)(arg1
)->Hide();
41268 wxPyEndAllowThreads(__tstate
);
41269 if (PyErr_Occurred()) SWIG_fail
;
41272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41280 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41281 PyObject
*resultobj
= 0;
41282 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41283 wxPoint
*arg2
= 0 ;
41288 PyObject
* obj0
= 0 ;
41289 PyObject
* obj1
= 0 ;
41290 char * kwnames
[] = {
41291 (char *) "self",(char *) "pos", NULL
41294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41296 if (!SWIG_IsOK(res1
)) {
41297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41299 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41306 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41307 wxPyEndAllowThreads(__tstate
);
41308 if (PyErr_Occurred()) SWIG_fail
;
41310 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41317 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41318 PyObject
*resultobj
= 0;
41319 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41321 wxPoint
*arg3
= 0 ;
41328 PyObject
* obj0
= 0 ;
41329 PyObject
* obj1
= 0 ;
41330 PyObject
* obj2
= 0 ;
41331 char * kwnames
[] = {
41332 (char *) "self",(char *) "dc",(char *) "pos", NULL
41335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41337 if (!SWIG_IsOK(res1
)) {
41338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41340 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41342 if (!SWIG_IsOK(res2
)) {
41343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41348 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41351 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41355 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41356 wxPyEndAllowThreads(__tstate
);
41357 if (PyErr_Occurred()) SWIG_fail
;
41360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41368 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41369 PyObject
*resultobj
= 0;
41370 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41372 wxMemoryDC
*arg3
= 0 ;
41384 PyObject
* obj0
= 0 ;
41385 PyObject
* obj1
= 0 ;
41386 PyObject
* obj2
= 0 ;
41387 PyObject
* obj3
= 0 ;
41388 PyObject
* obj4
= 0 ;
41389 char * kwnames
[] = {
41390 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41395 if (!SWIG_IsOK(res1
)) {
41396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41398 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41399 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41400 if (!SWIG_IsOK(res2
)) {
41401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41406 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41407 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41408 if (!SWIG_IsOK(res3
)) {
41409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41414 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41417 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41421 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41425 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41426 wxPyEndAllowThreads(__tstate
);
41427 if (PyErr_Occurred()) SWIG_fail
;
41430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41438 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41439 PyObject
*resultobj
= 0;
41440 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41441 wxPoint
*arg2
= 0 ;
41442 wxPoint
*arg3
= 0 ;
41454 PyObject
* obj0
= 0 ;
41455 PyObject
* obj1
= 0 ;
41456 PyObject
* obj2
= 0 ;
41457 PyObject
* obj3
= 0 ;
41458 PyObject
* obj4
= 0 ;
41459 char * kwnames
[] = {
41460 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41465 if (!SWIG_IsOK(res1
)) {
41466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41468 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41475 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41477 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41478 if (!SWIG_IsOK(ecode4
)) {
41479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41481 arg4
= static_cast< bool >(val4
);
41482 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41483 if (!SWIG_IsOK(ecode5
)) {
41484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41486 arg5
= static_cast< bool >(val5
);
41488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41489 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41490 wxPyEndAllowThreads(__tstate
);
41491 if (PyErr_Occurred()) SWIG_fail
;
41494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41502 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41505 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41506 return SWIG_Py_Void();
41509 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41510 return SWIG_Python_InitShadowInstance(args
);
41513 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41514 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41519 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41520 PyObject
*pyobj
= 0;
41524 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41526 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41533 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41534 PyObject
*resultobj
= 0;
41535 wxWindow
*arg1
= (wxWindow
*) 0 ;
41536 int arg2
= (int) -1 ;
41537 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41538 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41539 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41540 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41541 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41542 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41543 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41544 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41545 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41546 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41547 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41548 wxDatePickerCtrl
*result
= 0 ;
41561 bool temp8
= false ;
41562 PyObject
* obj0
= 0 ;
41563 PyObject
* obj1
= 0 ;
41564 PyObject
* obj2
= 0 ;
41565 PyObject
* obj3
= 0 ;
41566 PyObject
* obj4
= 0 ;
41567 PyObject
* obj5
= 0 ;
41568 PyObject
* obj6
= 0 ;
41569 PyObject
* obj7
= 0 ;
41570 char * kwnames
[] = {
41571 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41576 if (!SWIG_IsOK(res1
)) {
41577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41579 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41582 if (!SWIG_IsOK(ecode2
)) {
41583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41585 arg2
= static_cast< int >(val2
);
41588 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41589 if (!SWIG_IsOK(res3
)) {
41590 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41595 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41610 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41611 if (!SWIG_IsOK(ecode6
)) {
41612 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41614 arg6
= static_cast< long >(val6
);
41617 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41618 if (!SWIG_IsOK(res7
)) {
41619 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41624 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41628 arg8
= wxString_in_helper(obj7
);
41629 if (arg8
== NULL
) SWIG_fail
;
41634 if (!wxPyCheckForApp()) SWIG_fail
;
41635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41636 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41637 wxPyEndAllowThreads(__tstate
);
41638 if (PyErr_Occurred()) SWIG_fail
;
41640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41655 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41656 PyObject
*resultobj
= 0;
41657 wxDatePickerCtrl
*result
= 0 ;
41659 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41661 if (!wxPyCheckForApp()) SWIG_fail
;
41662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41663 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41664 wxPyEndAllowThreads(__tstate
);
41665 if (PyErr_Occurred()) SWIG_fail
;
41667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41674 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41675 PyObject
*resultobj
= 0;
41676 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41677 wxWindow
*arg2
= (wxWindow
*) 0 ;
41678 int arg3
= (int) -1 ;
41679 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41680 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41681 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41682 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41683 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41684 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41685 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41686 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41687 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41688 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41689 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41705 bool temp9
= false ;
41706 PyObject
* obj0
= 0 ;
41707 PyObject
* obj1
= 0 ;
41708 PyObject
* obj2
= 0 ;
41709 PyObject
* obj3
= 0 ;
41710 PyObject
* obj4
= 0 ;
41711 PyObject
* obj5
= 0 ;
41712 PyObject
* obj6
= 0 ;
41713 PyObject
* obj7
= 0 ;
41714 PyObject
* obj8
= 0 ;
41715 char * kwnames
[] = {
41716 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41721 if (!SWIG_IsOK(res1
)) {
41722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41724 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41726 if (!SWIG_IsOK(res2
)) {
41727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41732 if (!SWIG_IsOK(ecode3
)) {
41733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41735 arg3
= static_cast< int >(val3
);
41738 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41739 if (!SWIG_IsOK(res4
)) {
41740 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41745 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41750 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41756 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41760 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41761 if (!SWIG_IsOK(ecode7
)) {
41762 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41764 arg7
= static_cast< long >(val7
);
41767 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41768 if (!SWIG_IsOK(res8
)) {
41769 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41774 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41778 arg9
= wxString_in_helper(obj8
);
41779 if (arg9
== NULL
) SWIG_fail
;
41784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41786 wxPyEndAllowThreads(__tstate
);
41787 if (PyErr_Occurred()) SWIG_fail
;
41790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41806 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41807 PyObject
*resultobj
= 0;
41808 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41809 wxDateTime
*arg2
= 0 ;
41814 PyObject
* obj0
= 0 ;
41815 PyObject
* obj1
= 0 ;
41816 char * kwnames
[] = {
41817 (char *) "self",(char *) "dt", NULL
41820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41822 if (!SWIG_IsOK(res1
)) {
41823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41825 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41827 if (!SWIG_IsOK(res2
)) {
41828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41833 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41836 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41837 wxPyEndAllowThreads(__tstate
);
41838 if (PyErr_Occurred()) SWIG_fail
;
41840 resultobj
= SWIG_Py_Void();
41847 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41848 PyObject
*resultobj
= 0;
41849 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41853 PyObject
*swig_obj
[1] ;
41855 if (!args
) SWIG_fail
;
41856 swig_obj
[0] = args
;
41857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41858 if (!SWIG_IsOK(res1
)) {
41859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41861 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41864 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41865 wxPyEndAllowThreads(__tstate
);
41866 if (PyErr_Occurred()) SWIG_fail
;
41868 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41875 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41876 PyObject
*resultobj
= 0;
41877 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41878 wxDateTime
*arg2
= 0 ;
41879 wxDateTime
*arg3
= 0 ;
41886 PyObject
* obj0
= 0 ;
41887 PyObject
* obj1
= 0 ;
41888 PyObject
* obj2
= 0 ;
41889 char * kwnames
[] = {
41890 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41895 if (!SWIG_IsOK(res1
)) {
41896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41898 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41900 if (!SWIG_IsOK(res2
)) {
41901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41906 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41908 if (!SWIG_IsOK(res3
)) {
41909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41914 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41917 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41918 wxPyEndAllowThreads(__tstate
);
41919 if (PyErr_Occurred()) SWIG_fail
;
41921 resultobj
= SWIG_Py_Void();
41928 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41929 PyObject
*resultobj
= 0;
41930 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41934 PyObject
*swig_obj
[1] ;
41936 if (!args
) SWIG_fail
;
41937 swig_obj
[0] = args
;
41938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41939 if (!SWIG_IsOK(res1
)) {
41940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41942 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41945 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41946 wxPyEndAllowThreads(__tstate
);
41947 if (PyErr_Occurred()) SWIG_fail
;
41949 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41956 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41957 PyObject
*resultobj
= 0;
41958 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41962 PyObject
*swig_obj
[1] ;
41964 if (!args
) SWIG_fail
;
41965 swig_obj
[0] = args
;
41966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41967 if (!SWIG_IsOK(res1
)) {
41968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41970 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41973 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41974 wxPyEndAllowThreads(__tstate
);
41975 if (PyErr_Occurred()) SWIG_fail
;
41977 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41984 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41987 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41988 return SWIG_Py_Void();
41991 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41992 return SWIG_Python_InitShadowInstance(args
);
41995 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41996 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42001 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42002 PyObject
*pyobj
= 0;
42006 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42008 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42015 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42016 PyObject
*resultobj
= 0;
42017 wxWindow
*arg1
= (wxWindow
*) 0 ;
42019 wxString
*arg3
= 0 ;
42020 wxString
*arg4
= 0 ;
42021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42023 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42024 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42025 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42026 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42027 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42028 wxHyperlinkCtrl
*result
= 0 ;
42033 bool temp3
= false ;
42034 bool temp4
= false ;
42039 bool temp8
= false ;
42040 PyObject
* obj0
= 0 ;
42041 PyObject
* obj1
= 0 ;
42042 PyObject
* obj2
= 0 ;
42043 PyObject
* obj3
= 0 ;
42044 PyObject
* obj4
= 0 ;
42045 PyObject
* obj5
= 0 ;
42046 PyObject
* obj6
= 0 ;
42047 PyObject
* obj7
= 0 ;
42048 char * kwnames
[] = {
42049 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42054 if (!SWIG_IsOK(res1
)) {
42055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42059 if (!SWIG_IsOK(ecode2
)) {
42060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42062 arg2
= static_cast< int >(val2
);
42064 arg3
= wxString_in_helper(obj2
);
42065 if (arg3
== NULL
) SWIG_fail
;
42069 arg4
= wxString_in_helper(obj3
);
42070 if (arg4
== NULL
) SWIG_fail
;
42076 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42082 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42086 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42087 if (!SWIG_IsOK(ecode7
)) {
42088 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42090 arg7
= static_cast< long >(val7
);
42094 arg8
= wxString_in_helper(obj7
);
42095 if (arg8
== NULL
) SWIG_fail
;
42100 if (!wxPyCheckForApp()) SWIG_fail
;
42101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42102 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42103 wxPyEndAllowThreads(__tstate
);
42104 if (PyErr_Occurred()) SWIG_fail
;
42106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42137 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42138 PyObject
*resultobj
= 0;
42139 wxHyperlinkCtrl
*result
= 0 ;
42141 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42143 if (!wxPyCheckForApp()) SWIG_fail
;
42144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42145 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42146 wxPyEndAllowThreads(__tstate
);
42147 if (PyErr_Occurred()) SWIG_fail
;
42149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42156 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42157 PyObject
*resultobj
= 0;
42158 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42159 wxWindow
*arg2
= (wxWindow
*) 0 ;
42161 wxString
*arg4
= 0 ;
42162 wxString
*arg5
= 0 ;
42163 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42164 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42165 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42166 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42167 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42168 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42169 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42177 bool temp4
= false ;
42178 bool temp5
= false ;
42183 bool temp9
= false ;
42184 PyObject
* obj0
= 0 ;
42185 PyObject
* obj1
= 0 ;
42186 PyObject
* obj2
= 0 ;
42187 PyObject
* obj3
= 0 ;
42188 PyObject
* obj4
= 0 ;
42189 PyObject
* obj5
= 0 ;
42190 PyObject
* obj6
= 0 ;
42191 PyObject
* obj7
= 0 ;
42192 PyObject
* obj8
= 0 ;
42193 char * kwnames
[] = {
42194 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42199 if (!SWIG_IsOK(res1
)) {
42200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42202 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42204 if (!SWIG_IsOK(res2
)) {
42205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42209 if (!SWIG_IsOK(ecode3
)) {
42210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42212 arg3
= static_cast< int >(val3
);
42214 arg4
= wxString_in_helper(obj3
);
42215 if (arg4
== NULL
) SWIG_fail
;
42219 arg5
= wxString_in_helper(obj4
);
42220 if (arg5
== NULL
) SWIG_fail
;
42226 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42232 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42236 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42237 if (!SWIG_IsOK(ecode8
)) {
42238 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42240 arg8
= static_cast< long >(val8
);
42244 arg9
= wxString_in_helper(obj8
);
42245 if (arg9
== NULL
) SWIG_fail
;
42250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42252 wxPyEndAllowThreads(__tstate
);
42253 if (PyErr_Occurred()) SWIG_fail
;
42256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42288 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42289 PyObject
*resultobj
= 0;
42290 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42294 PyObject
*swig_obj
[1] ;
42296 if (!args
) SWIG_fail
;
42297 swig_obj
[0] = args
;
42298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42299 if (!SWIG_IsOK(res1
)) {
42300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42302 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42305 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42306 wxPyEndAllowThreads(__tstate
);
42307 if (PyErr_Occurred()) SWIG_fail
;
42309 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42316 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42317 PyObject
*resultobj
= 0;
42318 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42319 wxColour
*arg2
= 0 ;
42323 PyObject
* obj0
= 0 ;
42324 PyObject
* obj1
= 0 ;
42325 char * kwnames
[] = {
42326 (char *) "self",(char *) "colour", NULL
42329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42331 if (!SWIG_IsOK(res1
)) {
42332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42334 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42341 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42342 wxPyEndAllowThreads(__tstate
);
42343 if (PyErr_Occurred()) SWIG_fail
;
42345 resultobj
= SWIG_Py_Void();
42352 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42353 PyObject
*resultobj
= 0;
42354 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42358 PyObject
*swig_obj
[1] ;
42360 if (!args
) SWIG_fail
;
42361 swig_obj
[0] = args
;
42362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42363 if (!SWIG_IsOK(res1
)) {
42364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42366 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42369 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42370 wxPyEndAllowThreads(__tstate
);
42371 if (PyErr_Occurred()) SWIG_fail
;
42373 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42380 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42381 PyObject
*resultobj
= 0;
42382 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42383 wxColour
*arg2
= 0 ;
42387 PyObject
* obj0
= 0 ;
42388 PyObject
* obj1
= 0 ;
42389 char * kwnames
[] = {
42390 (char *) "self",(char *) "colour", NULL
42393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42395 if (!SWIG_IsOK(res1
)) {
42396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42398 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42405 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42406 wxPyEndAllowThreads(__tstate
);
42407 if (PyErr_Occurred()) SWIG_fail
;
42409 resultobj
= SWIG_Py_Void();
42416 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42417 PyObject
*resultobj
= 0;
42418 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42422 PyObject
*swig_obj
[1] ;
42424 if (!args
) SWIG_fail
;
42425 swig_obj
[0] = args
;
42426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42427 if (!SWIG_IsOK(res1
)) {
42428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42430 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42433 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42434 wxPyEndAllowThreads(__tstate
);
42435 if (PyErr_Occurred()) SWIG_fail
;
42437 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42444 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42445 PyObject
*resultobj
= 0;
42446 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42447 wxColour
*arg2
= 0 ;
42451 PyObject
* obj0
= 0 ;
42452 PyObject
* obj1
= 0 ;
42453 char * kwnames
[] = {
42454 (char *) "self",(char *) "colour", NULL
42457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42459 if (!SWIG_IsOK(res1
)) {
42460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42462 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42469 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42470 wxPyEndAllowThreads(__tstate
);
42471 if (PyErr_Occurred()) SWIG_fail
;
42473 resultobj
= SWIG_Py_Void();
42480 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42481 PyObject
*resultobj
= 0;
42482 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42486 PyObject
*swig_obj
[1] ;
42488 if (!args
) SWIG_fail
;
42489 swig_obj
[0] = args
;
42490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42491 if (!SWIG_IsOK(res1
)) {
42492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42494 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42497 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42498 wxPyEndAllowThreads(__tstate
);
42499 if (PyErr_Occurred()) SWIG_fail
;
42503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42514 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42515 PyObject
*resultobj
= 0;
42516 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42517 wxString
*arg2
= 0 ;
42520 bool temp2
= false ;
42521 PyObject
* obj0
= 0 ;
42522 PyObject
* obj1
= 0 ;
42523 char * kwnames
[] = {
42524 (char *) "self",(char *) "url", NULL
42527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42529 if (!SWIG_IsOK(res1
)) {
42530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42532 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42534 arg2
= wxString_in_helper(obj1
);
42535 if (arg2
== NULL
) SWIG_fail
;
42539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42540 (arg1
)->SetURL((wxString
const &)*arg2
);
42541 wxPyEndAllowThreads(__tstate
);
42542 if (PyErr_Occurred()) SWIG_fail
;
42544 resultobj
= SWIG_Py_Void();
42559 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42560 PyObject
*resultobj
= 0;
42561 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42562 bool arg2
= (bool) true ;
42567 PyObject
* obj0
= 0 ;
42568 PyObject
* obj1
= 0 ;
42569 char * kwnames
[] = {
42570 (char *) "self",(char *) "visited", NULL
42573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42575 if (!SWIG_IsOK(res1
)) {
42576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42578 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42580 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42581 if (!SWIG_IsOK(ecode2
)) {
42582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42584 arg2
= static_cast< bool >(val2
);
42587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42588 (arg1
)->SetVisited(arg2
);
42589 wxPyEndAllowThreads(__tstate
);
42590 if (PyErr_Occurred()) SWIG_fail
;
42592 resultobj
= SWIG_Py_Void();
42599 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42600 PyObject
*resultobj
= 0;
42601 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42605 PyObject
*swig_obj
[1] ;
42607 if (!args
) SWIG_fail
;
42608 swig_obj
[0] = args
;
42609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42610 if (!SWIG_IsOK(res1
)) {
42611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42613 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42616 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42617 wxPyEndAllowThreads(__tstate
);
42618 if (PyErr_Occurred()) SWIG_fail
;
42621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42629 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42632 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42633 return SWIG_Py_Void();
42636 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42637 return SWIG_Python_InitShadowInstance(args
);
42640 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42641 PyObject
*resultobj
= 0;
42642 wxObject
*arg1
= (wxObject
*) 0 ;
42644 wxString
*arg3
= 0 ;
42645 wxHyperlinkEvent
*result
= 0 ;
42650 bool temp3
= false ;
42651 PyObject
* obj0
= 0 ;
42652 PyObject
* obj1
= 0 ;
42653 PyObject
* obj2
= 0 ;
42654 char * kwnames
[] = {
42655 (char *) "generator",(char *) "id",(char *) "url", NULL
42658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42660 if (!SWIG_IsOK(res1
)) {
42661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42663 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42665 if (!SWIG_IsOK(ecode2
)) {
42666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42668 arg2
= static_cast< int >(val2
);
42670 arg3
= wxString_in_helper(obj2
);
42671 if (arg3
== NULL
) SWIG_fail
;
42675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42676 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42677 wxPyEndAllowThreads(__tstate
);
42678 if (PyErr_Occurred()) SWIG_fail
;
42680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42695 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42696 PyObject
*resultobj
= 0;
42697 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42701 PyObject
*swig_obj
[1] ;
42703 if (!args
) SWIG_fail
;
42704 swig_obj
[0] = args
;
42705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42706 if (!SWIG_IsOK(res1
)) {
42707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42709 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42712 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42713 wxPyEndAllowThreads(__tstate
);
42714 if (PyErr_Occurred()) SWIG_fail
;
42718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42729 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42730 PyObject
*resultobj
= 0;
42731 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42732 wxString
*arg2
= 0 ;
42735 bool temp2
= false ;
42736 PyObject
* obj0
= 0 ;
42737 PyObject
* obj1
= 0 ;
42738 char * kwnames
[] = {
42739 (char *) "self",(char *) "url", NULL
42742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42744 if (!SWIG_IsOK(res1
)) {
42745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42747 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42749 arg2
= wxString_in_helper(obj1
);
42750 if (arg2
== NULL
) SWIG_fail
;
42754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42755 (arg1
)->SetURL((wxString
const &)*arg2
);
42756 wxPyEndAllowThreads(__tstate
);
42757 if (PyErr_Occurred()) SWIG_fail
;
42759 resultobj
= SWIG_Py_Void();
42774 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42777 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42778 return SWIG_Py_Void();
42781 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42782 return SWIG_Python_InitShadowInstance(args
);
42785 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42786 PyObject
*resultobj
= 0;
42787 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42788 wxWindow
*arg2
= (wxWindow
*) 0 ;
42790 wxString
const &arg4_defvalue
= wxEmptyString
;
42791 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42792 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42793 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42794 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42795 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42796 long arg7
= (long) 0 ;
42797 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42798 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42799 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42800 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42808 bool temp4
= false ;
42815 bool temp9
= false ;
42816 PyObject
* obj0
= 0 ;
42817 PyObject
* obj1
= 0 ;
42818 PyObject
* obj2
= 0 ;
42819 PyObject
* obj3
= 0 ;
42820 PyObject
* obj4
= 0 ;
42821 PyObject
* obj5
= 0 ;
42822 PyObject
* obj6
= 0 ;
42823 PyObject
* obj7
= 0 ;
42824 PyObject
* obj8
= 0 ;
42825 char * kwnames
[] = {
42826 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42831 if (!SWIG_IsOK(res1
)) {
42832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42834 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42836 if (!SWIG_IsOK(res2
)) {
42837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42841 if (!SWIG_IsOK(ecode3
)) {
42842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42844 arg3
= static_cast< int >(val3
);
42847 arg4
= wxString_in_helper(obj3
);
42848 if (arg4
== NULL
) SWIG_fail
;
42855 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42861 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42865 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42866 if (!SWIG_IsOK(ecode7
)) {
42867 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42869 arg7
= static_cast< long >(val7
);
42872 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42873 if (!SWIG_IsOK(res8
)) {
42874 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42879 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42883 arg9
= wxString_in_helper(obj8
);
42884 if (arg9
== NULL
) SWIG_fail
;
42889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42890 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42891 wxPyEndAllowThreads(__tstate
);
42892 if (PyErr_Occurred()) SWIG_fail
;
42895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42919 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42920 PyObject
*resultobj
= 0;
42921 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42927 PyObject
* obj0
= 0 ;
42928 PyObject
* obj1
= 0 ;
42929 char * kwnames
[] = {
42930 (char *) "self",(char *) "newmargin", NULL
42933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42935 if (!SWIG_IsOK(res1
)) {
42936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42938 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42940 if (!SWIG_IsOK(ecode2
)) {
42941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42943 arg2
= static_cast< int >(val2
);
42945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42946 (arg1
)->SetInternalMargin(arg2
);
42947 wxPyEndAllowThreads(__tstate
);
42948 if (PyErr_Occurred()) SWIG_fail
;
42950 resultobj
= SWIG_Py_Void();
42957 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42958 PyObject
*resultobj
= 0;
42959 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42963 PyObject
*swig_obj
[1] ;
42965 if (!args
) SWIG_fail
;
42966 swig_obj
[0] = args
;
42967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42968 if (!SWIG_IsOK(res1
)) {
42969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42971 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42974 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42975 wxPyEndAllowThreads(__tstate
);
42976 if (PyErr_Occurred()) SWIG_fail
;
42978 resultobj
= SWIG_From_int(static_cast< int >(result
));
42985 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42986 PyObject
*resultobj
= 0;
42987 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42993 PyObject
* obj0
= 0 ;
42994 PyObject
* obj1
= 0 ;
42995 char * kwnames
[] = {
42996 (char *) "self",(char *) "prop", NULL
42999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43001 if (!SWIG_IsOK(res1
)) {
43002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43004 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43006 if (!SWIG_IsOK(ecode2
)) {
43007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43009 arg2
= static_cast< int >(val2
);
43011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43012 (arg1
)->SetTextCtrlProportion(arg2
);
43013 wxPyEndAllowThreads(__tstate
);
43014 if (PyErr_Occurred()) SWIG_fail
;
43016 resultobj
= SWIG_Py_Void();
43023 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43024 PyObject
*resultobj
= 0;
43025 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43029 PyObject
*swig_obj
[1] ;
43031 if (!args
) SWIG_fail
;
43032 swig_obj
[0] = args
;
43033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43034 if (!SWIG_IsOK(res1
)) {
43035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43037 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43040 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43041 wxPyEndAllowThreads(__tstate
);
43042 if (PyErr_Occurred()) SWIG_fail
;
43044 resultobj
= SWIG_From_int(static_cast< int >(result
));
43051 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43052 PyObject
*resultobj
= 0;
43053 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43059 PyObject
* obj0
= 0 ;
43060 PyObject
* obj1
= 0 ;
43061 char * kwnames
[] = {
43062 (char *) "self",(char *) "prop", NULL
43065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43067 if (!SWIG_IsOK(res1
)) {
43068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43070 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43072 if (!SWIG_IsOK(ecode2
)) {
43073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43075 arg2
= static_cast< int >(val2
);
43077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43078 (arg1
)->SetPickerCtrlProportion(arg2
);
43079 wxPyEndAllowThreads(__tstate
);
43080 if (PyErr_Occurred()) SWIG_fail
;
43082 resultobj
= SWIG_Py_Void();
43089 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43090 PyObject
*resultobj
= 0;
43091 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43095 PyObject
*swig_obj
[1] ;
43097 if (!args
) SWIG_fail
;
43098 swig_obj
[0] = args
;
43099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43100 if (!SWIG_IsOK(res1
)) {
43101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43103 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43106 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43107 wxPyEndAllowThreads(__tstate
);
43108 if (PyErr_Occurred()) SWIG_fail
;
43110 resultobj
= SWIG_From_int(static_cast< int >(result
));
43117 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43118 PyObject
*resultobj
= 0;
43119 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43123 PyObject
*swig_obj
[1] ;
43125 if (!args
) SWIG_fail
;
43126 swig_obj
[0] = args
;
43127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43128 if (!SWIG_IsOK(res1
)) {
43129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43131 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43134 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43135 wxPyEndAllowThreads(__tstate
);
43136 if (PyErr_Occurred()) SWIG_fail
;
43139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43147 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43148 PyObject
*resultobj
= 0;
43149 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43150 bool arg2
= (bool) true ;
43155 PyObject
* obj0
= 0 ;
43156 PyObject
* obj1
= 0 ;
43157 char * kwnames
[] = {
43158 (char *) "self",(char *) "grow", NULL
43161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43163 if (!SWIG_IsOK(res1
)) {
43164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43166 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43168 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43169 if (!SWIG_IsOK(ecode2
)) {
43170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43172 arg2
= static_cast< bool >(val2
);
43175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43176 (arg1
)->SetTextCtrlGrowable(arg2
);
43177 wxPyEndAllowThreads(__tstate
);
43178 if (PyErr_Occurred()) SWIG_fail
;
43180 resultobj
= SWIG_Py_Void();
43187 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43188 PyObject
*resultobj
= 0;
43189 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43193 PyObject
*swig_obj
[1] ;
43195 if (!args
) SWIG_fail
;
43196 swig_obj
[0] = args
;
43197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43198 if (!SWIG_IsOK(res1
)) {
43199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43201 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43204 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43205 wxPyEndAllowThreads(__tstate
);
43206 if (PyErr_Occurred()) SWIG_fail
;
43209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43217 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43218 PyObject
*resultobj
= 0;
43219 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43220 bool arg2
= (bool) true ;
43225 PyObject
* obj0
= 0 ;
43226 PyObject
* obj1
= 0 ;
43227 char * kwnames
[] = {
43228 (char *) "self",(char *) "grow", NULL
43231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43233 if (!SWIG_IsOK(res1
)) {
43234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43236 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43238 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43239 if (!SWIG_IsOK(ecode2
)) {
43240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43242 arg2
= static_cast< bool >(val2
);
43245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43246 (arg1
)->SetPickerCtrlGrowable(arg2
);
43247 wxPyEndAllowThreads(__tstate
);
43248 if (PyErr_Occurred()) SWIG_fail
;
43250 resultobj
= SWIG_Py_Void();
43257 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43258 PyObject
*resultobj
= 0;
43259 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43263 PyObject
*swig_obj
[1] ;
43265 if (!args
) SWIG_fail
;
43266 swig_obj
[0] = args
;
43267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43268 if (!SWIG_IsOK(res1
)) {
43269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43271 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43274 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43275 wxPyEndAllowThreads(__tstate
);
43276 if (PyErr_Occurred()) SWIG_fail
;
43279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43287 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43288 PyObject
*resultobj
= 0;
43289 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43290 wxTextCtrl
*result
= 0 ;
43293 PyObject
*swig_obj
[1] ;
43295 if (!args
) SWIG_fail
;
43296 swig_obj
[0] = args
;
43297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43298 if (!SWIG_IsOK(res1
)) {
43299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43301 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43304 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43305 wxPyEndAllowThreads(__tstate
);
43306 if (PyErr_Occurred()) SWIG_fail
;
43309 resultobj
= wxPyMake_wxObject(result
, 0);
43317 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43318 PyObject
*resultobj
= 0;
43319 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43320 wxControl
*result
= 0 ;
43323 PyObject
*swig_obj
[1] ;
43325 if (!args
) SWIG_fail
;
43326 swig_obj
[0] = args
;
43327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43328 if (!SWIG_IsOK(res1
)) {
43329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43331 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43334 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43335 wxPyEndAllowThreads(__tstate
);
43336 if (PyErr_Occurred()) SWIG_fail
;
43339 resultobj
= wxPyMake_wxObject(result
, 0);
43347 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43351 return SWIG_Py_Void();
43354 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43355 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43360 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43361 PyObject
*pyobj
= 0;
43365 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43367 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43374 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43375 PyObject
*resultobj
= 0;
43376 wxWindow
*arg1
= (wxWindow
*) 0 ;
43377 int arg2
= (int) -1 ;
43378 wxColour
const &arg3_defvalue
= *wxBLACK
;
43379 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43382 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43383 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43384 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43385 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43386 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43387 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43389 wxColourPickerCtrl
*result
= 0 ;
43401 bool temp8
= false ;
43402 PyObject
* obj0
= 0 ;
43403 PyObject
* obj1
= 0 ;
43404 PyObject
* obj2
= 0 ;
43405 PyObject
* obj3
= 0 ;
43406 PyObject
* obj4
= 0 ;
43407 PyObject
* obj5
= 0 ;
43408 PyObject
* obj6
= 0 ;
43409 PyObject
* obj7
= 0 ;
43410 char * kwnames
[] = {
43411 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43416 if (!SWIG_IsOK(res1
)) {
43417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43422 if (!SWIG_IsOK(ecode2
)) {
43423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43425 arg2
= static_cast< int >(val2
);
43430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43446 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43447 if (!SWIG_IsOK(ecode6
)) {
43448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43450 arg6
= static_cast< long >(val6
);
43453 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43454 if (!SWIG_IsOK(res7
)) {
43455 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43460 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43464 arg8
= wxString_in_helper(obj7
);
43465 if (arg8
== NULL
) SWIG_fail
;
43470 if (!wxPyCheckForApp()) SWIG_fail
;
43471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43472 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43473 wxPyEndAllowThreads(__tstate
);
43474 if (PyErr_Occurred()) SWIG_fail
;
43476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43491 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43492 PyObject
*resultobj
= 0;
43493 wxColourPickerCtrl
*result
= 0 ;
43495 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43497 if (!wxPyCheckForApp()) SWIG_fail
;
43498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43499 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43500 wxPyEndAllowThreads(__tstate
);
43501 if (PyErr_Occurred()) SWIG_fail
;
43503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43510 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43511 PyObject
*resultobj
= 0;
43512 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43513 wxWindow
*arg2
= (wxWindow
*) 0 ;
43515 wxColour
const &arg4_defvalue
= *wxBLACK
;
43516 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43521 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43522 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43523 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43524 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43525 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43540 bool temp9
= false ;
43541 PyObject
* obj0
= 0 ;
43542 PyObject
* obj1
= 0 ;
43543 PyObject
* obj2
= 0 ;
43544 PyObject
* obj3
= 0 ;
43545 PyObject
* obj4
= 0 ;
43546 PyObject
* obj5
= 0 ;
43547 PyObject
* obj6
= 0 ;
43548 PyObject
* obj7
= 0 ;
43549 PyObject
* obj8
= 0 ;
43550 char * kwnames
[] = {
43551 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43556 if (!SWIG_IsOK(res1
)) {
43557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43559 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43561 if (!SWIG_IsOK(res2
)) {
43562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43564 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43566 if (!SWIG_IsOK(ecode3
)) {
43567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43569 arg3
= static_cast< int >(val3
);
43573 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43579 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43585 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43589 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43590 if (!SWIG_IsOK(ecode7
)) {
43591 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43593 arg7
= static_cast< long >(val7
);
43596 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43597 if (!SWIG_IsOK(res8
)) {
43598 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43603 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43607 arg9
= wxString_in_helper(obj8
);
43608 if (arg9
== NULL
) SWIG_fail
;
43613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43614 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43615 wxPyEndAllowThreads(__tstate
);
43616 if (PyErr_Occurred()) SWIG_fail
;
43619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43635 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43636 PyObject
*resultobj
= 0;
43637 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43641 PyObject
*swig_obj
[1] ;
43643 if (!args
) SWIG_fail
;
43644 swig_obj
[0] = args
;
43645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43646 if (!SWIG_IsOK(res1
)) {
43647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43649 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43652 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43653 wxPyEndAllowThreads(__tstate
);
43654 if (PyErr_Occurred()) SWIG_fail
;
43656 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43663 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43664 PyObject
*resultobj
= 0;
43665 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43666 wxColour
*arg2
= 0 ;
43670 PyObject
* obj0
= 0 ;
43671 PyObject
* obj1
= 0 ;
43672 char * kwnames
[] = {
43673 (char *) "self",(char *) "col", NULL
43676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43678 if (!SWIG_IsOK(res1
)) {
43679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43681 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43684 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43688 (arg1
)->SetColour((wxColour
const &)*arg2
);
43689 wxPyEndAllowThreads(__tstate
);
43690 if (PyErr_Occurred()) SWIG_fail
;
43692 resultobj
= SWIG_Py_Void();
43699 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43702 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43703 return SWIG_Py_Void();
43706 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43707 return SWIG_Python_InitShadowInstance(args
);
43710 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43711 PyObject
*resultobj
= 0;
43712 wxObject
*arg1
= (wxObject
*) 0 ;
43714 wxColour
*arg3
= 0 ;
43715 wxColourPickerEvent
*result
= 0 ;
43721 PyObject
* obj0
= 0 ;
43722 PyObject
* obj1
= 0 ;
43723 PyObject
* obj2
= 0 ;
43724 char * kwnames
[] = {
43725 (char *) "generator",(char *) "id",(char *) "col", NULL
43728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43730 if (!SWIG_IsOK(res1
)) {
43731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43733 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43735 if (!SWIG_IsOK(ecode2
)) {
43736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43738 arg2
= static_cast< int >(val2
);
43741 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43745 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43746 wxPyEndAllowThreads(__tstate
);
43747 if (PyErr_Occurred()) SWIG_fail
;
43749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43756 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43757 PyObject
*resultobj
= 0;
43758 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43762 PyObject
*swig_obj
[1] ;
43764 if (!args
) SWIG_fail
;
43765 swig_obj
[0] = args
;
43766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43767 if (!SWIG_IsOK(res1
)) {
43768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43770 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43773 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43774 wxPyEndAllowThreads(__tstate
);
43775 if (PyErr_Occurred()) SWIG_fail
;
43777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43784 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43785 PyObject
*resultobj
= 0;
43786 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43787 wxColour
*arg2
= 0 ;
43791 PyObject
* obj0
= 0 ;
43792 PyObject
* obj1
= 0 ;
43793 char * kwnames
[] = {
43794 (char *) "self",(char *) "c", NULL
43797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43799 if (!SWIG_IsOK(res1
)) {
43800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43802 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43809 (arg1
)->SetColour((wxColour
const &)*arg2
);
43810 wxPyEndAllowThreads(__tstate
);
43811 if (PyErr_Occurred()) SWIG_fail
;
43813 resultobj
= SWIG_Py_Void();
43820 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43823 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43824 return SWIG_Py_Void();
43827 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43828 return SWIG_Python_InitShadowInstance(args
);
43831 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43832 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43837 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43838 PyObject
*pyobj
= 0;
43842 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43844 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43851 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43852 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43857 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43858 PyObject
*pyobj
= 0;
43862 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43864 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43871 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43872 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43877 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43878 PyObject
*pyobj
= 0;
43882 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43884 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43891 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43892 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43897 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43898 PyObject
*pyobj
= 0;
43902 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43904 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43911 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43912 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43917 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43918 PyObject
*pyobj
= 0;
43922 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43924 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43931 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43932 PyObject
*resultobj
= 0;
43933 wxWindow
*arg1
= (wxWindow
*) 0 ;
43934 int arg2
= (int) -1 ;
43935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43937 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43938 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43939 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43940 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43941 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43942 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43943 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43944 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43945 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43946 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43947 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43948 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43949 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43950 wxFilePickerCtrl
*result
= 0 ;
43955 bool temp3
= false ;
43956 bool temp4
= false ;
43957 bool temp5
= false ;
43964 bool temp10
= false ;
43965 PyObject
* obj0
= 0 ;
43966 PyObject
* obj1
= 0 ;
43967 PyObject
* obj2
= 0 ;
43968 PyObject
* obj3
= 0 ;
43969 PyObject
* obj4
= 0 ;
43970 PyObject
* obj5
= 0 ;
43971 PyObject
* obj6
= 0 ;
43972 PyObject
* obj7
= 0 ;
43973 PyObject
* obj8
= 0 ;
43974 PyObject
* obj9
= 0 ;
43975 char * kwnames
[] = {
43976 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43981 if (!SWIG_IsOK(res1
)) {
43982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43984 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43987 if (!SWIG_IsOK(ecode2
)) {
43988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43990 arg2
= static_cast< int >(val2
);
43994 arg3
= wxString_in_helper(obj2
);
43995 if (arg3
== NULL
) SWIG_fail
;
44001 arg4
= wxString_in_helper(obj3
);
44002 if (arg4
== NULL
) SWIG_fail
;
44008 arg5
= wxString_in_helper(obj4
);
44009 if (arg5
== NULL
) SWIG_fail
;
44016 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44022 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44026 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44027 if (!SWIG_IsOK(ecode8
)) {
44028 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44030 arg8
= static_cast< long >(val8
);
44033 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44034 if (!SWIG_IsOK(res9
)) {
44035 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44040 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44044 arg10
= wxString_in_helper(obj9
);
44045 if (arg10
== NULL
) SWIG_fail
;
44050 if (!wxPyCheckForApp()) SWIG_fail
;
44051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44052 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
);
44053 wxPyEndAllowThreads(__tstate
);
44054 if (PyErr_Occurred()) SWIG_fail
;
44056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44095 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44096 PyObject
*resultobj
= 0;
44097 wxFilePickerCtrl
*result
= 0 ;
44099 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44101 if (!wxPyCheckForApp()) SWIG_fail
;
44102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44103 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44104 wxPyEndAllowThreads(__tstate
);
44105 if (PyErr_Occurred()) SWIG_fail
;
44107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44114 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44115 PyObject
*resultobj
= 0;
44116 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44117 wxWindow
*arg2
= (wxWindow
*) 0 ;
44118 int arg3
= (int) -1 ;
44119 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44120 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44121 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44122 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44123 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44124 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44125 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44126 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44127 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44128 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44129 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44130 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44131 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44132 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44133 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44141 bool temp4
= false ;
44142 bool temp5
= false ;
44143 bool temp6
= false ;
44150 bool temp11
= false ;
44151 PyObject
* obj0
= 0 ;
44152 PyObject
* obj1
= 0 ;
44153 PyObject
* obj2
= 0 ;
44154 PyObject
* obj3
= 0 ;
44155 PyObject
* obj4
= 0 ;
44156 PyObject
* obj5
= 0 ;
44157 PyObject
* obj6
= 0 ;
44158 PyObject
* obj7
= 0 ;
44159 PyObject
* obj8
= 0 ;
44160 PyObject
* obj9
= 0 ;
44161 PyObject
* obj10
= 0 ;
44162 char * kwnames
[] = {
44163 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44168 if (!SWIG_IsOK(res1
)) {
44169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44171 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44173 if (!SWIG_IsOK(res2
)) {
44174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44176 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44179 if (!SWIG_IsOK(ecode3
)) {
44180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44182 arg3
= static_cast< int >(val3
);
44186 arg4
= wxString_in_helper(obj3
);
44187 if (arg4
== NULL
) SWIG_fail
;
44193 arg5
= wxString_in_helper(obj4
);
44194 if (arg5
== NULL
) SWIG_fail
;
44200 arg6
= wxString_in_helper(obj5
);
44201 if (arg6
== NULL
) SWIG_fail
;
44208 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44214 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44218 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44219 if (!SWIG_IsOK(ecode9
)) {
44220 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44222 arg9
= static_cast< long >(val9
);
44225 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44226 if (!SWIG_IsOK(res10
)) {
44227 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44232 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44236 arg11
= wxString_in_helper(obj10
);
44237 if (arg11
== NULL
) SWIG_fail
;
44242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44243 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
);
44244 wxPyEndAllowThreads(__tstate
);
44245 if (PyErr_Occurred()) SWIG_fail
;
44248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44288 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44289 PyObject
*resultobj
= 0;
44290 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44294 PyObject
*swig_obj
[1] ;
44296 if (!args
) SWIG_fail
;
44297 swig_obj
[0] = args
;
44298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44299 if (!SWIG_IsOK(res1
)) {
44300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44302 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44305 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44306 wxPyEndAllowThreads(__tstate
);
44307 if (PyErr_Occurred()) SWIG_fail
;
44311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44322 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44323 PyObject
*resultobj
= 0;
44324 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44325 wxString
*arg2
= 0 ;
44328 bool temp2
= false ;
44329 PyObject
* obj0
= 0 ;
44330 PyObject
* obj1
= 0 ;
44331 char * kwnames
[] = {
44332 (char *) "self",(char *) "str", NULL
44335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44337 if (!SWIG_IsOK(res1
)) {
44338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44340 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44342 arg2
= wxString_in_helper(obj1
);
44343 if (arg2
== NULL
) SWIG_fail
;
44347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44348 (arg1
)->SetPath((wxString
const &)*arg2
);
44349 wxPyEndAllowThreads(__tstate
);
44350 if (PyErr_Occurred()) SWIG_fail
;
44352 resultobj
= SWIG_Py_Void();
44367 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44368 PyObject
*resultobj
= 0;
44369 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44370 wxString
*arg2
= 0 ;
44374 bool temp2
= false ;
44375 PyObject
* obj0
= 0 ;
44376 PyObject
* obj1
= 0 ;
44377 char * kwnames
[] = {
44378 (char *) "self",(char *) "path", NULL
44381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44383 if (!SWIG_IsOK(res1
)) {
44384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44386 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44388 arg2
= wxString_in_helper(obj1
);
44389 if (arg2
== NULL
) SWIG_fail
;
44393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44394 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44395 wxPyEndAllowThreads(__tstate
);
44396 if (PyErr_Occurred()) SWIG_fail
;
44399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44415 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44416 PyObject
*resultobj
= 0;
44417 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44421 PyObject
*swig_obj
[1] ;
44423 if (!args
) SWIG_fail
;
44424 swig_obj
[0] = args
;
44425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44426 if (!SWIG_IsOK(res1
)) {
44427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44429 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44432 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44433 wxPyEndAllowThreads(__tstate
);
44434 if (PyErr_Occurred()) SWIG_fail
;
44438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44449 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44452 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44453 return SWIG_Py_Void();
44456 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44457 return SWIG_Python_InitShadowInstance(args
);
44460 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44461 PyObject
*resultobj
= 0;
44462 wxWindow
*arg1
= (wxWindow
*) 0 ;
44463 int arg2
= (int) -1 ;
44464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44466 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44468 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44469 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44470 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44471 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44472 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44473 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44474 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44475 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44476 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44477 wxDirPickerCtrl
*result
= 0 ;
44482 bool temp3
= false ;
44483 bool temp4
= false ;
44490 bool temp9
= false ;
44491 PyObject
* obj0
= 0 ;
44492 PyObject
* obj1
= 0 ;
44493 PyObject
* obj2
= 0 ;
44494 PyObject
* obj3
= 0 ;
44495 PyObject
* obj4
= 0 ;
44496 PyObject
* obj5
= 0 ;
44497 PyObject
* obj6
= 0 ;
44498 PyObject
* obj7
= 0 ;
44499 PyObject
* obj8
= 0 ;
44500 char * kwnames
[] = {
44501 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44506 if (!SWIG_IsOK(res1
)) {
44507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44509 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44512 if (!SWIG_IsOK(ecode2
)) {
44513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44515 arg2
= static_cast< int >(val2
);
44519 arg3
= wxString_in_helper(obj2
);
44520 if (arg3
== NULL
) SWIG_fail
;
44526 arg4
= wxString_in_helper(obj3
);
44527 if (arg4
== NULL
) SWIG_fail
;
44534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44544 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44545 if (!SWIG_IsOK(ecode7
)) {
44546 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44548 arg7
= static_cast< long >(val7
);
44551 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44552 if (!SWIG_IsOK(res8
)) {
44553 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44558 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44562 arg9
= wxString_in_helper(obj8
);
44563 if (arg9
== NULL
) SWIG_fail
;
44568 if (!wxPyCheckForApp()) SWIG_fail
;
44569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44570 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
);
44571 wxPyEndAllowThreads(__tstate
);
44572 if (PyErr_Occurred()) SWIG_fail
;
44574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44605 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44606 PyObject
*resultobj
= 0;
44607 wxDirPickerCtrl
*result
= 0 ;
44609 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44611 if (!wxPyCheckForApp()) SWIG_fail
;
44612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44613 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44614 wxPyEndAllowThreads(__tstate
);
44615 if (PyErr_Occurred()) SWIG_fail
;
44617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44624 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44625 PyObject
*resultobj
= 0;
44626 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44627 wxWindow
*arg2
= (wxWindow
*) 0 ;
44628 int arg3
= (int) -1 ;
44629 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44630 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44631 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44632 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44633 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44634 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44635 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44636 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44637 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44638 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44639 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44640 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44641 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44649 bool temp4
= false ;
44650 bool temp5
= false ;
44657 bool temp10
= false ;
44658 PyObject
* obj0
= 0 ;
44659 PyObject
* obj1
= 0 ;
44660 PyObject
* obj2
= 0 ;
44661 PyObject
* obj3
= 0 ;
44662 PyObject
* obj4
= 0 ;
44663 PyObject
* obj5
= 0 ;
44664 PyObject
* obj6
= 0 ;
44665 PyObject
* obj7
= 0 ;
44666 PyObject
* obj8
= 0 ;
44667 PyObject
* obj9
= 0 ;
44668 char * kwnames
[] = {
44669 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44674 if (!SWIG_IsOK(res1
)) {
44675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44677 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44679 if (!SWIG_IsOK(res2
)) {
44680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44682 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44685 if (!SWIG_IsOK(ecode3
)) {
44686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44688 arg3
= static_cast< int >(val3
);
44692 arg4
= wxString_in_helper(obj3
);
44693 if (arg4
== NULL
) SWIG_fail
;
44699 arg5
= wxString_in_helper(obj4
);
44700 if (arg5
== NULL
) SWIG_fail
;
44707 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44713 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44717 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44718 if (!SWIG_IsOK(ecode8
)) {
44719 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44721 arg8
= static_cast< long >(val8
);
44724 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44725 if (!SWIG_IsOK(res9
)) {
44726 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44731 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44735 arg10
= wxString_in_helper(obj9
);
44736 if (arg10
== NULL
) SWIG_fail
;
44741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44742 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
);
44743 wxPyEndAllowThreads(__tstate
);
44744 if (PyErr_Occurred()) SWIG_fail
;
44747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44779 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44780 PyObject
*resultobj
= 0;
44781 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44785 PyObject
*swig_obj
[1] ;
44787 if (!args
) SWIG_fail
;
44788 swig_obj
[0] = args
;
44789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44790 if (!SWIG_IsOK(res1
)) {
44791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44793 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44796 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44797 wxPyEndAllowThreads(__tstate
);
44798 if (PyErr_Occurred()) SWIG_fail
;
44802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44813 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44814 PyObject
*resultobj
= 0;
44815 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44816 wxString
*arg2
= 0 ;
44819 bool temp2
= false ;
44820 PyObject
* obj0
= 0 ;
44821 PyObject
* obj1
= 0 ;
44822 char * kwnames
[] = {
44823 (char *) "self",(char *) "str", NULL
44826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44828 if (!SWIG_IsOK(res1
)) {
44829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44831 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44833 arg2
= wxString_in_helper(obj1
);
44834 if (arg2
== NULL
) SWIG_fail
;
44838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44839 (arg1
)->SetPath((wxString
const &)*arg2
);
44840 wxPyEndAllowThreads(__tstate
);
44841 if (PyErr_Occurred()) SWIG_fail
;
44843 resultobj
= SWIG_Py_Void();
44858 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44859 PyObject
*resultobj
= 0;
44860 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44861 wxString
*arg2
= 0 ;
44865 bool temp2
= false ;
44866 PyObject
* obj0
= 0 ;
44867 PyObject
* obj1
= 0 ;
44868 char * kwnames
[] = {
44869 (char *) "self",(char *) "path", NULL
44872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44874 if (!SWIG_IsOK(res1
)) {
44875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44877 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44879 arg2
= wxString_in_helper(obj1
);
44880 if (arg2
== NULL
) SWIG_fail
;
44884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44885 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44886 wxPyEndAllowThreads(__tstate
);
44887 if (PyErr_Occurred()) SWIG_fail
;
44890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44906 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44907 PyObject
*resultobj
= 0;
44908 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44912 PyObject
*swig_obj
[1] ;
44914 if (!args
) SWIG_fail
;
44915 swig_obj
[0] = args
;
44916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44917 if (!SWIG_IsOK(res1
)) {
44918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44920 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44923 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44924 wxPyEndAllowThreads(__tstate
);
44925 if (PyErr_Occurred()) SWIG_fail
;
44929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44940 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44943 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44944 return SWIG_Py_Void();
44947 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44948 return SWIG_Python_InitShadowInstance(args
);
44951 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44952 PyObject
*resultobj
= 0;
44954 wxObject
*arg2
= (wxObject
*) 0 ;
44956 wxString
*arg4
= 0 ;
44957 wxFileDirPickerEvent
*result
= 0 ;
44964 bool temp4
= false ;
44965 PyObject
* obj0
= 0 ;
44966 PyObject
* obj1
= 0 ;
44967 PyObject
* obj2
= 0 ;
44968 PyObject
* obj3
= 0 ;
44969 char * kwnames
[] = {
44970 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44974 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44975 if (!SWIG_IsOK(ecode1
)) {
44976 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44978 arg1
= static_cast< wxEventType
>(val1
);
44979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44980 if (!SWIG_IsOK(res2
)) {
44981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44983 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44985 if (!SWIG_IsOK(ecode3
)) {
44986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44988 arg3
= static_cast< int >(val3
);
44990 arg4
= wxString_in_helper(obj3
);
44991 if (arg4
== NULL
) SWIG_fail
;
44995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44996 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44997 wxPyEndAllowThreads(__tstate
);
44998 if (PyErr_Occurred()) SWIG_fail
;
45000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45015 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45016 PyObject
*resultobj
= 0;
45017 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45021 PyObject
*swig_obj
[1] ;
45023 if (!args
) SWIG_fail
;
45024 swig_obj
[0] = args
;
45025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45026 if (!SWIG_IsOK(res1
)) {
45027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45029 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45032 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45033 wxPyEndAllowThreads(__tstate
);
45034 if (PyErr_Occurred()) SWIG_fail
;
45038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45049 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45050 PyObject
*resultobj
= 0;
45051 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45052 wxString
*arg2
= 0 ;
45055 bool temp2
= false ;
45056 PyObject
* obj0
= 0 ;
45057 PyObject
* obj1
= 0 ;
45058 char * kwnames
[] = {
45059 (char *) "self",(char *) "p", NULL
45062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45064 if (!SWIG_IsOK(res1
)) {
45065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45067 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45069 arg2
= wxString_in_helper(obj1
);
45070 if (arg2
== NULL
) SWIG_fail
;
45074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45075 (arg1
)->SetPath((wxString
const &)*arg2
);
45076 wxPyEndAllowThreads(__tstate
);
45077 if (PyErr_Occurred()) SWIG_fail
;
45079 resultobj
= SWIG_Py_Void();
45094 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45097 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45098 return SWIG_Py_Void();
45101 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45102 return SWIG_Python_InitShadowInstance(args
);
45105 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45106 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45111 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45112 PyObject
*pyobj
= 0;
45116 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45118 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45125 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45126 PyObject
*resultobj
= 0;
45127 wxWindow
*arg1
= (wxWindow
*) 0 ;
45128 int arg2
= (int) -1 ;
45129 wxFont
const &arg3_defvalue
= wxNullFont
;
45130 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45135 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45136 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45137 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45138 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45139 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45140 wxFontPickerCtrl
*result
= 0 ;
45153 bool temp8
= false ;
45154 PyObject
* obj0
= 0 ;
45155 PyObject
* obj1
= 0 ;
45156 PyObject
* obj2
= 0 ;
45157 PyObject
* obj3
= 0 ;
45158 PyObject
* obj4
= 0 ;
45159 PyObject
* obj5
= 0 ;
45160 PyObject
* obj6
= 0 ;
45161 PyObject
* obj7
= 0 ;
45162 char * kwnames
[] = {
45163 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45168 if (!SWIG_IsOK(res1
)) {
45169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45171 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45174 if (!SWIG_IsOK(ecode2
)) {
45175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45177 arg2
= static_cast< int >(val2
);
45180 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45181 if (!SWIG_IsOK(res3
)) {
45182 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45187 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45202 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45203 if (!SWIG_IsOK(ecode6
)) {
45204 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45206 arg6
= static_cast< long >(val6
);
45209 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45210 if (!SWIG_IsOK(res7
)) {
45211 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45216 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45220 arg8
= wxString_in_helper(obj7
);
45221 if (arg8
== NULL
) SWIG_fail
;
45226 if (!wxPyCheckForApp()) SWIG_fail
;
45227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45228 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45229 wxPyEndAllowThreads(__tstate
);
45230 if (PyErr_Occurred()) SWIG_fail
;
45232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45247 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45248 PyObject
*resultobj
= 0;
45249 wxFontPickerCtrl
*result
= 0 ;
45251 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45253 if (!wxPyCheckForApp()) SWIG_fail
;
45254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45255 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45256 wxPyEndAllowThreads(__tstate
);
45257 if (PyErr_Occurred()) SWIG_fail
;
45259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45266 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45267 PyObject
*resultobj
= 0;
45268 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45269 wxWindow
*arg2
= (wxWindow
*) 0 ;
45270 int arg3
= (int) -1 ;
45271 wxFont
const &arg4_defvalue
= wxNullFont
;
45272 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45273 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45274 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45275 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45276 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45277 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45278 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45279 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45280 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45281 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45297 bool temp9
= false ;
45298 PyObject
* obj0
= 0 ;
45299 PyObject
* obj1
= 0 ;
45300 PyObject
* obj2
= 0 ;
45301 PyObject
* obj3
= 0 ;
45302 PyObject
* obj4
= 0 ;
45303 PyObject
* obj5
= 0 ;
45304 PyObject
* obj6
= 0 ;
45305 PyObject
* obj7
= 0 ;
45306 PyObject
* obj8
= 0 ;
45307 char * kwnames
[] = {
45308 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45313 if (!SWIG_IsOK(res1
)) {
45314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45316 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45318 if (!SWIG_IsOK(res2
)) {
45319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45321 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45324 if (!SWIG_IsOK(ecode3
)) {
45325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45327 arg3
= static_cast< int >(val3
);
45330 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45331 if (!SWIG_IsOK(res4
)) {
45332 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45337 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45342 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45348 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45352 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45353 if (!SWIG_IsOK(ecode7
)) {
45354 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45356 arg7
= static_cast< long >(val7
);
45359 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45360 if (!SWIG_IsOK(res8
)) {
45361 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45366 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45370 arg9
= wxString_in_helper(obj8
);
45371 if (arg9
== NULL
) SWIG_fail
;
45376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45378 wxPyEndAllowThreads(__tstate
);
45379 if (PyErr_Occurred()) SWIG_fail
;
45382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45398 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45399 PyObject
*resultobj
= 0;
45400 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45404 PyObject
*swig_obj
[1] ;
45406 if (!args
) SWIG_fail
;
45407 swig_obj
[0] = args
;
45408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45409 if (!SWIG_IsOK(res1
)) {
45410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45412 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45415 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45416 wxPyEndAllowThreads(__tstate
);
45417 if (PyErr_Occurred()) SWIG_fail
;
45419 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45426 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45427 PyObject
*resultobj
= 0;
45428 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45434 PyObject
* obj0
= 0 ;
45435 PyObject
* obj1
= 0 ;
45436 char * kwnames
[] = {
45437 (char *) "self",(char *) "f", NULL
45440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45442 if (!SWIG_IsOK(res1
)) {
45443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45445 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45447 if (!SWIG_IsOK(res2
)) {
45448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45453 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45456 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45457 wxPyEndAllowThreads(__tstate
);
45458 if (PyErr_Occurred()) SWIG_fail
;
45460 resultobj
= SWIG_Py_Void();
45467 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45468 PyObject
*resultobj
= 0;
45469 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45470 unsigned int arg2
;
45473 unsigned int val2
;
45475 PyObject
* obj0
= 0 ;
45476 PyObject
* obj1
= 0 ;
45477 char * kwnames
[] = {
45478 (char *) "self",(char *) "max", NULL
45481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45483 if (!SWIG_IsOK(res1
)) {
45484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45486 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45487 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45488 if (!SWIG_IsOK(ecode2
)) {
45489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45491 arg2
= static_cast< unsigned int >(val2
);
45493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45494 (arg1
)->SetMaxPointSize(arg2
);
45495 wxPyEndAllowThreads(__tstate
);
45496 if (PyErr_Occurred()) SWIG_fail
;
45498 resultobj
= SWIG_Py_Void();
45505 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45506 PyObject
*resultobj
= 0;
45507 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45508 unsigned int result
;
45511 PyObject
*swig_obj
[1] ;
45513 if (!args
) SWIG_fail
;
45514 swig_obj
[0] = args
;
45515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45516 if (!SWIG_IsOK(res1
)) {
45517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45519 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45522 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45523 wxPyEndAllowThreads(__tstate
);
45524 if (PyErr_Occurred()) SWIG_fail
;
45526 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45533 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45536 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45537 return SWIG_Py_Void();
45540 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45541 return SWIG_Python_InitShadowInstance(args
);
45544 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45545 PyObject
*resultobj
= 0;
45546 wxObject
*arg1
= (wxObject
*) 0 ;
45549 wxFontPickerEvent
*result
= 0 ;
45556 PyObject
* obj0
= 0 ;
45557 PyObject
* obj1
= 0 ;
45558 PyObject
* obj2
= 0 ;
45559 char * kwnames
[] = {
45560 (char *) "generator",(char *) "id",(char *) "f", NULL
45563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45565 if (!SWIG_IsOK(res1
)) {
45566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45568 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45570 if (!SWIG_IsOK(ecode2
)) {
45571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45573 arg2
= static_cast< int >(val2
);
45574 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45575 if (!SWIG_IsOK(res3
)) {
45576 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45581 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45584 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45585 wxPyEndAllowThreads(__tstate
);
45586 if (PyErr_Occurred()) SWIG_fail
;
45588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45595 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45596 PyObject
*resultobj
= 0;
45597 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45601 PyObject
*swig_obj
[1] ;
45603 if (!args
) SWIG_fail
;
45604 swig_obj
[0] = args
;
45605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45606 if (!SWIG_IsOK(res1
)) {
45607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45609 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45612 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45613 wxPyEndAllowThreads(__tstate
);
45614 if (PyErr_Occurred()) SWIG_fail
;
45616 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45623 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45624 PyObject
*resultobj
= 0;
45625 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45631 PyObject
* obj0
= 0 ;
45632 PyObject
* obj1
= 0 ;
45633 char * kwnames
[] = {
45634 (char *) "self",(char *) "c", NULL
45637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45639 if (!SWIG_IsOK(res1
)) {
45640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45642 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45644 if (!SWIG_IsOK(res2
)) {
45645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45650 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45653 (arg1
)->SetFont((wxFont
const &)*arg2
);
45654 wxPyEndAllowThreads(__tstate
);
45655 if (PyErr_Occurred()) SWIG_fail
;
45657 resultobj
= SWIG_Py_Void();
45664 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45667 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45668 return SWIG_Py_Void();
45671 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45672 return SWIG_Python_InitShadowInstance(args
);
45675 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45676 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45681 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45682 PyObject
*pyobj
= 0;
45686 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45688 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45695 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45696 PyObject
*resultobj
= 0;
45697 wxWindow
*arg1
= (wxWindow
*) 0 ;
45698 int arg2
= (int) -1 ;
45699 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45700 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45705 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45706 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45707 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45708 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45709 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45710 wxCollapsiblePane
*result
= 0 ;
45715 bool temp3
= false ;
45722 bool temp8
= false ;
45723 PyObject
* obj0
= 0 ;
45724 PyObject
* obj1
= 0 ;
45725 PyObject
* obj2
= 0 ;
45726 PyObject
* obj3
= 0 ;
45727 PyObject
* obj4
= 0 ;
45728 PyObject
* obj5
= 0 ;
45729 PyObject
* obj6
= 0 ;
45730 PyObject
* obj7
= 0 ;
45731 char * kwnames
[] = {
45732 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45737 if (!SWIG_IsOK(res1
)) {
45738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45743 if (!SWIG_IsOK(ecode2
)) {
45744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45746 arg2
= static_cast< int >(val2
);
45750 arg3
= wxString_in_helper(obj2
);
45751 if (arg3
== NULL
) SWIG_fail
;
45758 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45764 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45768 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45769 if (!SWIG_IsOK(ecode6
)) {
45770 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45772 arg6
= static_cast< long >(val6
);
45775 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45776 if (!SWIG_IsOK(res7
)) {
45777 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45782 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45786 arg8
= wxString_in_helper(obj7
);
45787 if (arg8
== NULL
) SWIG_fail
;
45792 if (!wxPyCheckForApp()) SWIG_fail
;
45793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45794 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45795 wxPyEndAllowThreads(__tstate
);
45796 if (PyErr_Occurred()) SWIG_fail
;
45798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45821 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45822 PyObject
*resultobj
= 0;
45823 wxCollapsiblePane
*result
= 0 ;
45825 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45827 if (!wxPyCheckForApp()) SWIG_fail
;
45828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45829 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45830 wxPyEndAllowThreads(__tstate
);
45831 if (PyErr_Occurred()) SWIG_fail
;
45833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45840 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45841 PyObject
*resultobj
= 0;
45842 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45843 wxWindow
*arg2
= (wxWindow
*) 0 ;
45844 int arg3
= (int) -1 ;
45845 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45846 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45847 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45848 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45849 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45850 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45851 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45852 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45853 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45854 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45855 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45863 bool temp4
= false ;
45870 bool temp9
= false ;
45871 PyObject
* obj0
= 0 ;
45872 PyObject
* obj1
= 0 ;
45873 PyObject
* obj2
= 0 ;
45874 PyObject
* obj3
= 0 ;
45875 PyObject
* obj4
= 0 ;
45876 PyObject
* obj5
= 0 ;
45877 PyObject
* obj6
= 0 ;
45878 PyObject
* obj7
= 0 ;
45879 PyObject
* obj8
= 0 ;
45880 char * kwnames
[] = {
45881 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45886 if (!SWIG_IsOK(res1
)) {
45887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45889 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45891 if (!SWIG_IsOK(res2
)) {
45892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45894 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45897 if (!SWIG_IsOK(ecode3
)) {
45898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45900 arg3
= static_cast< int >(val3
);
45904 arg4
= wxString_in_helper(obj3
);
45905 if (arg4
== NULL
) SWIG_fail
;
45912 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45918 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45922 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45923 if (!SWIG_IsOK(ecode7
)) {
45924 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45926 arg7
= static_cast< long >(val7
);
45929 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45930 if (!SWIG_IsOK(res8
)) {
45931 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45936 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45940 arg9
= wxString_in_helper(obj8
);
45941 if (arg9
== NULL
) SWIG_fail
;
45946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45947 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45948 wxPyEndAllowThreads(__tstate
);
45949 if (PyErr_Occurred()) SWIG_fail
;
45952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45976 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45977 PyObject
*resultobj
= 0;
45978 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45979 bool arg2
= (bool) true ;
45984 PyObject
* obj0
= 0 ;
45985 PyObject
* obj1
= 0 ;
45986 char * kwnames
[] = {
45987 (char *) "self",(char *) "collapse", NULL
45990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45992 if (!SWIG_IsOK(res1
)) {
45993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45995 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45997 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45998 if (!SWIG_IsOK(ecode2
)) {
45999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46001 arg2
= static_cast< bool >(val2
);
46004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46005 (arg1
)->Collapse(arg2
);
46006 wxPyEndAllowThreads(__tstate
);
46007 if (PyErr_Occurred()) SWIG_fail
;
46009 resultobj
= SWIG_Py_Void();
46016 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46017 PyObject
*resultobj
= 0;
46018 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46021 PyObject
*swig_obj
[1] ;
46023 if (!args
) SWIG_fail
;
46024 swig_obj
[0] = args
;
46025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46026 if (!SWIG_IsOK(res1
)) {
46027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46029 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46033 wxPyEndAllowThreads(__tstate
);
46034 if (PyErr_Occurred()) SWIG_fail
;
46036 resultobj
= SWIG_Py_Void();
46043 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46044 PyObject
*resultobj
= 0;
46045 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46049 PyObject
*swig_obj
[1] ;
46051 if (!args
) SWIG_fail
;
46052 swig_obj
[0] = args
;
46053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46054 if (!SWIG_IsOK(res1
)) {
46055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46057 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46060 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46061 wxPyEndAllowThreads(__tstate
);
46062 if (PyErr_Occurred()) SWIG_fail
;
46065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46073 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46074 PyObject
*resultobj
= 0;
46075 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46079 PyObject
*swig_obj
[1] ;
46081 if (!args
) SWIG_fail
;
46082 swig_obj
[0] = args
;
46083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46084 if (!SWIG_IsOK(res1
)) {
46085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46087 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46090 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46091 wxPyEndAllowThreads(__tstate
);
46092 if (PyErr_Occurred()) SWIG_fail
;
46095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46103 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46104 PyObject
*resultobj
= 0;
46105 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46106 wxWindow
*result
= 0 ;
46109 PyObject
*swig_obj
[1] ;
46111 if (!args
) SWIG_fail
;
46112 swig_obj
[0] = args
;
46113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46114 if (!SWIG_IsOK(res1
)) {
46115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46117 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46120 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46121 wxPyEndAllowThreads(__tstate
);
46122 if (PyErr_Occurred()) SWIG_fail
;
46125 resultobj
= wxPyMake_wxObject(result
, 0);
46133 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46136 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46137 return SWIG_Py_Void();
46140 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46141 return SWIG_Python_InitShadowInstance(args
);
46144 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46145 PyObject
*resultobj
= 0;
46146 wxObject
*arg1
= (wxObject
*) 0 ;
46149 wxCollapsiblePaneEvent
*result
= 0 ;
46156 PyObject
* obj0
= 0 ;
46157 PyObject
* obj1
= 0 ;
46158 PyObject
* obj2
= 0 ;
46159 char * kwnames
[] = {
46160 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46165 if (!SWIG_IsOK(res1
)) {
46166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46168 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46170 if (!SWIG_IsOK(ecode2
)) {
46171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46173 arg2
= static_cast< int >(val2
);
46174 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46175 if (!SWIG_IsOK(ecode3
)) {
46176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46178 arg3
= static_cast< bool >(val3
);
46180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46181 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46182 wxPyEndAllowThreads(__tstate
);
46183 if (PyErr_Occurred()) SWIG_fail
;
46185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46192 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46193 PyObject
*resultobj
= 0;
46194 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46198 PyObject
*swig_obj
[1] ;
46200 if (!args
) SWIG_fail
;
46201 swig_obj
[0] = args
;
46202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46203 if (!SWIG_IsOK(res1
)) {
46204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46206 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46209 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46210 wxPyEndAllowThreads(__tstate
);
46211 if (PyErr_Occurred()) SWIG_fail
;
46214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46222 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46223 PyObject
*resultobj
= 0;
46224 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46230 PyObject
* obj0
= 0 ;
46231 PyObject
* obj1
= 0 ;
46232 char * kwnames
[] = {
46233 (char *) "self",(char *) "c", NULL
46236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46238 if (!SWIG_IsOK(res1
)) {
46239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46241 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46242 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46243 if (!SWIG_IsOK(ecode2
)) {
46244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46246 arg2
= static_cast< bool >(val2
);
46248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46249 (arg1
)->SetCollapsed(arg2
);
46250 wxPyEndAllowThreads(__tstate
);
46251 if (PyErr_Occurred()) SWIG_fail
;
46253 resultobj
= SWIG_Py_Void();
46260 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46263 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46264 return SWIG_Py_Void();
46267 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46268 return SWIG_Python_InitShadowInstance(args
);
46271 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46272 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46277 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46278 PyObject
*pyobj
= 0;
46282 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46284 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46291 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46292 PyObject
*resultobj
= 0;
46293 wxWindow
*arg1
= (wxWindow
*) 0 ;
46294 int arg2
= (int) -1 ;
46295 wxString
const &arg3_defvalue
= wxEmptyString
;
46296 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46297 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46298 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46299 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46300 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46301 long arg6
= (long) 0 ;
46302 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46303 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46304 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46305 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46306 wxSearchCtrl
*result
= 0 ;
46311 bool temp3
= false ;
46318 bool temp8
= false ;
46319 PyObject
* obj0
= 0 ;
46320 PyObject
* obj1
= 0 ;
46321 PyObject
* obj2
= 0 ;
46322 PyObject
* obj3
= 0 ;
46323 PyObject
* obj4
= 0 ;
46324 PyObject
* obj5
= 0 ;
46325 PyObject
* obj6
= 0 ;
46326 PyObject
* obj7
= 0 ;
46327 char * kwnames
[] = {
46328 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46333 if (!SWIG_IsOK(res1
)) {
46334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46339 if (!SWIG_IsOK(ecode2
)) {
46340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46342 arg2
= static_cast< int >(val2
);
46346 arg3
= wxString_in_helper(obj2
);
46347 if (arg3
== NULL
) SWIG_fail
;
46354 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46360 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46364 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46365 if (!SWIG_IsOK(ecode6
)) {
46366 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46368 arg6
= static_cast< long >(val6
);
46371 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46372 if (!SWIG_IsOK(res7
)) {
46373 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46378 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46382 arg8
= wxString_in_helper(obj7
);
46383 if (arg8
== NULL
) SWIG_fail
;
46388 if (!wxPyCheckForApp()) SWIG_fail
;
46389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46390 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46391 wxPyEndAllowThreads(__tstate
);
46392 if (PyErr_Occurred()) SWIG_fail
;
46394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46417 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46418 PyObject
*resultobj
= 0;
46419 wxSearchCtrl
*result
= 0 ;
46421 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46423 if (!wxPyCheckForApp()) SWIG_fail
;
46424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46425 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46426 wxPyEndAllowThreads(__tstate
);
46427 if (PyErr_Occurred()) SWIG_fail
;
46429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46436 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46437 PyObject
*resultobj
= 0;
46438 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46439 wxWindow
*arg2
= (wxWindow
*) 0 ;
46440 int arg3
= (int) -1 ;
46441 wxString
const &arg4_defvalue
= wxEmptyString
;
46442 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46443 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46444 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46445 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46446 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46447 long arg7
= (long) 0 ;
46448 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46449 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46450 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46451 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46459 bool temp4
= false ;
46466 bool temp9
= false ;
46467 PyObject
* obj0
= 0 ;
46468 PyObject
* obj1
= 0 ;
46469 PyObject
* obj2
= 0 ;
46470 PyObject
* obj3
= 0 ;
46471 PyObject
* obj4
= 0 ;
46472 PyObject
* obj5
= 0 ;
46473 PyObject
* obj6
= 0 ;
46474 PyObject
* obj7
= 0 ;
46475 PyObject
* obj8
= 0 ;
46476 char * kwnames
[] = {
46477 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46482 if (!SWIG_IsOK(res1
)) {
46483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46485 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46487 if (!SWIG_IsOK(res2
)) {
46488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46490 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46493 if (!SWIG_IsOK(ecode3
)) {
46494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46496 arg3
= static_cast< int >(val3
);
46500 arg4
= wxString_in_helper(obj3
);
46501 if (arg4
== NULL
) SWIG_fail
;
46508 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46514 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46518 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46519 if (!SWIG_IsOK(ecode7
)) {
46520 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46522 arg7
= static_cast< long >(val7
);
46525 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46526 if (!SWIG_IsOK(res8
)) {
46527 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46532 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46536 arg9
= wxString_in_helper(obj8
);
46537 if (arg9
== NULL
) SWIG_fail
;
46542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46543 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46544 wxPyEndAllowThreads(__tstate
);
46545 if (PyErr_Occurred()) SWIG_fail
;
46548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46572 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46573 PyObject
*resultobj
= 0;
46574 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46575 wxMenu
*arg2
= (wxMenu
*) 0 ;
46580 PyObject
* obj0
= 0 ;
46581 PyObject
* obj1
= 0 ;
46582 char * kwnames
[] = {
46583 (char *) "self",(char *) "menu", NULL
46586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46588 if (!SWIG_IsOK(res1
)) {
46589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46591 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46593 if (!SWIG_IsOK(res2
)) {
46594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46596 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46599 (arg1
)->SetMenu(arg2
);
46600 wxPyEndAllowThreads(__tstate
);
46601 if (PyErr_Occurred()) SWIG_fail
;
46603 resultobj
= SWIG_Py_Void();
46610 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46611 PyObject
*resultobj
= 0;
46612 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46613 wxMenu
*result
= 0 ;
46616 PyObject
*swig_obj
[1] ;
46618 if (!args
) SWIG_fail
;
46619 swig_obj
[0] = args
;
46620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46621 if (!SWIG_IsOK(res1
)) {
46622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46624 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46627 result
= (wxMenu
*)(arg1
)->GetMenu();
46628 wxPyEndAllowThreads(__tstate
);
46629 if (PyErr_Occurred()) SWIG_fail
;
46632 resultobj
= wxPyMake_wxObject(result
, 0);
46640 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46641 PyObject
*resultobj
= 0;
46642 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46648 PyObject
* obj0
= 0 ;
46649 PyObject
* obj1
= 0 ;
46650 char * kwnames
[] = {
46651 (char *) "self",(char *) "show", NULL
46654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46656 if (!SWIG_IsOK(res1
)) {
46657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46659 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46660 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46661 if (!SWIG_IsOK(ecode2
)) {
46662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46664 arg2
= static_cast< bool >(val2
);
46666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46667 (arg1
)->ShowSearchButton(arg2
);
46668 wxPyEndAllowThreads(__tstate
);
46669 if (PyErr_Occurred()) SWIG_fail
;
46671 resultobj
= SWIG_Py_Void();
46678 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46679 PyObject
*resultobj
= 0;
46680 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46684 PyObject
*swig_obj
[1] ;
46686 if (!args
) SWIG_fail
;
46687 swig_obj
[0] = args
;
46688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46689 if (!SWIG_IsOK(res1
)) {
46690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46692 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46695 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46696 wxPyEndAllowThreads(__tstate
);
46697 if (PyErr_Occurred()) SWIG_fail
;
46700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46708 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46709 PyObject
*resultobj
= 0;
46710 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46716 PyObject
* obj0
= 0 ;
46717 PyObject
* obj1
= 0 ;
46718 char * kwnames
[] = {
46719 (char *) "self",(char *) "show", NULL
46722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46724 if (!SWIG_IsOK(res1
)) {
46725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46727 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46728 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46729 if (!SWIG_IsOK(ecode2
)) {
46730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46732 arg2
= static_cast< bool >(val2
);
46734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46735 (arg1
)->ShowCancelButton(arg2
);
46736 wxPyEndAllowThreads(__tstate
);
46737 if (PyErr_Occurred()) SWIG_fail
;
46739 resultobj
= SWIG_Py_Void();
46746 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46747 PyObject
*resultobj
= 0;
46748 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46752 PyObject
*swig_obj
[1] ;
46754 if (!args
) SWIG_fail
;
46755 swig_obj
[0] = args
;
46756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46757 if (!SWIG_IsOK(res1
)) {
46758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46760 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46763 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46764 wxPyEndAllowThreads(__tstate
);
46765 if (PyErr_Occurred()) SWIG_fail
;
46768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46776 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46777 PyObject
*resultobj
= 0;
46778 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46779 wxBitmap
*arg2
= 0 ;
46784 PyObject
* obj0
= 0 ;
46785 PyObject
* obj1
= 0 ;
46786 char * kwnames
[] = {
46787 (char *) "self",(char *) "bitmap", NULL
46790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46792 if (!SWIG_IsOK(res1
)) {
46793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46795 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46797 if (!SWIG_IsOK(res2
)) {
46798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46803 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46806 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
46807 wxPyEndAllowThreads(__tstate
);
46808 if (PyErr_Occurred()) SWIG_fail
;
46810 resultobj
= SWIG_Py_Void();
46817 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46818 PyObject
*resultobj
= 0;
46819 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46820 wxBitmap
*arg2
= 0 ;
46825 PyObject
* obj0
= 0 ;
46826 PyObject
* obj1
= 0 ;
46827 char * kwnames
[] = {
46828 (char *) "self",(char *) "bitmap", NULL
46831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46833 if (!SWIG_IsOK(res1
)) {
46834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46836 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46838 if (!SWIG_IsOK(res2
)) {
46839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46844 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46847 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
46848 wxPyEndAllowThreads(__tstate
);
46849 if (PyErr_Occurred()) SWIG_fail
;
46851 resultobj
= SWIG_Py_Void();
46858 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46859 PyObject
*resultobj
= 0;
46860 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46861 wxBitmap
*arg2
= 0 ;
46866 PyObject
* obj0
= 0 ;
46867 PyObject
* obj1
= 0 ;
46868 char * kwnames
[] = {
46869 (char *) "self",(char *) "bitmap", NULL
46872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46874 if (!SWIG_IsOK(res1
)) {
46875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46877 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46879 if (!SWIG_IsOK(res2
)) {
46880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46885 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46888 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
46889 wxPyEndAllowThreads(__tstate
);
46890 if (PyErr_Occurred()) SWIG_fail
;
46892 resultobj
= SWIG_Py_Void();
46899 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46902 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46903 return SWIG_Py_Void();
46906 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46907 return SWIG_Python_InitShadowInstance(args
);
46910 static PyMethodDef SwigMethods
[] = {
46911 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46913 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46915 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46916 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46918 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46919 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46921 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46923 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46924 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46925 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46926 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46927 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46934 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46935 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46936 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46937 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46939 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46941 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46942 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46944 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46946 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46947 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46949 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46950 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46952 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46954 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46956 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46957 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46959 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46961 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46963 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46964 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46965 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46967 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46968 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46971 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46972 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46975 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46977 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46978 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46979 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46980 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46981 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46982 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46983 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46984 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46985 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46987 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46988 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46990 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46993 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46995 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46996 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46997 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46999 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47001 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47003 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47004 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47006 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47009 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47010 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47012 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47014 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47015 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47017 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47018 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47020 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47024 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47025 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47027 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47029 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47033 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47034 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47036 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47047 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47052 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47058 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47059 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47061 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47063 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47065 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47066 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47067 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47069 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47070 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47080 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47081 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47082 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47083 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47084 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47085 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47086 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47088 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47089 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47090 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47091 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47092 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47093 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47094 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47095 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47096 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47097 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47099 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47100 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47102 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47104 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47106 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47111 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47112 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47113 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47114 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47115 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47116 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47117 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47118 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47123 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47124 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47133 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47134 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47139 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47140 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47141 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47142 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47143 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47144 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47145 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47146 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47147 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47148 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47150 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47151 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47152 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47154 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47157 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
47159 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47163 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47164 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47166 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47167 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47168 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47169 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47170 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47172 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47174 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47175 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47176 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47177 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47178 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47181 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47182 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47184 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47186 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47187 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47188 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47193 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47195 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47196 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47198 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47200 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47204 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47205 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47208 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47209 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47211 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47213 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47214 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47216 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47219 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47220 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47222 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47230 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47231 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47238 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47239 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47241 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47243 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47246 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47247 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47249 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47251 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47254 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47255 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47260 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47261 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47263 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47265 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47266 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47268 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47269 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47270 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47273 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47274 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47276 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47279 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47281 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47282 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47283 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47285 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47286 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47291 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47296 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47298 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47299 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47300 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47302 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47303 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47306 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47313 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47314 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47315 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47316 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47318 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47320 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47321 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47323 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47325 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47328 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47330 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47331 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47332 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47333 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47335 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47336 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47338 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47340 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47341 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47342 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47344 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47345 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47346 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47347 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47348 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47349 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47350 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47351 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47353 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47354 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47356 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47364 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47365 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47366 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47368 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47369 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47371 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47373 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47374 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47375 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47376 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47378 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47379 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47380 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47381 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47382 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47383 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47384 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47385 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47386 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47387 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47388 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47389 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47390 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47391 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47392 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47393 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47394 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47395 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47396 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47398 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47399 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47401 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47405 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47407 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47409 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47417 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47422 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47423 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47431 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47434 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47435 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47437 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47440 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47441 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47442 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47443 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47446 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47447 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47449 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47450 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47453 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47454 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47455 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47457 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47460 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47461 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47463 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47467 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47468 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47469 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47470 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47471 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47472 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47473 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47474 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47475 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47476 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47477 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47478 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47479 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47480 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47484 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47487 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47493 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47494 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47495 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47496 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47497 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47498 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47499 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47500 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47501 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47502 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47503 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47504 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47505 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47506 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47507 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47508 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47509 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47510 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47511 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47512 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47513 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47514 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47515 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47516 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47517 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47518 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47519 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47520 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47521 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47522 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47523 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47524 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47525 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47526 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47527 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47528 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47529 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47530 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47531 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47532 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47533 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47534 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47535 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47536 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47537 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47538 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47539 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47540 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47541 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47542 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47543 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47544 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47545 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47546 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47547 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47548 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47549 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47550 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47551 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47552 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47553 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47554 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47556 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47557 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47559 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47562 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47566 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47567 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47568 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47571 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47574 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47583 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47584 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47585 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47586 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47587 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47589 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47595 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47596 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47601 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47602 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47603 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47604 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47609 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47612 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47616 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47617 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47619 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47620 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47622 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47628 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47630 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47631 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47633 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47637 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47639 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47643 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47644 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47645 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47646 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47647 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47650 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47651 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47652 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47653 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47654 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47655 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47656 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47658 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47660 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47661 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47662 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47663 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47664 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47666 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47668 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47670 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47671 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47672 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47673 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47674 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47675 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47677 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47678 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47679 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47680 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47682 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47684 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47685 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47686 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47687 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47688 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47690 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47691 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47694 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47695 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47696 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47697 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47698 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47700 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47701 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47702 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47703 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47704 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47705 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47706 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47707 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47708 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47710 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47711 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47719 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47720 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47721 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47722 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47723 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47728 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47732 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47734 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47736 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47737 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47738 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47739 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47741 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47742 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47744 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47745 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47747 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47748 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47750 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47753 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47757 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47760 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47761 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47762 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47763 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47764 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47765 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47766 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47767 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47769 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47770 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47771 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47772 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47773 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47774 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47775 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47776 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47777 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47779 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47781 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47782 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47783 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47784 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47785 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47786 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47787 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47788 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47790 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47793 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47794 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47795 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47796 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47797 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47798 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47800 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47803 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47804 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47805 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47806 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47807 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47808 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47809 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47810 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47811 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47812 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47813 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47814 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47815 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47816 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47817 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47819 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47820 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47821 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47822 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47823 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47824 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47825 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47826 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47827 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47828 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47829 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47830 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47831 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47832 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47833 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47834 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47835 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47836 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47837 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47839 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47841 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47842 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47843 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47844 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47845 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47846 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47848 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47851 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47854 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47855 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47857 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47858 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47859 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47860 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47863 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47864 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47865 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47866 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47868 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47869 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47870 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47871 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47872 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47873 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47874 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47875 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47876 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47877 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47878 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47880 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47881 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47882 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47883 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47884 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47887 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47888 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47889 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47890 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47891 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47893 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47894 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47895 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47896 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47897 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47898 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47899 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47900 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47901 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47902 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47903 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47904 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47905 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47906 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47907 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47908 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47909 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47910 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47911 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47912 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47913 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47914 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47915 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47916 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47917 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47918 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47919 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47920 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47921 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47922 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47923 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47924 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47925 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47926 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47928 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47929 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47930 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47931 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47932 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47933 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47934 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47936 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47937 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47938 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47939 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47941 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47943 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47944 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47945 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47946 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47947 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47948 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47949 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47950 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47951 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47952 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47953 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47954 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47955 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47956 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47957 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47958 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47959 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47960 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47961 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47962 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47963 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47964 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47965 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47966 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47967 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47968 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47969 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47970 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47971 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47972 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47973 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47974 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47975 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47976 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47977 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47978 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47979 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
47980 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47981 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
47982 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47983 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47984 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47985 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47986 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47987 { NULL
, NULL
, 0, NULL
}
47991 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47993 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47994 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47996 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47997 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47999 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48000 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48002 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48003 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48005 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48006 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48008 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48009 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48011 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48012 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48014 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48015 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48017 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48020 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48021 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48023 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48024 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48026 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48027 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48029 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48030 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48032 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48035 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48036 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48038 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48039 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48041 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48042 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48044 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48045 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48047 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48048 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48050 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48051 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48053 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48054 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48056 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48057 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48059 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48060 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48062 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48063 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48065 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48066 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48068 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48071 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48072 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48074 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48075 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48077 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48078 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48080 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48081 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48083 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48084 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48086 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48087 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48089 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48090 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48092 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48095 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48096 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48098 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48099 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48101 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48102 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48104 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48105 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48107 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48108 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48110 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48111 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48113 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48114 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48116 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48117 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48119 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48120 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48122 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48123 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48125 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48126 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48128 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48129 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48131 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48132 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48134 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48135 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48137 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48138 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48140 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48143 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48144 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48146 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48147 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48149 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48150 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48152 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48153 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48155 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48156 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48158 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48159 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48161 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48162 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48164 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48165 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48167 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48168 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48170 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48171 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48173 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48174 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48176 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48177 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48179 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48180 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48182 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48183 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48185 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48186 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48188 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48189 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48191 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48192 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48194 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48195 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48197 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48198 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48200 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48201 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48203 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48204 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48206 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48207 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48209 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48210 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48212 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48213 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48215 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48216 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48218 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48219 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48221 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48222 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48224 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48225 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48227 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48228 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48230 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48231 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48233 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48234 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48236 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48237 return (void *)((wxControl
*) ((wxGauge
*) x
));
48239 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48240 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48242 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48243 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48245 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48246 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48248 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48249 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48251 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48252 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48254 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48255 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48257 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48258 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48260 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48261 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48263 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48264 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48266 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48267 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48269 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48270 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48272 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48273 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48275 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48276 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48278 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48279 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48281 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48282 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48284 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48285 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48287 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48288 return (void *)((wxControl
*) ((wxSlider
*) x
));
48290 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48291 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48293 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48294 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48296 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48297 return (void *)((wxControl
*) ((wxButton
*) x
));
48299 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48300 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48302 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48303 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48305 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48306 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48308 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48309 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48311 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48312 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48314 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48315 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48317 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48318 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48320 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48321 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48323 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48324 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48326 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
48327 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
48329 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48330 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48332 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48333 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48335 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48336 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48338 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48339 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48341 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48342 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48344 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48345 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48347 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48348 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48350 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48351 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48353 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48354 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48356 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48357 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48359 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48360 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48362 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48363 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48365 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48366 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48368 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48369 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48371 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48372 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48374 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48375 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48377 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48380 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48381 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48383 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48386 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48387 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48389 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48390 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48392 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48395 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48398 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48399 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48401 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48404 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48407 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48410 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48413 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48414 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48416 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48419 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48422 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48425 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48428 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48431 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48434 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48435 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48437 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48440 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48443 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48446 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48449 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48452 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48455 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48458 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48461 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48464 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48467 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48470 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48473 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48476 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48479 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48482 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48485 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48488 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48491 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48494 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48497 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48500 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48503 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48506 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48509 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48512 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48515 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48518 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48521 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48524 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48527 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48530 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48533 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48534 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48536 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48537 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48539 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48540 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48542 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48543 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48545 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48546 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48548 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48549 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48551 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48554 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48555 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48557 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48558 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48560 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48563 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48564 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48566 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48569 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48570 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48572 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48573 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48575 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48576 return (void *)((wxObject
*) ((wxSizer
*) x
));
48578 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48579 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48581 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48584 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48587 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48590 static void *_p_wxEventTo_p_wxObject(void *x
) {
48591 return (void *)((wxObject
*) ((wxEvent
*) x
));
48593 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48594 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48596 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48597 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48599 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48602 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48603 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48605 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48608 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48611 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48614 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48617 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48620 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48621 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48623 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48624 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48626 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48627 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48629 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48630 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48632 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48633 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48635 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48636 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48638 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48641 static void *_p_wxControlTo_p_wxObject(void *x
) {
48642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48644 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48647 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48650 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48653 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48656 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48659 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48660 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48662 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48665 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48668 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48671 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48674 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48675 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48677 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48678 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48680 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48683 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48686 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48687 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48689 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48692 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48695 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48696 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48698 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48701 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48704 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48707 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48708 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48710 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48713 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48716 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48717 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48719 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48720 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48722 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48723 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48725 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48728 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48729 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48731 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48732 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48734 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48735 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48737 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48738 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48740 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48741 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48743 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48744 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48746 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48749 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48750 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48752 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48755 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48758 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48759 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48761 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48762 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48764 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48765 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48767 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48768 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48770 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48773 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48774 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48776 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48777 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48779 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48780 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48782 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48783 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48785 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48786 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48788 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48789 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48791 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48792 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48794 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48795 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48797 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48798 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48800 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48801 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48803 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48804 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48806 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48809 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48812 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48815 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48818 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48821 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48824 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48827 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48828 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48830 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48831 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48833 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48836 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48839 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48842 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48845 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48846 return (void *)((wxObject
*) ((wxListItem
*) x
));
48848 static void *_p_wxImageTo_p_wxObject(void *x
) {
48849 return (void *)((wxObject
*) ((wxImage
*) x
));
48851 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48852 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48854 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48855 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48857 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48858 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48860 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48863 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48866 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48869 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48870 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48872 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48875 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48878 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48881 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48882 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48884 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48885 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48887 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48888 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48890 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48891 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48893 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48896 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48897 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48899 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48902 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48905 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48906 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48908 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48909 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48911 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48912 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48914 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48915 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48917 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48918 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48920 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48923 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48924 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48926 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48929 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48930 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48932 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48935 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48936 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48938 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48939 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48941 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48942 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48944 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48947 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48950 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48953 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48956 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48959 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48962 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48965 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48966 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48968 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48971 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48974 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48975 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48977 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48978 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48980 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48981 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48983 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48984 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48986 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48987 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48989 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48990 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48992 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48993 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48995 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48996 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48998 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48999 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49001 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49002 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49004 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49005 return (void *)((wxWindow
*) ((wxControl
*) x
));
49007 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49008 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49010 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49011 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49013 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49014 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
49016 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49017 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49019 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49020 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49022 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49023 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49025 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49026 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49028 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49029 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49031 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49032 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49034 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49035 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49037 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49038 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49040 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49041 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49043 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49044 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49046 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49047 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49049 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49050 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49052 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49053 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49055 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49056 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49058 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49059 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49061 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49062 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49064 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49065 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49067 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49068 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49070 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49071 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49073 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49074 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49076 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49077 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49079 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49080 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49082 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49083 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49085 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49086 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49088 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49089 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49091 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49092 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49094 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49095 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49097 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49098 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49100 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49101 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49103 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49104 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49106 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49107 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49109 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49110 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49112 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49113 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49115 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49116 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49118 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49119 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49121 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49122 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49124 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49125 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49127 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49128 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49130 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49131 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49133 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49134 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49136 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49137 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49139 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49140 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49142 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49143 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49145 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49146 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49148 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49149 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49151 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49152 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49154 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49155 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49157 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49158 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49160 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49161 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49163 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49164 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49166 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49167 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49169 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49170 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49172 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49173 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49175 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49176 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49178 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49179 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49181 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49182 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49184 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49185 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49187 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49188 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49190 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49191 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49193 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49194 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49196 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49197 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49199 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49200 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49202 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49203 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49205 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49206 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49208 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49209 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49211 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
49212 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
49214 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49215 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49217 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49218 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49220 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49221 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49223 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49224 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49226 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49227 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49229 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49230 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49231 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};
49232 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49233 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49234 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49235 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49236 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49237 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49238 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49239 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49240 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49241 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49242 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49243 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49244 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49245 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49246 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49247 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49248 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49249 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49250 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49251 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49252 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49253 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49254 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49255 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49256 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49257 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49258 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49259 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49260 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49261 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49262 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49263 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49264 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49265 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49266 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49267 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49268 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49269 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49270 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49271 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49272 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49273 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49274 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49275 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49276 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49277 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49278 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49279 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49280 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49281 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49282 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49283 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49284 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49285 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49286 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49287 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49288 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49289 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49290 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49291 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49292 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49293 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49294 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49295 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49296 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49297 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49298 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49299 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49300 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49301 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49302 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49303 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49304 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49305 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49306 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49307 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49308 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49309 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49310 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49311 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49312 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49313 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49314 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49315 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49316 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49317 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49318 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49319 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49320 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49321 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49322 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49323 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49324 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49325 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49326 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49327 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49328 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49329 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49330 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49331 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49332 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49333 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49334 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49335 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49336 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49337 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49338 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49339 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49340 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49341 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49342 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49343 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49344 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49345 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49346 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49347 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49348 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49349 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49350 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49351 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49352 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49353 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49354 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49355 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49356 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49357 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49358 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49359 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49360 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49361 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49362 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49363 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49364 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49365 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49366 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49367 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49368 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49369 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49370 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49371 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49372 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49373 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49374 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49375 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49376 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49377 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49378 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49379 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49380 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49381 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49382 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49383 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49384 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49385 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49386 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49387 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49388 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49389 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49390 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49391 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49392 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49393 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49394 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49395 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49396 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49397 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49398 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49399 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49400 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49401 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49402 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49403 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49404 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49405 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49406 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49407 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49409 static swig_type_info
*swig_type_initial
[] = {
49412 &_swigt__p_form_ops_t
,
49415 &_swigt__p_unsigned_char
,
49416 &_swigt__p_unsigned_int
,
49417 &_swigt__p_unsigned_long
,
49419 &_swigt__p_wxANIHandler
,
49420 &_swigt__p_wxAcceleratorTable
,
49421 &_swigt__p_wxActivateEvent
,
49422 &_swigt__p_wxArrayInt
,
49423 &_swigt__p_wxArrayString
,
49424 &_swigt__p_wxBMPHandler
,
49425 &_swigt__p_wxBitmap
,
49426 &_swigt__p_wxBitmapButton
,
49427 &_swigt__p_wxBookCtrlBase
,
49428 &_swigt__p_wxBookCtrlBaseEvent
,
49429 &_swigt__p_wxBoxSizer
,
49430 &_swigt__p_wxButton
,
49431 &_swigt__p_wxCURHandler
,
49432 &_swigt__p_wxCheckBox
,
49433 &_swigt__p_wxCheckListBox
,
49434 &_swigt__p_wxChildFocusEvent
,
49435 &_swigt__p_wxChoice
,
49436 &_swigt__p_wxChoicebook
,
49437 &_swigt__p_wxChoicebookEvent
,
49438 &_swigt__p_wxClipboardTextEvent
,
49439 &_swigt__p_wxCloseEvent
,
49440 &_swigt__p_wxCollapsiblePane
,
49441 &_swigt__p_wxCollapsiblePaneEvent
,
49442 &_swigt__p_wxColour
,
49443 &_swigt__p_wxColourPickerCtrl
,
49444 &_swigt__p_wxColourPickerEvent
,
49445 &_swigt__p_wxComboBox
,
49446 &_swigt__p_wxCommandEvent
,
49447 &_swigt__p_wxContextHelp
,
49448 &_swigt__p_wxContextHelpButton
,
49449 &_swigt__p_wxContextMenuEvent
,
49450 &_swigt__p_wxControl
,
49451 &_swigt__p_wxControlWithItems
,
49452 &_swigt__p_wxCursor
,
49454 &_swigt__p_wxDateEvent
,
49455 &_swigt__p_wxDatePickerCtrl
,
49456 &_swigt__p_wxDateTime
,
49457 &_swigt__p_wxDirFilterListCtrl
,
49458 &_swigt__p_wxDirPickerCtrl
,
49459 &_swigt__p_wxDisplayChangedEvent
,
49460 &_swigt__p_wxDropFilesEvent
,
49461 &_swigt__p_wxDuplexMode
,
49462 &_swigt__p_wxEraseEvent
,
49463 &_swigt__p_wxEvent
,
49464 &_swigt__p_wxEvtHandler
,
49465 &_swigt__p_wxFSFile
,
49466 &_swigt__p_wxFileDirPickerEvent
,
49467 &_swigt__p_wxFilePickerCtrl
,
49468 &_swigt__p_wxFileSystem
,
49469 &_swigt__p_wxFlexGridSizer
,
49470 &_swigt__p_wxFocusEvent
,
49472 &_swigt__p_wxFontPickerCtrl
,
49473 &_swigt__p_wxFontPickerEvent
,
49474 &_swigt__p_wxGBSizerItem
,
49475 &_swigt__p_wxGIFHandler
,
49476 &_swigt__p_wxGauge
,
49477 &_swigt__p_wxGenericDirCtrl
,
49478 &_swigt__p_wxGenericDragImage
,
49479 &_swigt__p_wxGridBagSizer
,
49480 &_swigt__p_wxGridSizer
,
49481 &_swigt__p_wxHelpEvent
,
49482 &_swigt__p_wxHelpProvider
,
49483 &_swigt__p_wxHyperlinkCtrl
,
49484 &_swigt__p_wxHyperlinkEvent
,
49485 &_swigt__p_wxICOHandler
,
49487 &_swigt__p_wxIconizeEvent
,
49488 &_swigt__p_wxIdleEvent
,
49489 &_swigt__p_wxImage
,
49490 &_swigt__p_wxImageHandler
,
49491 &_swigt__p_wxImageList
,
49492 &_swigt__p_wxIndividualLayoutConstraint
,
49493 &_swigt__p_wxInitDialogEvent
,
49494 &_swigt__p_wxItemContainer
,
49495 &_swigt__p_wxJPEGHandler
,
49496 &_swigt__p_wxKeyEvent
,
49497 &_swigt__p_wxLayoutConstraints
,
49498 &_swigt__p_wxListBox
,
49499 &_swigt__p_wxListEvent
,
49500 &_swigt__p_wxListItem
,
49501 &_swigt__p_wxListItemAttr
,
49502 &_swigt__p_wxListView
,
49503 &_swigt__p_wxListbook
,
49504 &_swigt__p_wxListbookEvent
,
49505 &_swigt__p_wxMaximizeEvent
,
49506 &_swigt__p_wxMemoryDC
,
49508 &_swigt__p_wxMenuBar
,
49509 &_swigt__p_wxMenuEvent
,
49510 &_swigt__p_wxMenuItem
,
49511 &_swigt__p_wxMouseCaptureChangedEvent
,
49512 &_swigt__p_wxMouseCaptureLostEvent
,
49513 &_swigt__p_wxMouseEvent
,
49514 &_swigt__p_wxMoveEvent
,
49515 &_swigt__p_wxNavigationKeyEvent
,
49516 &_swigt__p_wxNcPaintEvent
,
49517 &_swigt__p_wxNotebook
,
49518 &_swigt__p_wxNotebookEvent
,
49519 &_swigt__p_wxNotifyEvent
,
49520 &_swigt__p_wxObject
,
49521 &_swigt__p_wxPCXHandler
,
49522 &_swigt__p_wxPNGHandler
,
49523 &_swigt__p_wxPNMHandler
,
49524 &_swigt__p_wxPaintEvent
,
49525 &_swigt__p_wxPaletteChangedEvent
,
49526 &_swigt__p_wxPaperSize
,
49527 &_swigt__p_wxPickerBase
,
49528 &_swigt__p_wxPoint
,
49529 &_swigt__p_wxPyApp
,
49530 &_swigt__p_wxPyCommandEvent
,
49531 &_swigt__p_wxPyControl
,
49532 &_swigt__p_wxPyEvent
,
49533 &_swigt__p_wxPyImageHandler
,
49534 &_swigt__p_wxPyListCtrl
,
49535 &_swigt__p_wxPySizer
,
49536 &_swigt__p_wxPyTreeCtrl
,
49537 &_swigt__p_wxPyTreeItemData
,
49538 &_swigt__p_wxPyValidator
,
49539 &_swigt__p_wxQueryNewPaletteEvent
,
49540 &_swigt__p_wxRadioBox
,
49541 &_swigt__p_wxRadioButton
,
49543 &_swigt__p_wxScrollBar
,
49544 &_swigt__p_wxScrollEvent
,
49545 &_swigt__p_wxScrollWinEvent
,
49546 &_swigt__p_wxSearchCtrl
,
49547 &_swigt__p_wxSetCursorEvent
,
49548 &_swigt__p_wxShowEvent
,
49549 &_swigt__p_wxSimpleHelpProvider
,
49551 &_swigt__p_wxSizeEvent
,
49552 &_swigt__p_wxSizer
,
49553 &_swigt__p_wxSizerItem
,
49554 &_swigt__p_wxSlider
,
49555 &_swigt__p_wxSpinButton
,
49556 &_swigt__p_wxSpinCtrl
,
49557 &_swigt__p_wxSpinEvent
,
49558 &_swigt__p_wxStaticBitmap
,
49559 &_swigt__p_wxStaticBox
,
49560 &_swigt__p_wxStaticBoxSizer
,
49561 &_swigt__p_wxStaticLine
,
49562 &_swigt__p_wxStaticText
,
49563 &_swigt__p_wxStdDialogButtonSizer
,
49564 &_swigt__p_wxString
,
49565 &_swigt__p_wxSysColourChangedEvent
,
49566 &_swigt__p_wxTGAHandler
,
49567 &_swigt__p_wxTIFFHandler
,
49568 &_swigt__p_wxTextAttr
,
49569 &_swigt__p_wxTextCtrl
,
49570 &_swigt__p_wxTextUrlEvent
,
49571 &_swigt__p_wxToggleButton
,
49572 &_swigt__p_wxToolBar
,
49573 &_swigt__p_wxToolBarBase
,
49574 &_swigt__p_wxToolBarToolBase
,
49575 &_swigt__p_wxToolbook
,
49576 &_swigt__p_wxToolbookEvent
,
49577 &_swigt__p_wxTreeEvent
,
49578 &_swigt__p_wxTreeItemId
,
49579 &_swigt__p_wxTreebook
,
49580 &_swigt__p_wxTreebookEvent
,
49581 &_swigt__p_wxUpdateUIEvent
,
49582 &_swigt__p_wxValidator
,
49583 &_swigt__p_wxVisualAttributes
,
49584 &_swigt__p_wxWindow
,
49585 &_swigt__p_wxWindowBase
,
49586 &_swigt__p_wxWindowCreateEvent
,
49587 &_swigt__p_wxWindowDestroyEvent
,
49588 &_swigt__p_wxXPMHandler
,
49591 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49592 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49593 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49594 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49595 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49596 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49597 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49598 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49599 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49600 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49601 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49602 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49603 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}};
49604 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}};
49605 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}};
49606 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}};
49607 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49608 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49609 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
49610 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49611 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49612 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49613 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49614 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49615 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49616 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49617 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49618 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49619 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49620 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49621 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49622 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49623 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49624 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49625 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49626 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49627 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
49628 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49629 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49630 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_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}};
49631 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_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}};
49632 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49633 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49634 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49635 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49636 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49637 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49638 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49639 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49640 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49641 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49642 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49643 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49644 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49645 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49646 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49647 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49648 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49649 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49650 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49651 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49652 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49653 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49654 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49655 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49656 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49657 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49658 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49659 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49660 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49661 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49662 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49663 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49664 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
49665 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49666 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49667 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49668 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49669 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49670 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49671 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49672 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49673 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49674 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49675 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49676 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49677 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49678 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}};
49679 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49680 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49681 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49682 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49683 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}};
49684 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49685 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}};
49686 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49687 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49688 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49689 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49690 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49691 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49692 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49693 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49694 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49695 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49696 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49697 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}};
49698 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49699 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49700 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49701 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49702 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49703 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49704 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49705 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49706 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49707 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49708 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49709 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49710 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49711 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49712 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49713 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49714 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49715 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49716 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49717 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49718 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49719 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49720 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49721 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49722 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49723 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49724 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49725 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49726 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49727 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49728 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49729 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49730 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49731 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}};
49732 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49733 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49734 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}};
49735 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49736 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49737 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49738 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49739 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49740 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49741 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49742 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49743 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49744 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49745 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49746 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49747 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49748 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49749 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49750 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49751 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49752 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49753 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49754 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49755 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49756 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49757 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49758 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}};
49759 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49760 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49761 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49762 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49763 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49764 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49765 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49766 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}};
49767 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49768 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
49769 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49771 static swig_cast_info
*swig_cast_initial
[] = {
49774 _swigc__p_form_ops_t
,
49777 _swigc__p_unsigned_char
,
49778 _swigc__p_unsigned_int
,
49779 _swigc__p_unsigned_long
,
49781 _swigc__p_wxANIHandler
,
49782 _swigc__p_wxAcceleratorTable
,
49783 _swigc__p_wxActivateEvent
,
49784 _swigc__p_wxArrayInt
,
49785 _swigc__p_wxArrayString
,
49786 _swigc__p_wxBMPHandler
,
49787 _swigc__p_wxBitmap
,
49788 _swigc__p_wxBitmapButton
,
49789 _swigc__p_wxBookCtrlBase
,
49790 _swigc__p_wxBookCtrlBaseEvent
,
49791 _swigc__p_wxBoxSizer
,
49792 _swigc__p_wxButton
,
49793 _swigc__p_wxCURHandler
,
49794 _swigc__p_wxCheckBox
,
49795 _swigc__p_wxCheckListBox
,
49796 _swigc__p_wxChildFocusEvent
,
49797 _swigc__p_wxChoice
,
49798 _swigc__p_wxChoicebook
,
49799 _swigc__p_wxChoicebookEvent
,
49800 _swigc__p_wxClipboardTextEvent
,
49801 _swigc__p_wxCloseEvent
,
49802 _swigc__p_wxCollapsiblePane
,
49803 _swigc__p_wxCollapsiblePaneEvent
,
49804 _swigc__p_wxColour
,
49805 _swigc__p_wxColourPickerCtrl
,
49806 _swigc__p_wxColourPickerEvent
,
49807 _swigc__p_wxComboBox
,
49808 _swigc__p_wxCommandEvent
,
49809 _swigc__p_wxContextHelp
,
49810 _swigc__p_wxContextHelpButton
,
49811 _swigc__p_wxContextMenuEvent
,
49812 _swigc__p_wxControl
,
49813 _swigc__p_wxControlWithItems
,
49814 _swigc__p_wxCursor
,
49816 _swigc__p_wxDateEvent
,
49817 _swigc__p_wxDatePickerCtrl
,
49818 _swigc__p_wxDateTime
,
49819 _swigc__p_wxDirFilterListCtrl
,
49820 _swigc__p_wxDirPickerCtrl
,
49821 _swigc__p_wxDisplayChangedEvent
,
49822 _swigc__p_wxDropFilesEvent
,
49823 _swigc__p_wxDuplexMode
,
49824 _swigc__p_wxEraseEvent
,
49826 _swigc__p_wxEvtHandler
,
49827 _swigc__p_wxFSFile
,
49828 _swigc__p_wxFileDirPickerEvent
,
49829 _swigc__p_wxFilePickerCtrl
,
49830 _swigc__p_wxFileSystem
,
49831 _swigc__p_wxFlexGridSizer
,
49832 _swigc__p_wxFocusEvent
,
49834 _swigc__p_wxFontPickerCtrl
,
49835 _swigc__p_wxFontPickerEvent
,
49836 _swigc__p_wxGBSizerItem
,
49837 _swigc__p_wxGIFHandler
,
49839 _swigc__p_wxGenericDirCtrl
,
49840 _swigc__p_wxGenericDragImage
,
49841 _swigc__p_wxGridBagSizer
,
49842 _swigc__p_wxGridSizer
,
49843 _swigc__p_wxHelpEvent
,
49844 _swigc__p_wxHelpProvider
,
49845 _swigc__p_wxHyperlinkCtrl
,
49846 _swigc__p_wxHyperlinkEvent
,
49847 _swigc__p_wxICOHandler
,
49849 _swigc__p_wxIconizeEvent
,
49850 _swigc__p_wxIdleEvent
,
49852 _swigc__p_wxImageHandler
,
49853 _swigc__p_wxImageList
,
49854 _swigc__p_wxIndividualLayoutConstraint
,
49855 _swigc__p_wxInitDialogEvent
,
49856 _swigc__p_wxItemContainer
,
49857 _swigc__p_wxJPEGHandler
,
49858 _swigc__p_wxKeyEvent
,
49859 _swigc__p_wxLayoutConstraints
,
49860 _swigc__p_wxListBox
,
49861 _swigc__p_wxListEvent
,
49862 _swigc__p_wxListItem
,
49863 _swigc__p_wxListItemAttr
,
49864 _swigc__p_wxListView
,
49865 _swigc__p_wxListbook
,
49866 _swigc__p_wxListbookEvent
,
49867 _swigc__p_wxMaximizeEvent
,
49868 _swigc__p_wxMemoryDC
,
49870 _swigc__p_wxMenuBar
,
49871 _swigc__p_wxMenuEvent
,
49872 _swigc__p_wxMenuItem
,
49873 _swigc__p_wxMouseCaptureChangedEvent
,
49874 _swigc__p_wxMouseCaptureLostEvent
,
49875 _swigc__p_wxMouseEvent
,
49876 _swigc__p_wxMoveEvent
,
49877 _swigc__p_wxNavigationKeyEvent
,
49878 _swigc__p_wxNcPaintEvent
,
49879 _swigc__p_wxNotebook
,
49880 _swigc__p_wxNotebookEvent
,
49881 _swigc__p_wxNotifyEvent
,
49882 _swigc__p_wxObject
,
49883 _swigc__p_wxPCXHandler
,
49884 _swigc__p_wxPNGHandler
,
49885 _swigc__p_wxPNMHandler
,
49886 _swigc__p_wxPaintEvent
,
49887 _swigc__p_wxPaletteChangedEvent
,
49888 _swigc__p_wxPaperSize
,
49889 _swigc__p_wxPickerBase
,
49892 _swigc__p_wxPyCommandEvent
,
49893 _swigc__p_wxPyControl
,
49894 _swigc__p_wxPyEvent
,
49895 _swigc__p_wxPyImageHandler
,
49896 _swigc__p_wxPyListCtrl
,
49897 _swigc__p_wxPySizer
,
49898 _swigc__p_wxPyTreeCtrl
,
49899 _swigc__p_wxPyTreeItemData
,
49900 _swigc__p_wxPyValidator
,
49901 _swigc__p_wxQueryNewPaletteEvent
,
49902 _swigc__p_wxRadioBox
,
49903 _swigc__p_wxRadioButton
,
49905 _swigc__p_wxScrollBar
,
49906 _swigc__p_wxScrollEvent
,
49907 _swigc__p_wxScrollWinEvent
,
49908 _swigc__p_wxSearchCtrl
,
49909 _swigc__p_wxSetCursorEvent
,
49910 _swigc__p_wxShowEvent
,
49911 _swigc__p_wxSimpleHelpProvider
,
49913 _swigc__p_wxSizeEvent
,
49915 _swigc__p_wxSizerItem
,
49916 _swigc__p_wxSlider
,
49917 _swigc__p_wxSpinButton
,
49918 _swigc__p_wxSpinCtrl
,
49919 _swigc__p_wxSpinEvent
,
49920 _swigc__p_wxStaticBitmap
,
49921 _swigc__p_wxStaticBox
,
49922 _swigc__p_wxStaticBoxSizer
,
49923 _swigc__p_wxStaticLine
,
49924 _swigc__p_wxStaticText
,
49925 _swigc__p_wxStdDialogButtonSizer
,
49926 _swigc__p_wxString
,
49927 _swigc__p_wxSysColourChangedEvent
,
49928 _swigc__p_wxTGAHandler
,
49929 _swigc__p_wxTIFFHandler
,
49930 _swigc__p_wxTextAttr
,
49931 _swigc__p_wxTextCtrl
,
49932 _swigc__p_wxTextUrlEvent
,
49933 _swigc__p_wxToggleButton
,
49934 _swigc__p_wxToolBar
,
49935 _swigc__p_wxToolBarBase
,
49936 _swigc__p_wxToolBarToolBase
,
49937 _swigc__p_wxToolbook
,
49938 _swigc__p_wxToolbookEvent
,
49939 _swigc__p_wxTreeEvent
,
49940 _swigc__p_wxTreeItemId
,
49941 _swigc__p_wxTreebook
,
49942 _swigc__p_wxTreebookEvent
,
49943 _swigc__p_wxUpdateUIEvent
,
49944 _swigc__p_wxValidator
,
49945 _swigc__p_wxVisualAttributes
,
49946 _swigc__p_wxWindow
,
49947 _swigc__p_wxWindowBase
,
49948 _swigc__p_wxWindowCreateEvent
,
49949 _swigc__p_wxWindowDestroyEvent
,
49950 _swigc__p_wxXPMHandler
,
49954 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49956 static swig_const_info swig_const_table
[] = {
49957 {0, 0, 0, 0.0, 0, 0}};
49962 /* -----------------------------------------------------------------------------
49963 * Type initialization:
49964 * This problem is tough by the requirement that no dynamic
49965 * memory is used. Also, since swig_type_info structures store pointers to
49966 * swig_cast_info structures and swig_cast_info structures store pointers back
49967 * to swig_type_info structures, we need some lookup code at initialization.
49968 * The idea is that swig generates all the structures that are needed.
49969 * The runtime then collects these partially filled structures.
49970 * The SWIG_InitializeModule function takes these initial arrays out of
49971 * swig_module, and does all the lookup, filling in the swig_module.types
49972 * array with the correct data and linking the correct swig_cast_info
49973 * structures together.
49975 * The generated swig_type_info structures are assigned staticly to an initial
49976 * array. We just loop though that array, and handle each type individually.
49977 * First we lookup if this type has been already loaded, and if so, use the
49978 * loaded structure instead of the generated one. Then we have to fill in the
49979 * cast linked list. The cast data is initially stored in something like a
49980 * two-dimensional array. Each row corresponds to a type (there are the same
49981 * number of rows as there are in the swig_type_initial array). Each entry in
49982 * a column is one of the swig_cast_info structures for that type.
49983 * The cast_initial array is actually an array of arrays, because each row has
49984 * a variable number of columns. So to actually build the cast linked list,
49985 * we find the array of casts associated with the type, and loop through it
49986 * adding the casts to the list. The one last trick we need to do is making
49987 * sure the type pointer in the swig_cast_info struct is correct.
49989 * First off, we lookup the cast->type name to see if it is already loaded.
49990 * There are three cases to handle:
49991 * 1) If the cast->type has already been loaded AND the type we are adding
49992 * casting info to has not been loaded (it is in this module), THEN we
49993 * replace the cast->type pointer with the type pointer that has already
49995 * 2) If BOTH types (the one we are adding casting info to, and the
49996 * cast->type) are loaded, THEN the cast info has already been loaded by
49997 * the previous module so we just ignore it.
49998 * 3) Finally, if cast->type has not already been loaded, then we add that
49999 * swig_cast_info to the linked list (because the cast->type) pointer will
50001 * ----------------------------------------------------------------------------- */
50011 #define SWIGRUNTIME_DEBUG
50015 SWIG_InitializeModule(void *clientdata
) {
50017 swig_module_info
*module_head
;
50018 static int init_run
= 0;
50020 clientdata
= clientdata
;
50022 if (init_run
) return;
50025 /* Initialize the swig_module */
50026 swig_module
.type_initial
= swig_type_initial
;
50027 swig_module
.cast_initial
= swig_cast_initial
;
50029 /* Try and load any already created modules */
50030 module_head
= SWIG_GetModule(clientdata
);
50032 swig_module
.next
= module_head
->next
;
50033 module_head
->next
= &swig_module
;
50035 /* This is the first module loaded */
50036 swig_module
.next
= &swig_module
;
50037 SWIG_SetModule(clientdata
, &swig_module
);
50040 /* Now work on filling in swig_module.types */
50041 #ifdef SWIGRUNTIME_DEBUG
50042 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50044 for (i
= 0; i
< swig_module
.size
; ++i
) {
50045 swig_type_info
*type
= 0;
50046 swig_type_info
*ret
;
50047 swig_cast_info
*cast
;
50049 #ifdef SWIGRUNTIME_DEBUG
50050 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50053 /* if there is another module already loaded */
50054 if (swig_module
.next
!= &swig_module
) {
50055 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50058 /* Overwrite clientdata field */
50059 #ifdef SWIGRUNTIME_DEBUG
50060 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50062 if (swig_module
.type_initial
[i
]->clientdata
) {
50063 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50064 #ifdef SWIGRUNTIME_DEBUG
50065 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50069 type
= swig_module
.type_initial
[i
];
50072 /* Insert casting types */
50073 cast
= swig_module
.cast_initial
[i
];
50074 while (cast
->type
) {
50075 /* Don't need to add information already in the list */
50077 #ifdef SWIGRUNTIME_DEBUG
50078 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50080 if (swig_module
.next
!= &swig_module
) {
50081 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50082 #ifdef SWIGRUNTIME_DEBUG
50083 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50087 if (type
== swig_module
.type_initial
[i
]) {
50088 #ifdef SWIGRUNTIME_DEBUG
50089 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50094 /* Check for casting already in the list */
50095 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50096 #ifdef SWIGRUNTIME_DEBUG
50097 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50099 if (!ocast
) ret
= 0;
50104 #ifdef SWIGRUNTIME_DEBUG
50105 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50108 type
->cast
->prev
= cast
;
50109 cast
->next
= type
->cast
;
50115 /* Set entry in modules->types array equal to the type */
50116 swig_module
.types
[i
] = type
;
50118 swig_module
.types
[i
] = 0;
50120 #ifdef SWIGRUNTIME_DEBUG
50121 printf("**** SWIG_InitializeModule: Cast List ******\n");
50122 for (i
= 0; i
< swig_module
.size
; ++i
) {
50124 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50125 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50126 while (cast
->type
) {
50127 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50131 printf("---- Total casts: %d\n",j
);
50133 printf("**** SWIG_InitializeModule: Cast List ******\n");
50137 /* This function will propagate the clientdata field of type to
50138 * any new swig_type_info structures that have been added into the list
50139 * of equivalent types. It is like calling
50140 * SWIG_TypeClientData(type, clientdata) a second time.
50143 SWIG_PropagateClientData(void) {
50145 swig_cast_info
*equiv
;
50146 static int init_run
= 0;
50148 if (init_run
) return;
50151 for (i
= 0; i
< swig_module
.size
; i
++) {
50152 if (swig_module
.types
[i
]->clientdata
) {
50153 equiv
= swig_module
.types
[i
]->cast
;
50155 if (!equiv
->converter
) {
50156 if (equiv
->type
&& !equiv
->type
->clientdata
)
50157 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50159 equiv
= equiv
->next
;
50179 /* Python-specific SWIG API */
50180 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50181 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50182 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50184 /* -----------------------------------------------------------------------------
50185 * global variable support code.
50186 * ----------------------------------------------------------------------------- */
50188 typedef struct swig_globalvar
{
50189 char *name
; /* Name of global variable */
50190 PyObject
*(*get_attr
)(void); /* Return the current value */
50191 int (*set_attr
)(PyObject
*); /* Set the value */
50192 struct swig_globalvar
*next
;
50195 typedef struct swig_varlinkobject
{
50197 swig_globalvar
*vars
;
50198 } swig_varlinkobject
;
50200 SWIGINTERN PyObject
*
50201 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50202 return PyString_FromString("<Swig global variables>");
50205 SWIGINTERN PyObject
*
50206 swig_varlink_str(swig_varlinkobject
*v
) {
50207 PyObject
*str
= PyString_FromString("(");
50208 swig_globalvar
*var
;
50209 for (var
= v
->vars
; var
; var
=var
->next
) {
50210 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50211 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50213 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50218 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50219 PyObject
*str
= swig_varlink_str(v
);
50220 fprintf(fp
,"Swig global variables ");
50221 fprintf(fp
,"%s\n", PyString_AsString(str
));
50227 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50228 swig_globalvar
*var
= v
->vars
;
50230 swig_globalvar
*n
= var
->next
;
50237 SWIGINTERN PyObject
*
50238 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50239 PyObject
*res
= NULL
;
50240 swig_globalvar
*var
= v
->vars
;
50242 if (strcmp(var
->name
,n
) == 0) {
50243 res
= (*var
->get_attr
)();
50248 if (res
== NULL
&& !PyErr_Occurred()) {
50249 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50255 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50257 swig_globalvar
*var
= v
->vars
;
50259 if (strcmp(var
->name
,n
) == 0) {
50260 res
= (*var
->set_attr
)(p
);
50265 if (res
== 1 && !PyErr_Occurred()) {
50266 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50271 SWIGINTERN PyTypeObject
*
50272 swig_varlink_type(void) {
50273 static char varlink__doc__
[] = "Swig var link object";
50274 static PyTypeObject varlink_type
;
50275 static int type_init
= 0;
50277 const PyTypeObject tmp
50279 PyObject_HEAD_INIT(NULL
)
50280 0, /* Number of items in variable part (ob_size) */
50281 (char *)"swigvarlink", /* Type name (tp_name) */
50282 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50283 0, /* Itemsize (tp_itemsize) */
50284 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50285 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50286 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50287 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50288 0, /* tp_compare */
50289 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50290 0, /* tp_as_number */
50291 0, /* tp_as_sequence */
50292 0, /* tp_as_mapping */
50295 (reprfunc
)swig_varlink_str
, /* tp_str */
50296 0, /* tp_getattro */
50297 0, /* tp_setattro */
50298 0, /* tp_as_buffer */
50300 varlink__doc__
, /* tp_doc */
50301 0, /* tp_traverse */
50303 0, /* tp_richcompare */
50304 0, /* tp_weaklistoffset */
50305 #if PY_VERSION_HEX >= 0x02020000
50306 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50308 #if PY_VERSION_HEX >= 0x02030000
50311 #ifdef COUNT_ALLOCS
50312 0,0,0,0 /* tp_alloc -> tp_next */
50315 varlink_type
= tmp
;
50316 varlink_type
.ob_type
= &PyType_Type
;
50319 return &varlink_type
;
50322 /* Create a variable linking object for use later */
50323 SWIGINTERN PyObject
*
50324 SWIG_Python_newvarlink(void) {
50325 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50329 return ((PyObject
*) result
);
50333 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50334 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50335 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50337 size_t size
= strlen(name
)+1;
50338 gv
->name
= (char *)malloc(size
);
50340 strncpy(gv
->name
,name
,size
);
50341 gv
->get_attr
= get_attr
;
50342 gv
->set_attr
= set_attr
;
50343 gv
->next
= v
->vars
;
50349 SWIGINTERN PyObject
*
50351 static PyObject
*_SWIG_globals
= 0;
50352 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50353 return _SWIG_globals
;
50356 /* -----------------------------------------------------------------------------
50357 * constants/methods manipulation
50358 * ----------------------------------------------------------------------------- */
50360 /* Install Constants */
50362 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50365 for (i
= 0; constants
[i
].type
; ++i
) {
50366 switch(constants
[i
].type
) {
50367 case SWIG_PY_POINTER
:
50368 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50370 case SWIG_PY_BINARY
:
50371 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50378 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50384 /* -----------------------------------------------------------------------------*/
50385 /* Fix SwigMethods to carry the callback ptrs when needed */
50386 /* -----------------------------------------------------------------------------*/
50389 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50390 swig_const_info
*const_table
,
50391 swig_type_info
**types
,
50392 swig_type_info
**types_initial
) {
50394 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50395 const char *c
= methods
[i
].ml_doc
;
50396 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50398 swig_const_info
*ci
= 0;
50399 const char *name
= c
+ 10;
50400 for (j
= 0; const_table
[j
].type
; ++j
) {
50401 if (strncmp(const_table
[j
].name
, name
,
50402 strlen(const_table
[j
].name
)) == 0) {
50403 ci
= &(const_table
[j
]);
50408 size_t shift
= (ci
->ptype
) - types
;
50409 swig_type_info
*ty
= types_initial
[shift
];
50410 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50411 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50412 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50415 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50417 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50419 strncpy(buff
, "swig_ptr: ", 10);
50421 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50422 methods
[i
].ml_doc
= ndoc
;
50434 /* -----------------------------------------------------------------------------*
50435 * Partial Init method
50436 * -----------------------------------------------------------------------------*/
50441 SWIGEXPORT
void SWIG_init(void) {
50444 /* Fix SwigMethods to carry the callback ptrs when needed */
50445 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50447 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50448 d
= PyModule_GetDict(m
);
50450 SWIG_InitializeModule(0);
50451 SWIG_InstallConstants(d
,swig_const_table
);
50454 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50455 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50456 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50457 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50458 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50459 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50460 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50461 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50462 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50463 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50464 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50465 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50466 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50467 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50468 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50469 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50470 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50471 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50472 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50473 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50474 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50475 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50476 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50477 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50478 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50479 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50480 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50481 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50482 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50483 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50484 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50485 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50486 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50487 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50488 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50489 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50490 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50491 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50492 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50493 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50494 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50495 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50496 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50497 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50498 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50499 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50500 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50501 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50502 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50503 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50504 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50505 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50506 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50507 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50508 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50509 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50510 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50511 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50512 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50513 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50514 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50515 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50516 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50517 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50518 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50519 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50520 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50521 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50522 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50523 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50524 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50525 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50526 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50527 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50528 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50529 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50530 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50531 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50532 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50533 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50534 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50535 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50536 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50537 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50538 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50539 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50540 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50541 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50542 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50543 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50544 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50545 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50546 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50547 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50548 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50549 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50550 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50551 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50552 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50553 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50554 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50555 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50556 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50557 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50558 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50559 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50560 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50561 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50562 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50563 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50564 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50565 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50566 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50567 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50568 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50569 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50570 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50571 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50572 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50573 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50574 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50575 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50576 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50577 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50578 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50579 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50580 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50581 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50582 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50583 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50584 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50585 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50586 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50587 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50588 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50589 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50590 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50591 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50592 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50593 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50594 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50595 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50596 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50597 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50598 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50599 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50600 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50602 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50603 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50604 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50605 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50606 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50607 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50608 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50609 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50610 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50611 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50612 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50613 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50614 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50615 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50616 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50617 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50618 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50619 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50620 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50621 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50622 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50623 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50624 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50625 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50626 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50627 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50628 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50629 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50630 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50631 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50632 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50633 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50634 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50635 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50636 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50637 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50638 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50639 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50640 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50641 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50642 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50643 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50644 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50645 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50646 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50647 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50648 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50649 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50650 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50651 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50652 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50653 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50654 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50655 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50656 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50657 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50658 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50659 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50660 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50661 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50662 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50663 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50664 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50665 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50666 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50667 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50668 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50669 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50670 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50671 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50672 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50673 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50674 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50675 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50676 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50677 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50678 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50679 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50680 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50681 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50682 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50683 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50684 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50685 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50686 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50687 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50688 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50689 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50690 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50691 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50692 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50693 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50694 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50713 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50714 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50716 // Map renamed classes back to their common name for OOR
50717 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50719 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50720 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50721 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50722 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50723 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50724 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50725 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50726 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50727 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50728 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50729 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50730 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50731 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50732 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50733 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50734 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50735 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50736 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50737 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50738 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50739 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50740 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50741 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50742 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50743 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50744 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50745 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50746 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50747 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50748 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50749 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50750 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50751 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50752 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50771 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50772 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50773 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50774 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50776 // Map renamed classes back to their common name for OOR
50777 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50778 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50780 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50781 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50782 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50783 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50784 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50785 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50786 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50787 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50788 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50789 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50790 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50792 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50794 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50795 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50796 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50797 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50798 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50799 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50800 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50801 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50802 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50803 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50804 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50805 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50806 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50807 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50808 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50809 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50810 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50811 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50812 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50813 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50814 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50815 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50816 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50817 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50818 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50819 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50820 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50821 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50822 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50823 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50824 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50825 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50826 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50827 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50828 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50829 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50830 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50831 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50832 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50833 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50834 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50835 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50836 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50837 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50838 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50839 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50840 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50841 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50842 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
50843 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));