1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNotebook swig_types[104]
2571 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxObject swig_types[107]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2580 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPyApp swig_types[116]
2583 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyControl swig_types[118]
2585 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2594 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSlider swig_types[140]
2607 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2608 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2609 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2614 #define SWIGTYPE_p_wxStaticText swig_types[148]
2615 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2616 #define SWIGTYPE_p_wxString swig_types[150]
2617 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2620 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2621 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2622 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolbook swig_types[160]
2627 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 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
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 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
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3112 return (wxWindow
*)self
->m_mainWin
;
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 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
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 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
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 PyObject
*swig_obj
[1] ;
6193 if (!args
) SWIG_fail
;
6195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6196 if (!SWIG_IsOK(res1
)) {
6197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6199 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_From_int(static_cast< int >(result
));
6213 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
= 0;
6215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6216 wxString
*arg2
= 0 ;
6220 bool temp2
= false ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "self",(char *) "string", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6232 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6234 arg2
= wxString_in_helper(obj1
);
6235 if (arg2
== NULL
) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6261 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6265 wxString
*arg3
= 0 ;
6270 bool temp3
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 PyObject
* obj2
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "n",(char *) "string", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6285 if (!SWIG_IsOK(ecode2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6288 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6315 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 char * kwnames
[] = {
6326 (char *) "self",(char *) "editable", NULL
6329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6334 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6336 if (!SWIG_IsOK(ecode2
)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6339 arg2
= static_cast< bool >(val2
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetEditable(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6353 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6354 PyObject
*resultobj
= 0;
6355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6366 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "from",(char *) "to", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6403 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6405 if (!SWIG_IsOK(ecode2
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6408 arg2
= static_cast< long >(val2
);
6409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6410 if (!SWIG_IsOK(ecode3
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6413 arg3
= static_cast< long >(val3
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->Remove(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6433 PyObject
*swig_obj
[1] ;
6435 if (!args
) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6441 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->SelectAll();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6544 PyObject
*swig_obj
[1] ;
6546 if (!args
) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6552 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6582 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6598 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 PyObject
*resultobj
= 0;
6600 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6612 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6628 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6629 PyObject
*resultobj
= 0;
6630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6634 PyObject
*swig_obj
[1] ;
6636 if (!args
) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6642 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6658 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6672 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6688 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6691 SwigValueWrapper
<wxVisualAttributes
> result
;
6694 PyObject
* obj0
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "variant", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6702 if (!SWIG_IsOK(ecode1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6705 arg1
= static_cast< wxWindowVariant
>(val1
);
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6725 return SWIG_Py_Void();
6728 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 return SWIG_Python_InitShadowInstance(args
);
6732 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6733 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6738 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6739 PyObject
*pyobj
= 0;
6743 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6745 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6752 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxWindow
*arg1
= (wxWindow
*) 0 ;
6755 int arg2
= (int) -1 ;
6756 int arg3
= (int) 100 ;
6757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6761 long arg6
= (long) wxGA_HORIZONTAL
;
6762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6764 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6766 wxGauge
*result
= 0 ;
6779 bool temp8
= false ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6783 PyObject
* obj3
= 0 ;
6784 PyObject
* obj4
= 0 ;
6785 PyObject
* obj5
= 0 ;
6786 PyObject
* obj6
= 0 ;
6787 PyObject
* obj7
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6826 if (!SWIG_IsOK(ecode6
)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6829 arg6
= static_cast< long >(val6
);
6832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6833 if (!SWIG_IsOK(res7
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6843 arg8
= wxString_in_helper(obj7
);
6844 if (arg8
== NULL
) SWIG_fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6870 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6871 PyObject
*resultobj
= 0;
6872 wxGauge
*result
= 0 ;
6874 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxGauge
*arg1
= (wxGauge
*) 0 ;
6892 wxWindow
*arg2
= (wxWindow
*) 0 ;
6893 int arg3
= (int) -1 ;
6894 int arg4
= (int) 100 ;
6895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6899 long arg7
= (long) wxGA_HORIZONTAL
;
6900 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6901 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6902 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6919 bool temp9
= false ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 PyObject
* obj2
= 0 ;
6923 PyObject
* obj3
= 0 ;
6924 PyObject
* obj4
= 0 ;
6925 PyObject
* obj5
= 0 ;
6926 PyObject
* obj6
= 0 ;
6927 PyObject
* obj7
= 0 ;
6928 PyObject
* obj8
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6938 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6940 if (!SWIG_IsOK(res2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6946 if (!SWIG_IsOK(ecode3
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6949 arg3
= static_cast< int >(val3
);
6952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6953 if (!SWIG_IsOK(ecode4
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6956 arg4
= static_cast< int >(val4
);
6961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6972 if (!SWIG_IsOK(ecode7
)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6975 arg7
= static_cast< long >(val7
);
6978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6979 if (!SWIG_IsOK(res8
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6989 arg9
= wxString_in_helper(obj8
);
6990 if (arg9
== NULL
) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxGauge
*arg1
= (wxGauge
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "range", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7036 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetRange(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7057 wxGauge
*arg1
= (wxGauge
*) 0 ;
7061 PyObject
*swig_obj
[1] ;
7063 if (!args
) SWIG_fail
;
7065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7066 if (!SWIG_IsOK(res1
)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7069 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int(static_cast< int >(result
));
7083 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxGauge
*arg1
= (wxGauge
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "pos", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7102 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetValue(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxGauge
*arg1
= (wxGauge
*) 0 ;
7127 PyObject
*swig_obj
[1] ;
7129 if (!args
) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7135 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_int(static_cast< int >(result
));
7149 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 PyObject
*resultobj
= 0;
7151 wxGauge
*arg1
= (wxGauge
*) 0 ;
7155 PyObject
*swig_obj
[1] ;
7157 if (!args
) SWIG_fail
;
7159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7160 if (!SWIG_IsOK(res1
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7163 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7179 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
= 0;
7181 wxGauge
*arg1
= (wxGauge
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 char * kwnames
[] = {
7190 (char *) "self",(char *) "w", NULL
7193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7195 if (!SWIG_IsOK(res1
)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7198 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7200 if (!SWIG_IsOK(ecode2
)) {
7201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7203 arg2
= static_cast< int >(val2
);
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 (arg1
)->SetShadowWidth(arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_Py_Void();
7217 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7218 PyObject
*resultobj
= 0;
7219 wxGauge
*arg1
= (wxGauge
*) 0 ;
7223 PyObject
*swig_obj
[1] ;
7225 if (!args
) SWIG_fail
;
7227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7228 if (!SWIG_IsOK(res1
)) {
7229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7231 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_From_int(static_cast< int >(result
));
7245 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
= 0;
7247 wxGauge
*arg1
= (wxGauge
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7255 char * kwnames
[] = {
7256 (char *) "self",(char *) "w", NULL
7259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7261 if (!SWIG_IsOK(res1
)) {
7262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7264 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7266 if (!SWIG_IsOK(ecode2
)) {
7267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7269 arg2
= static_cast< int >(val2
);
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 (arg1
)->SetBezelFace(arg2
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= SWIG_Py_Void();
7283 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7284 PyObject
*resultobj
= 0;
7285 wxGauge
*arg1
= (wxGauge
*) 0 ;
7289 PyObject
*swig_obj
[1] ;
7291 if (!args
) SWIG_fail
;
7293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7294 if (!SWIG_IsOK(res1
)) {
7295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7297 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_From_int(static_cast< int >(result
));
7311 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
= 0;
7313 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7314 SwigValueWrapper
<wxVisualAttributes
> result
;
7317 PyObject
* obj0
= 0 ;
7318 char * kwnames
[] = {
7319 (char *) "variant", NULL
7322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7324 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7325 if (!SWIG_IsOK(ecode1
)) {
7326 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7328 arg1
= static_cast< wxWindowVariant
>(val1
);
7331 if (!wxPyCheckForApp()) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7344 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7347 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7348 return SWIG_Py_Void();
7351 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 return SWIG_Python_InitShadowInstance(args
);
7355 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7356 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7361 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7362 PyObject
*pyobj
= 0;
7366 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7368 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7375 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7376 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7381 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7382 PyObject
*pyobj
= 0;
7386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7388 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7395 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7396 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7401 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7402 PyObject
*pyobj
= 0;
7406 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7408 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7415 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
= 0;
7417 wxWindow
*arg1
= (wxWindow
*) 0 ;
7418 int arg2
= (int) -1 ;
7419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7421 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7422 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7423 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7424 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7425 long arg6
= (long) 0 ;
7426 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7427 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7428 wxStaticBox
*result
= 0 ;
7433 bool temp3
= false ;
7438 bool temp7
= false ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7441 PyObject
* obj2
= 0 ;
7442 PyObject
* obj3
= 0 ;
7443 PyObject
* obj4
= 0 ;
7444 PyObject
* obj5
= 0 ;
7445 PyObject
* obj6
= 0 ;
7446 char * kwnames
[] = {
7447 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7452 if (!SWIG_IsOK(res1
)) {
7453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7458 if (!SWIG_IsOK(ecode2
)) {
7459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7461 arg2
= static_cast< int >(val2
);
7465 arg3
= wxString_in_helper(obj2
);
7466 if (arg3
== NULL
) SWIG_fail
;
7473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7483 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7484 if (!SWIG_IsOK(ecode6
)) {
7485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7487 arg6
= static_cast< long >(val6
);
7491 arg7
= wxString_in_helper(obj6
);
7492 if (arg7
== NULL
) SWIG_fail
;
7497 if (!wxPyCheckForApp()) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7526 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 PyObject
*resultobj
= 0;
7528 wxStaticBox
*result
= 0 ;
7530 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7532 if (!wxPyCheckForApp()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxStaticBox
*)new wxStaticBox();
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7545 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
= 0;
7547 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7548 wxWindow
*arg2
= (wxWindow
*) 0 ;
7549 int arg3
= (int) -1 ;
7550 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7551 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7552 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7553 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7554 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7555 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7556 long arg7
= (long) 0 ;
7557 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7566 bool temp4
= false ;
7571 bool temp8
= false ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7574 PyObject
* obj2
= 0 ;
7575 PyObject
* obj3
= 0 ;
7576 PyObject
* obj4
= 0 ;
7577 PyObject
* obj5
= 0 ;
7578 PyObject
* obj6
= 0 ;
7579 PyObject
* obj7
= 0 ;
7580 char * kwnames
[] = {
7581 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7586 if (!SWIG_IsOK(res1
)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7589 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7591 if (!SWIG_IsOK(res2
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7594 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7597 if (!SWIG_IsOK(ecode3
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7600 arg3
= static_cast< int >(val3
);
7604 arg4
= wxString_in_helper(obj3
);
7605 if (arg4
== NULL
) SWIG_fail
;
7612 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7618 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7622 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7623 if (!SWIG_IsOK(ecode7
)) {
7624 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7626 arg7
= static_cast< long >(val7
);
7630 arg8
= wxString_in_helper(obj7
);
7631 if (arg8
== NULL
) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7666 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
= 0;
7668 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7669 SwigValueWrapper
<wxVisualAttributes
> result
;
7672 PyObject
* obj0
= 0 ;
7673 char * kwnames
[] = {
7674 (char *) "variant", NULL
7677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7679 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7680 if (!SWIG_IsOK(ecode1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7683 arg1
= static_cast< wxWindowVariant
>(val1
);
7686 if (!wxPyCheckForApp()) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7699 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7702 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7703 return SWIG_Py_Void();
7706 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7707 return SWIG_Python_InitShadowInstance(args
);
7710 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
= 0;
7712 wxWindow
*arg1
= (wxWindow
*) 0 ;
7713 int arg2
= (int) -1 ;
7714 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7715 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7716 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7717 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7718 long arg5
= (long) wxLI_HORIZONTAL
;
7719 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7720 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7721 wxStaticLine
*result
= 0 ;
7730 bool temp6
= false ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7733 PyObject
* obj2
= 0 ;
7734 PyObject
* obj3
= 0 ;
7735 PyObject
* obj4
= 0 ;
7736 PyObject
* obj5
= 0 ;
7737 char * kwnames
[] = {
7738 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7743 if (!SWIG_IsOK(res1
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7746 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7749 if (!SWIG_IsOK(ecode2
)) {
7750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7752 arg2
= static_cast< int >(val2
);
7757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7763 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7767 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7768 if (!SWIG_IsOK(ecode5
)) {
7769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7771 arg5
= static_cast< long >(val5
);
7775 arg6
= wxString_in_helper(obj5
);
7776 if (arg6
== NULL
) SWIG_fail
;
7781 if (!wxPyCheckForApp()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7802 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7803 PyObject
*resultobj
= 0;
7804 wxStaticLine
*result
= 0 ;
7806 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxStaticLine
*)new wxStaticLine();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7821 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
= 0;
7823 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7824 wxWindow
*arg2
= (wxWindow
*) 0 ;
7825 int arg3
= (int) -1 ;
7826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7830 long arg6
= (long) wxLI_HORIZONTAL
;
7831 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7832 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7844 bool temp7
= false ;
7845 PyObject
* obj0
= 0 ;
7846 PyObject
* obj1
= 0 ;
7847 PyObject
* obj2
= 0 ;
7848 PyObject
* obj3
= 0 ;
7849 PyObject
* obj4
= 0 ;
7850 PyObject
* obj5
= 0 ;
7851 PyObject
* obj6
= 0 ;
7852 char * kwnames
[] = {
7853 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7858 if (!SWIG_IsOK(res1
)) {
7859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7861 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7862 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7863 if (!SWIG_IsOK(res2
)) {
7864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7866 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7869 if (!SWIG_IsOK(ecode3
)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7872 arg3
= static_cast< int >(val3
);
7877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7887 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7888 if (!SWIG_IsOK(ecode6
)) {
7889 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7891 arg6
= static_cast< long >(val6
);
7895 arg7
= wxString_in_helper(obj6
);
7896 if (arg7
== NULL
) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7923 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7924 PyObject
*resultobj
= 0;
7925 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7929 PyObject
*swig_obj
[1] ;
7931 if (!args
) SWIG_fail
;
7933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7934 if (!SWIG_IsOK(res1
)) {
7935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7937 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7953 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7954 PyObject
*resultobj
= 0;
7957 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (int)wxStaticLine::GetDefaultSize();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= SWIG_From_int(static_cast< int >(result
));
7971 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
= 0;
7973 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7974 SwigValueWrapper
<wxVisualAttributes
> result
;
7977 PyObject
* obj0
= 0 ;
7978 char * kwnames
[] = {
7979 (char *) "variant", NULL
7982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7984 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7985 if (!SWIG_IsOK(ecode1
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7988 arg1
= static_cast< wxWindowVariant
>(val1
);
7991 if (!wxPyCheckForApp()) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8004 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8007 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8008 return SWIG_Py_Void();
8011 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 return SWIG_Python_InitShadowInstance(args
);
8015 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
= 0;
8017 wxWindow
*arg1
= (wxWindow
*) 0 ;
8018 int arg2
= (int) -1 ;
8019 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8020 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8021 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8022 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8023 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8024 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8025 long arg6
= (long) 0 ;
8026 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8027 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8028 wxStaticText
*result
= 0 ;
8033 bool temp3
= false ;
8038 bool temp7
= false ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 PyObject
* obj2
= 0 ;
8042 PyObject
* obj3
= 0 ;
8043 PyObject
* obj4
= 0 ;
8044 PyObject
* obj5
= 0 ;
8045 PyObject
* obj6
= 0 ;
8046 char * kwnames
[] = {
8047 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8052 if (!SWIG_IsOK(res1
)) {
8053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8058 if (!SWIG_IsOK(ecode2
)) {
8059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8061 arg2
= static_cast< int >(val2
);
8065 arg3
= wxString_in_helper(obj2
);
8066 if (arg3
== NULL
) SWIG_fail
;
8073 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8079 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8083 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8084 if (!SWIG_IsOK(ecode6
)) {
8085 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8087 arg6
= static_cast< long >(val6
);
8091 arg7
= wxString_in_helper(obj6
);
8092 if (arg7
== NULL
) SWIG_fail
;
8097 if (!wxPyCheckForApp()) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8126 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8127 PyObject
*resultobj
= 0;
8128 wxStaticText
*result
= 0 ;
8130 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8132 if (!wxPyCheckForApp()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxStaticText
*)new wxStaticText();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8145 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8148 wxWindow
*arg2
= (wxWindow
*) 0 ;
8149 int arg3
= (int) -1 ;
8150 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8151 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8152 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8153 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8154 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8155 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8156 long arg7
= (long) 0 ;
8157 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8158 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8166 bool temp4
= false ;
8171 bool temp8
= false ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 PyObject
* obj2
= 0 ;
8175 PyObject
* obj3
= 0 ;
8176 PyObject
* obj4
= 0 ;
8177 PyObject
* obj5
= 0 ;
8178 PyObject
* obj6
= 0 ;
8179 PyObject
* obj7
= 0 ;
8180 char * kwnames
[] = {
8181 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8186 if (!SWIG_IsOK(res1
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8189 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8191 if (!SWIG_IsOK(res2
)) {
8192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8194 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8197 if (!SWIG_IsOK(ecode3
)) {
8198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8200 arg3
= static_cast< int >(val3
);
8204 arg4
= wxString_in_helper(obj3
);
8205 if (arg4
== NULL
) SWIG_fail
;
8212 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8218 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8222 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8223 if (!SWIG_IsOK(ecode7
)) {
8224 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8226 arg7
= static_cast< long >(val7
);
8230 arg8
= wxString_in_helper(obj7
);
8231 if (arg8
== NULL
) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8266 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
= 0;
8268 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8276 char * kwnames
[] = {
8277 (char *) "self",(char *) "width", NULL
8280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8282 if (!SWIG_IsOK(res1
)) {
8283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8285 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8287 if (!SWIG_IsOK(ecode2
)) {
8288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8290 arg2
= static_cast< int >(val2
);
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= SWIG_Py_Void();
8304 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
= 0;
8306 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8307 SwigValueWrapper
<wxVisualAttributes
> result
;
8310 PyObject
* obj0
= 0 ;
8311 char * kwnames
[] = {
8312 (char *) "variant", NULL
8315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8318 if (!SWIG_IsOK(ecode1
)) {
8319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8321 arg1
= static_cast< wxWindowVariant
>(val1
);
8324 if (!wxPyCheckForApp()) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8337 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8340 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8341 return SWIG_Py_Void();
8344 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8345 return SWIG_Python_InitShadowInstance(args
);
8348 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= 0;
8350 wxWindow
*arg1
= (wxWindow
*) 0 ;
8351 int arg2
= (int) -1 ;
8352 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8353 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8358 long arg6
= (long) 0 ;
8359 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8361 wxStaticBitmap
*result
= 0 ;
8372 bool temp7
= false ;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8375 PyObject
* obj2
= 0 ;
8376 PyObject
* obj3
= 0 ;
8377 PyObject
* obj4
= 0 ;
8378 PyObject
* obj5
= 0 ;
8379 PyObject
* obj6
= 0 ;
8380 char * kwnames
[] = {
8381 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8386 if (!SWIG_IsOK(res1
)) {
8387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8389 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8392 if (!SWIG_IsOK(ecode2
)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8395 arg2
= static_cast< int >(val2
);
8398 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8399 if (!SWIG_IsOK(res3
)) {
8400 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8405 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8420 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8421 if (!SWIG_IsOK(ecode6
)) {
8422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8424 arg6
= static_cast< long >(val6
);
8428 arg7
= wxString_in_helper(obj6
);
8429 if (arg7
== NULL
) SWIG_fail
;
8434 if (!wxPyCheckForApp()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8455 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 PyObject
*resultobj
= 0;
8457 wxStaticBitmap
*result
= 0 ;
8459 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8461 if (!wxPyCheckForApp()) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8474 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
= 0;
8476 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8477 wxWindow
*arg2
= (wxWindow
*) 0 ;
8478 int arg3
= (int) -1 ;
8479 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8480 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8481 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8482 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8483 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8484 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8485 long arg7
= (long) 0 ;
8486 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8487 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8501 bool temp8
= false ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 PyObject
* obj2
= 0 ;
8505 PyObject
* obj3
= 0 ;
8506 PyObject
* obj4
= 0 ;
8507 PyObject
* obj5
= 0 ;
8508 PyObject
* obj6
= 0 ;
8509 PyObject
* obj7
= 0 ;
8510 char * kwnames
[] = {
8511 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8516 if (!SWIG_IsOK(res1
)) {
8517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8519 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8521 if (!SWIG_IsOK(res2
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8527 if (!SWIG_IsOK(ecode3
)) {
8528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8530 arg3
= static_cast< int >(val3
);
8533 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8534 if (!SWIG_IsOK(res4
)) {
8535 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8540 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8545 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8551 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8555 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8556 if (!SWIG_IsOK(ecode7
)) {
8557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8559 arg7
= static_cast< long >(val7
);
8563 arg8
= wxString_in_helper(obj7
);
8564 if (arg8
== NULL
) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8591 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8592 PyObject
*resultobj
= 0;
8593 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8597 PyObject
*swig_obj
[1] ;
8599 if (!args
) SWIG_fail
;
8601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8602 if (!SWIG_IsOK(res1
)) {
8603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8605 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (arg1
)->GetBitmap();
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8619 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
= 0;
8621 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8622 wxBitmap
*arg2
= 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 char * kwnames
[] = {
8630 (char *) "self",(char *) "bitmap", NULL
8633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8638 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8640 if (!SWIG_IsOK(res2
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8646 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_Py_Void();
8660 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
= 0;
8662 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 char * kwnames
[] = {
8671 (char *) "self",(char *) "icon", NULL
8674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8676 if (!SWIG_IsOK(res1
)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8679 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8681 if (!SWIG_IsOK(res2
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8687 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_Py_Void();
8701 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
= 0;
8703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8704 SwigValueWrapper
<wxVisualAttributes
> result
;
8707 PyObject
* obj0
= 0 ;
8708 char * kwnames
[] = {
8709 (char *) "variant", NULL
8712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8715 if (!SWIG_IsOK(ecode1
)) {
8716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8718 arg1
= static_cast< wxWindowVariant
>(val1
);
8721 if (!wxPyCheckForApp()) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8734 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8737 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8738 return SWIG_Py_Void();
8741 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8742 return SWIG_Python_InitShadowInstance(args
);
8745 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8746 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8751 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8752 PyObject
*pyobj
= 0;
8756 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8758 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8765 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
= 0;
8767 wxWindow
*arg1
= (wxWindow
*) 0 ;
8768 int arg2
= (int) -1 ;
8769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8773 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8774 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8775 long arg6
= (long) 0 ;
8776 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8777 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8778 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8779 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8780 wxListBox
*result
= 0 ;
8787 bool temp5
= false ;
8792 bool temp8
= false ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8796 PyObject
* obj3
= 0 ;
8797 PyObject
* obj4
= 0 ;
8798 PyObject
* obj5
= 0 ;
8799 PyObject
* obj6
= 0 ;
8800 PyObject
* obj7
= 0 ;
8801 char * kwnames
[] = {
8802 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8807 if (!SWIG_IsOK(res1
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8810 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8813 if (!SWIG_IsOK(ecode2
)) {
8814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8816 arg2
= static_cast< int >(val2
);
8821 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8827 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8832 if (! PySequence_Check(obj4
)) {
8833 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8836 arg5
= new wxArrayString
;
8838 int i
, len
=PySequence_Length(obj4
);
8839 for (i
=0; i
<len
; i
++) {
8840 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8841 wxString
* s
= wxString_in_helper(item
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8850 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8851 if (!SWIG_IsOK(ecode6
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8854 arg6
= static_cast< long >(val6
);
8857 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8858 if (!SWIG_IsOK(res7
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8864 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8868 arg8
= wxString_in_helper(obj7
);
8869 if (arg8
== NULL
) SWIG_fail
;
8874 if (!wxPyCheckForApp()) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8882 if (temp5
) delete arg5
;
8891 if (temp5
) delete arg5
;
8901 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8902 PyObject
*resultobj
= 0;
8903 wxListBox
*result
= 0 ;
8905 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8907 if (!wxPyCheckForApp()) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (wxListBox
*)new wxListBox();
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8920 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
= 0;
8922 wxListBox
*arg1
= (wxListBox
*) 0 ;
8923 wxWindow
*arg2
= (wxWindow
*) 0 ;
8924 int arg3
= (int) -1 ;
8925 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8926 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8927 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8928 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8929 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8930 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8931 long arg7
= (long) 0 ;
8932 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8933 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8934 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8935 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8945 bool temp6
= false ;
8950 bool temp9
= false ;
8951 PyObject
* obj0
= 0 ;
8952 PyObject
* obj1
= 0 ;
8953 PyObject
* obj2
= 0 ;
8954 PyObject
* obj3
= 0 ;
8955 PyObject
* obj4
= 0 ;
8956 PyObject
* obj5
= 0 ;
8957 PyObject
* obj6
= 0 ;
8958 PyObject
* obj7
= 0 ;
8959 PyObject
* obj8
= 0 ;
8960 char * kwnames
[] = {
8961 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8966 if (!SWIG_IsOK(res1
)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8969 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8971 if (!SWIG_IsOK(res2
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8977 if (!SWIG_IsOK(ecode3
)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8980 arg3
= static_cast< int >(val3
);
8985 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8991 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8996 if (! PySequence_Check(obj5
)) {
8997 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9000 arg6
= new wxArrayString
;
9002 int i
, len
=PySequence_Length(obj5
);
9003 for (i
=0; i
<len
; i
++) {
9004 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9005 wxString
* s
= wxString_in_helper(item
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9014 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9015 if (!SWIG_IsOK(ecode7
)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9018 arg7
= static_cast< long >(val7
);
9021 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9022 if (!SWIG_IsOK(res8
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9028 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9032 arg9
= wxString_in_helper(obj8
);
9033 if (arg9
== NULL
) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9047 if (temp6
) delete arg6
;
9056 if (temp6
) delete arg6
;
9066 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= 0;
9068 wxListBox
*arg1
= (wxListBox
*) 0 ;
9069 wxString
*arg2
= 0 ;
9071 PyObject
*arg4
= (PyObject
*) NULL
;
9074 bool temp2
= false ;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 PyObject
* obj2
= 0 ;
9080 PyObject
* obj3
= 0 ;
9081 char * kwnames
[] = {
9082 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9087 if (!SWIG_IsOK(res1
)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9090 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9092 arg2
= wxString_in_helper(obj1
);
9093 if (arg2
== NULL
) SWIG_fail
;
9096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9097 if (!SWIG_IsOK(ecode3
)) {
9098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9100 arg3
= static_cast< int >(val3
);
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_Py_Void();
9125 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
= 0;
9127 wxListBox
*arg1
= (wxListBox
*) 0 ;
9128 wxArrayString
*arg2
= 0 ;
9132 bool temp2
= false ;
9135 PyObject
* obj0
= 0 ;
9136 PyObject
* obj1
= 0 ;
9137 PyObject
* obj2
= 0 ;
9138 char * kwnames
[] = {
9139 (char *) "self",(char *) "items",(char *) "pos", NULL
9142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9144 if (!SWIG_IsOK(res1
)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9147 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9149 if (! PySequence_Check(obj1
)) {
9150 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9153 arg2
= new wxArrayString
;
9155 int i
, len
=PySequence_Length(obj1
);
9156 for (i
=0; i
<len
; i
++) {
9157 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9158 wxString
* s
= wxString_in_helper(item
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9165 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9166 if (!SWIG_IsOK(ecode3
)) {
9167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9169 arg3
= static_cast< unsigned int >(val3
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_Py_Void();
9178 if (temp2
) delete arg2
;
9183 if (temp2
) delete arg2
;
9189 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
= 0;
9191 wxListBox
*arg1
= (wxListBox
*) 0 ;
9192 wxArrayString
*arg2
= 0 ;
9195 bool temp2
= false ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 char * kwnames
[] = {
9199 (char *) "self",(char *) "items", NULL
9202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9204 if (!SWIG_IsOK(res1
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9207 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9209 if (! PySequence_Check(obj1
)) {
9210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9213 arg2
= new wxArrayString
;
9215 int i
, len
=PySequence_Length(obj1
);
9216 for (i
=0; i
<len
; i
++) {
9217 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9218 wxString
* s
= wxString_in_helper(item
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 (arg1
)->Set((wxArrayString
const &)*arg2
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_Py_Void();
9233 if (temp2
) delete arg2
;
9238 if (temp2
) delete arg2
;
9244 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
= 0;
9246 wxListBox
*arg1
= (wxListBox
*) 0 ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 char * kwnames
[] = {
9256 (char *) "self",(char *) "n", NULL
9259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9261 if (!SWIG_IsOK(res1
)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9264 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9266 if (!SWIG_IsOK(ecode2
)) {
9267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9269 arg2
= static_cast< int >(val2
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9285 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
= 0;
9287 wxListBox
*arg1
= (wxListBox
*) 0 ;
9289 bool arg3
= (bool) true ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9299 char * kwnames
[] = {
9300 (char *) "self",(char *) "n",(char *) "select", NULL
9303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9308 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9310 if (!SWIG_IsOK(ecode2
)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9313 arg2
= static_cast< int >(val2
);
9315 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9316 if (!SWIG_IsOK(ecode3
)) {
9317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9319 arg3
= static_cast< bool >(val3
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 (arg1
)->SetSelection(arg2
,arg3
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_Py_Void();
9334 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= 0;
9336 wxListBox
*arg1
= (wxListBox
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 char * kwnames
[] = {
9345 (char *) "self",(char *) "n", NULL
9348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9353 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9355 if (!SWIG_IsOK(ecode2
)) {
9356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9358 arg2
= static_cast< int >(val2
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 (arg1
)->Select(arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_Py_Void();
9372 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
= 0;
9374 wxListBox
*arg1
= (wxListBox
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 char * kwnames
[] = {
9383 (char *) "self",(char *) "n", NULL
9386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9391 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9393 if (!SWIG_IsOK(ecode2
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9396 arg2
= static_cast< int >(val2
);
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 (arg1
)->Deselect(arg2
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_Py_Void();
9410 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= 0;
9412 wxListBox
*arg1
= (wxListBox
*) 0 ;
9413 int arg2
= (int) -1 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 char * kwnames
[] = {
9421 (char *) "self",(char *) "itemToLeaveSelected", NULL
9424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9429 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9432 if (!SWIG_IsOK(ecode2
)) {
9433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9435 arg2
= static_cast< int >(val2
);
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 (arg1
)->DeselectAll(arg2
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_Py_Void();
9450 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
= 0;
9452 wxListBox
*arg1
= (wxListBox
*) 0 ;
9453 wxString
*arg2
= 0 ;
9454 bool arg3
= (bool) true ;
9458 bool temp2
= false ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 PyObject
* obj2
= 0 ;
9464 char * kwnames
[] = {
9465 (char *) "self",(char *) "s",(char *) "select", NULL
9468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9470 if (!SWIG_IsOK(res1
)) {
9471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9473 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9475 arg2
= wxString_in_helper(obj1
);
9476 if (arg2
== NULL
) SWIG_fail
;
9480 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9481 if (!SWIG_IsOK(ecode3
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9484 arg3
= static_cast< bool >(val3
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9509 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9510 PyObject
*resultobj
= 0;
9511 wxListBox
*arg1
= (wxListBox
*) 0 ;
9512 PyObject
*result
= 0 ;
9515 PyObject
*swig_obj
[1] ;
9517 if (!args
) SWIG_fail
;
9519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9520 if (!SWIG_IsOK(res1
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9523 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9537 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
= 0;
9539 wxListBox
*arg1
= (wxListBox
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 char * kwnames
[] = {
9548 (char *) "self",(char *) "n", NULL
9551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9556 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9558 if (!SWIG_IsOK(ecode2
)) {
9559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9561 arg2
= static_cast< int >(val2
);
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 (arg1
)->SetFirstItem(arg2
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_Py_Void();
9575 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
= 0;
9577 wxListBox
*arg1
= (wxListBox
*) 0 ;
9578 wxString
*arg2
= 0 ;
9581 bool temp2
= false ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9584 char * kwnames
[] = {
9585 (char *) "self",(char *) "s", NULL
9588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9590 if (!SWIG_IsOK(res1
)) {
9591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9593 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9595 arg2
= wxString_in_helper(obj1
);
9596 if (arg2
== NULL
) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_Py_Void();
9620 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxListBox
*arg1
= (wxListBox
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "self",(char *) "n", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9639 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9641 if (!SWIG_IsOK(ecode2
)) {
9642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9644 arg2
= static_cast< int >(val2
);
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 (arg1
)->EnsureVisible(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_Py_Void();
9658 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
= 0;
9660 wxListBox
*arg1
= (wxListBox
*) 0 ;
9661 wxString
*arg2
= 0 ;
9664 bool temp2
= false ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 char * kwnames
[] = {
9668 (char *) "self",(char *) "s", NULL
9671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9673 if (!SWIG_IsOK(res1
)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9676 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9678 arg2
= wxString_in_helper(obj1
);
9679 if (arg2
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_Py_Void();
9703 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9704 PyObject
*resultobj
= 0;
9705 wxListBox
*arg1
= (wxListBox
*) 0 ;
9709 PyObject
*swig_obj
[1] ;
9711 if (!args
) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9717 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9733 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
= 0;
9735 wxListBox
*arg1
= (wxListBox
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9743 char * kwnames
[] = {
9744 (char *) "self",(char *) "pt", NULL
9747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9752 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9755 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_From_int(static_cast< int >(result
));
9770 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
= 0;
9772 wxListBox
*arg1
= (wxListBox
*) 0 ;
9774 wxColour
*arg3
= 0 ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 PyObject
* obj2
= 0 ;
9783 char * kwnames
[] = {
9784 (char *) "self",(char *) "item",(char *) "c", NULL
9787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9792 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9794 if (!SWIG_IsOK(ecode2
)) {
9795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9797 arg2
= static_cast< int >(val2
);
9800 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_Py_Void();
9815 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 wxListBox
*arg1
= (wxListBox
*) 0 ;
9819 wxColour
*arg3
= 0 ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 char * kwnames
[] = {
9829 (char *) "self",(char *) "item",(char *) "c", NULL
9832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9834 if (!SWIG_IsOK(res1
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9837 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9839 if (!SWIG_IsOK(ecode2
)) {
9840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9842 arg2
= static_cast< int >(val2
);
9845 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_Py_Void();
9860 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxListBox
*arg1
= (wxListBox
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 PyObject
* obj2
= 0 ;
9874 char * kwnames
[] = {
9875 (char *) "self",(char *) "item",(char *) "f", NULL
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9883 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9885 if (!SWIG_IsOK(ecode2
)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9888 arg2
= static_cast< int >(val2
);
9889 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9890 if (!SWIG_IsOK(res3
)) {
9891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9896 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_Py_Void();
9910 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
= 0;
9912 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9913 SwigValueWrapper
<wxVisualAttributes
> result
;
9916 PyObject
* obj0
= 0 ;
9917 char * kwnames
[] = {
9918 (char *) "variant", NULL
9921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9924 if (!SWIG_IsOK(ecode1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9927 arg1
= static_cast< wxWindowVariant
>(val1
);
9930 if (!wxPyCheckForApp()) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9943 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9946 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9947 return SWIG_Py_Void();
9950 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9951 return SWIG_Python_InitShadowInstance(args
);
9954 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxWindow
*arg1
= (wxWindow
*) 0 ;
9957 int arg2
= (int) -1 ;
9958 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9959 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9960 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9961 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9962 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9963 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9964 long arg6
= (long) 0 ;
9965 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9966 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9967 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9969 wxCheckListBox
*result
= 0 ;
9976 bool temp5
= false ;
9981 bool temp8
= false ;
9982 PyObject
* obj0
= 0 ;
9983 PyObject
* obj1
= 0 ;
9984 PyObject
* obj2
= 0 ;
9985 PyObject
* obj3
= 0 ;
9986 PyObject
* obj4
= 0 ;
9987 PyObject
* obj5
= 0 ;
9988 PyObject
* obj6
= 0 ;
9989 PyObject
* obj7
= 0 ;
9990 char * kwnames
[] = {
9991 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9996 if (!SWIG_IsOK(res1
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10002 if (!SWIG_IsOK(ecode2
)) {
10003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10005 arg2
= static_cast< int >(val2
);
10010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10016 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10021 if (! PySequence_Check(obj4
)) {
10022 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10025 arg5
= new wxArrayString
;
10027 int i
, len
=PySequence_Length(obj4
);
10028 for (i
=0; i
<len
; i
++) {
10029 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10030 wxString
* s
= wxString_in_helper(item
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10039 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10040 if (!SWIG_IsOK(ecode6
)) {
10041 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10043 arg6
= static_cast< long >(val6
);
10046 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10047 if (!SWIG_IsOK(res7
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10053 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10057 arg8
= wxString_in_helper(obj7
);
10058 if (arg8
== NULL
) SWIG_fail
;
10063 if (!wxPyCheckForApp()) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10071 if (temp5
) delete arg5
;
10080 if (temp5
) delete arg5
;
10090 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10091 PyObject
*resultobj
= 0;
10092 wxCheckListBox
*result
= 0 ;
10094 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10096 if (!wxPyCheckForApp()) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (wxCheckListBox
*)new wxCheckListBox();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10109 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
= 0;
10111 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10112 wxWindow
*arg2
= (wxWindow
*) 0 ;
10113 int arg3
= (int) -1 ;
10114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10118 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10119 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10120 long arg7
= (long) 0 ;
10121 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10122 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10123 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10124 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10134 bool temp6
= false ;
10139 bool temp9
= false ;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 PyObject
* obj2
= 0 ;
10143 PyObject
* obj3
= 0 ;
10144 PyObject
* obj4
= 0 ;
10145 PyObject
* obj5
= 0 ;
10146 PyObject
* obj6
= 0 ;
10147 PyObject
* obj7
= 0 ;
10148 PyObject
* obj8
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10158 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10160 if (!SWIG_IsOK(res2
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10163 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10166 if (!SWIG_IsOK(ecode3
)) {
10167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10169 arg3
= static_cast< int >(val3
);
10174 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10180 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10185 if (! PySequence_Check(obj5
)) {
10186 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10189 arg6
= new wxArrayString
;
10191 int i
, len
=PySequence_Length(obj5
);
10192 for (i
=0; i
<len
; i
++) {
10193 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10194 wxString
* s
= wxString_in_helper(item
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10203 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10204 if (!SWIG_IsOK(ecode7
)) {
10205 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10207 arg7
= static_cast< long >(val7
);
10210 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10211 if (!SWIG_IsOK(res8
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10217 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10221 arg9
= wxString_in_helper(obj8
);
10222 if (arg9
== NULL
) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10236 if (temp6
) delete arg6
;
10245 if (temp6
) delete arg6
;
10255 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
= 0;
10257 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10258 unsigned int arg2
;
10262 unsigned int val2
;
10264 PyObject
* obj0
= 0 ;
10265 PyObject
* obj1
= 0 ;
10266 char * kwnames
[] = {
10267 (char *) "self",(char *) "index", NULL
10270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10275 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10276 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10277 if (!SWIG_IsOK(ecode2
)) {
10278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10280 arg2
= static_cast< unsigned int >(val2
);
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (bool)(arg1
)->IsChecked(arg2
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10296 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
= 0;
10298 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10299 unsigned int arg2
;
10300 int arg3
= (int) true ;
10303 unsigned int val2
;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 PyObject
* obj2
= 0 ;
10310 char * kwnames
[] = {
10311 (char *) "self",(char *) "index",(char *) "check", NULL
10314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10316 if (!SWIG_IsOK(res1
)) {
10317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10319 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10320 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10321 if (!SWIG_IsOK(ecode2
)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10324 arg2
= static_cast< unsigned int >(val2
);
10326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10327 if (!SWIG_IsOK(ecode3
)) {
10328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10330 arg3
= static_cast< int >(val3
);
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 (arg1
)->Check(arg2
,arg3
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_Py_Void();
10345 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10348 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10349 return SWIG_Py_Void();
10352 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10353 return SWIG_Python_InitShadowInstance(args
);
10356 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10357 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10362 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10363 PyObject
*pyobj
= 0;
10367 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10369 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10376 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
= 0;
10378 wxColour
const &arg1_defvalue
= wxNullColour
;
10379 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10380 wxColour
const &arg2_defvalue
= wxNullColour
;
10381 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10382 wxFont
const &arg3_defvalue
= wxNullFont
;
10383 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10384 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10385 wxTextAttr
*result
= 0 ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 PyObject
* obj2
= 0 ;
10395 PyObject
* obj3
= 0 ;
10396 char * kwnames
[] = {
10397 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10404 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10414 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10415 if (!SWIG_IsOK(res3
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10421 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10425 if (!SWIG_IsOK(ecode4
)) {
10426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10428 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10443 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10444 PyObject
*resultobj
= 0;
10445 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10448 PyObject
*swig_obj
[1] ;
10450 if (!args
) SWIG_fail
;
10451 swig_obj
[0] = args
;
10452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10453 if (!SWIG_IsOK(res1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10456 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_Py_Void();
10471 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10472 PyObject
*resultobj
= 0;
10473 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10476 PyObject
*swig_obj
[1] ;
10478 if (!args
) SWIG_fail
;
10479 swig_obj
[0] = args
;
10480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10481 if (!SWIG_IsOK(res1
)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10484 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_Py_Void();
10498 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
= 0;
10500 wxTextAttr
*arg1
= 0 ;
10501 wxTextAttr
*arg2
= 0 ;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char * kwnames
[] = {
10510 (char *) "base",(char *) "overlay", NULL
10513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10514 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10515 if (!SWIG_IsOK(res1
)) {
10516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10521 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10523 if (!SWIG_IsOK(res2
)) {
10524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10529 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10543 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
= 0;
10545 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10546 wxColour
*arg2
= 0 ;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 char * kwnames
[] = {
10553 (char *) "self",(char *) "colText", NULL
10556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10558 if (!SWIG_IsOK(res1
)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10561 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10564 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_Py_Void();
10579 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= 0;
10581 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10582 wxColour
*arg2
= 0 ;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 char * kwnames
[] = {
10589 (char *) "self",(char *) "colBack", NULL
10592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10594 if (!SWIG_IsOK(res1
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10597 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_Py_Void();
10615 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10619 long arg3
= (long) wxTEXT_ATTR_FONT
;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 PyObject
* obj2
= 0 ;
10629 char * kwnames
[] = {
10630 (char *) "self",(char *) "font",(char *) "flags", NULL
10633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10635 if (!SWIG_IsOK(res1
)) {
10636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10638 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10640 if (!SWIG_IsOK(res2
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10646 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10648 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10649 if (!SWIG_IsOK(ecode3
)) {
10650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10652 arg3
= static_cast< long >(val3
);
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_Py_Void();
10667 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10670 wxTextAttrAlignment arg2
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "alignment", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10686 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10688 if (!SWIG_IsOK(ecode2
)) {
10689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10691 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 (arg1
)->SetAlignment(arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_Py_Void();
10705 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
= 0;
10707 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10708 wxArrayInt
*arg2
= 0 ;
10711 bool temp2
= false ;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 char * kwnames
[] = {
10715 (char *) "self",(char *) "tabs", NULL
10718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10720 if (!SWIG_IsOK(res1
)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10723 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10725 if (! PySequence_Check(obj1
)) {
10726 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10729 arg2
= new wxArrayInt
;
10731 int i
, len
=PySequence_Length(obj1
);
10732 for (i
=0; i
<len
; i
++) {
10733 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10734 PyObject
* number
= PyNumber_Int(item
);
10735 arg2
->Add(PyInt_AS_LONG(number
));
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_Py_Void();
10748 if (temp2
) delete arg2
;
10753 if (temp2
) delete arg2
;
10759 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
= 0;
10761 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10763 int arg3
= (int) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 PyObject
* obj1
= 0 ;
10772 PyObject
* obj2
= 0 ;
10773 char * kwnames
[] = {
10774 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10779 if (!SWIG_IsOK(res1
)) {
10780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10782 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10784 if (!SWIG_IsOK(ecode2
)) {
10785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10787 arg2
= static_cast< int >(val2
);
10789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10790 if (!SWIG_IsOK(ecode3
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10793 arg3
= static_cast< int >(val3
);
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetLeftIndent(arg2
,arg3
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_Py_Void();
10808 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char * kwnames
[] = {
10819 (char *) "self",(char *) "indent", NULL
10822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10827 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10829 if (!SWIG_IsOK(ecode2
)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10832 arg2
= static_cast< int >(val2
);
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->SetRightIndent(arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_Py_Void();
10846 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
= 0;
10848 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "flags", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10865 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10866 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10867 if (!SWIG_IsOK(ecode2
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10870 arg2
= static_cast< long >(val2
);
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->SetFlags(arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_Py_Void();
10884 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10885 PyObject
*resultobj
= 0;
10886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10890 PyObject
*swig_obj
[1] ;
10892 if (!args
) SWIG_fail
;
10893 swig_obj
[0] = args
;
10894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10898 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10914 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10915 PyObject
*resultobj
= 0;
10916 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10920 PyObject
*swig_obj
[1] ;
10922 if (!args
) SWIG_fail
;
10923 swig_obj
[0] = args
;
10924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10925 if (!SWIG_IsOK(res1
)) {
10926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10928 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10944 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10945 PyObject
*resultobj
= 0;
10946 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10950 PyObject
*swig_obj
[1] ;
10952 if (!args
) SWIG_fail
;
10953 swig_obj
[0] = args
;
10954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10955 if (!SWIG_IsOK(res1
)) {
10956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10958 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10974 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10975 PyObject
*resultobj
= 0;
10976 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10980 PyObject
*swig_obj
[1] ;
10982 if (!args
) SWIG_fail
;
10983 swig_obj
[0] = args
;
10984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10985 if (!SWIG_IsOK(res1
)) {
10986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10988 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11004 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11005 PyObject
*resultobj
= 0;
11006 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11010 PyObject
*swig_obj
[1] ;
11012 if (!args
) SWIG_fail
;
11013 swig_obj
[0] = args
;
11014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11015 if (!SWIG_IsOK(res1
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11018 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11034 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11035 PyObject
*resultobj
= 0;
11036 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11040 PyObject
*swig_obj
[1] ;
11042 if (!args
) SWIG_fail
;
11043 swig_obj
[0] = args
;
11044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11045 if (!SWIG_IsOK(res1
)) {
11046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11048 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11064 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11065 PyObject
*resultobj
= 0;
11066 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11070 PyObject
*swig_obj
[1] ;
11072 if (!args
) SWIG_fail
;
11073 swig_obj
[0] = args
;
11074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11078 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11094 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
= 0;
11096 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 char * kwnames
[] = {
11106 (char *) "self",(char *) "flag", NULL
11109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11111 if (!SWIG_IsOK(res1
)) {
11112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11114 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11115 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11116 if (!SWIG_IsOK(ecode2
)) {
11117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11119 arg2
= static_cast< long >(val2
);
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11136 PyObject
*resultobj
= 0;
11137 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11138 wxColour
*result
= 0 ;
11141 PyObject
*swig_obj
[1] ;
11143 if (!args
) SWIG_fail
;
11144 swig_obj
[0] = args
;
11145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11149 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11154 result
= (wxColour
*) &_result_ref
;
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11166 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11167 PyObject
*resultobj
= 0;
11168 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11169 wxColour
*result
= 0 ;
11172 PyObject
*swig_obj
[1] ;
11174 if (!args
) SWIG_fail
;
11175 swig_obj
[0] = args
;
11176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11177 if (!SWIG_IsOK(res1
)) {
11178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11180 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11185 result
= (wxColour
*) &_result_ref
;
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11197 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11198 PyObject
*resultobj
= 0;
11199 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11200 wxFont
*result
= 0 ;
11203 PyObject
*swig_obj
[1] ;
11205 if (!args
) SWIG_fail
;
11206 swig_obj
[0] = args
;
11207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11208 if (!SWIG_IsOK(res1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11211 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11216 result
= (wxFont
*) &_result_ref
;
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 wxFont
* resultptr
= new wxFont(*result
);
11223 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11231 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11232 PyObject
*resultobj
= 0;
11233 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11234 wxTextAttrAlignment result
;
11237 PyObject
*swig_obj
[1] ;
11239 if (!args
) SWIG_fail
;
11240 swig_obj
[0] = args
;
11241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11245 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_From_int(static_cast< int >(result
));
11259 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11260 PyObject
*resultobj
= 0;
11261 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11262 wxArrayInt
*result
= 0 ;
11265 PyObject
*swig_obj
[1] ;
11267 if (!args
) SWIG_fail
;
11268 swig_obj
[0] = args
;
11269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11273 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11278 result
= (wxArrayInt
*) &_result_ref
;
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= PyList_New(0);
11286 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11287 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11288 PyList_Append(resultobj
, val
);
11298 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11299 PyObject
*resultobj
= 0;
11300 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11304 PyObject
*swig_obj
[1] ;
11306 if (!args
) SWIG_fail
;
11307 swig_obj
[0] = args
;
11308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11309 if (!SWIG_IsOK(res1
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11312 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_From_long(static_cast< long >(result
));
11326 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11327 PyObject
*resultobj
= 0;
11328 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11332 PyObject
*swig_obj
[1] ;
11334 if (!args
) SWIG_fail
;
11335 swig_obj
[0] = args
;
11336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11337 if (!SWIG_IsOK(res1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11340 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_long(static_cast< long >(result
));
11354 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11355 PyObject
*resultobj
= 0;
11356 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11360 PyObject
*swig_obj
[1] ;
11362 if (!args
) SWIG_fail
;
11363 swig_obj
[0] = args
;
11364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11365 if (!SWIG_IsOK(res1
)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11368 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= SWIG_From_long(static_cast< long >(result
));
11382 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11383 PyObject
*resultobj
= 0;
11384 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11388 PyObject
*swig_obj
[1] ;
11390 if (!args
) SWIG_fail
;
11391 swig_obj
[0] = args
;
11392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11396 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_From_long(static_cast< long >(result
));
11410 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11411 PyObject
*resultobj
= 0;
11412 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11416 PyObject
*swig_obj
[1] ;
11418 if (!args
) SWIG_fail
;
11419 swig_obj
[0] = args
;
11420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11421 if (!SWIG_IsOK(res1
)) {
11422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11424 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11440 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
= 0;
11442 wxTextAttr
*arg1
= 0 ;
11443 wxTextAttr
*arg2
= 0 ;
11444 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 char * kwnames
[] = {
11456 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11460 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11469 if (!SWIG_IsOK(res2
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11475 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11476 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11477 if (!SWIG_IsOK(res3
)) {
11478 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11480 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11494 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11497 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11498 return SWIG_Py_Void();
11501 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 return SWIG_Python_InitShadowInstance(args
);
11505 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
= 0;
11507 wxWindow
*arg1
= (wxWindow
*) 0 ;
11508 int arg2
= (int) -1 ;
11509 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11510 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11515 long arg6
= (long) 0 ;
11516 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11517 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11518 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11519 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11520 wxTextCtrl
*result
= 0 ;
11525 bool temp3
= false ;
11532 bool temp8
= false ;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 PyObject
* obj2
= 0 ;
11536 PyObject
* obj3
= 0 ;
11537 PyObject
* obj4
= 0 ;
11538 PyObject
* obj5
= 0 ;
11539 PyObject
* obj6
= 0 ;
11540 PyObject
* obj7
= 0 ;
11541 char * kwnames
[] = {
11542 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11547 if (!SWIG_IsOK(res1
)) {
11548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11553 if (!SWIG_IsOK(ecode2
)) {
11554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11556 arg2
= static_cast< int >(val2
);
11560 arg3
= wxString_in_helper(obj2
);
11561 if (arg3
== NULL
) SWIG_fail
;
11568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11578 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11579 if (!SWIG_IsOK(ecode6
)) {
11580 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11582 arg6
= static_cast< long >(val6
);
11585 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11586 if (!SWIG_IsOK(res7
)) {
11587 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11592 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11596 arg8
= wxString_in_helper(obj7
);
11597 if (arg8
== NULL
) SWIG_fail
;
11602 if (!wxPyCheckForApp()) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11631 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11632 PyObject
*resultobj
= 0;
11633 wxTextCtrl
*result
= 0 ;
11635 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11637 if (!wxPyCheckForApp()) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (wxTextCtrl
*)new wxTextCtrl();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11650 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
= 0;
11652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11653 wxWindow
*arg2
= (wxWindow
*) 0 ;
11654 int arg3
= (int) -1 ;
11655 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11656 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11657 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11658 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11659 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11660 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11661 long arg7
= (long) 0 ;
11662 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11663 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11664 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11665 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11673 bool temp4
= false ;
11680 bool temp9
= false ;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 PyObject
* obj2
= 0 ;
11684 PyObject
* obj3
= 0 ;
11685 PyObject
* obj4
= 0 ;
11686 PyObject
* obj5
= 0 ;
11687 PyObject
* obj6
= 0 ;
11688 PyObject
* obj7
= 0 ;
11689 PyObject
* obj8
= 0 ;
11690 char * kwnames
[] = {
11691 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11696 if (!SWIG_IsOK(res1
)) {
11697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11701 if (!SWIG_IsOK(res2
)) {
11702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11707 if (!SWIG_IsOK(ecode3
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11710 arg3
= static_cast< int >(val3
);
11714 arg4
= wxString_in_helper(obj3
);
11715 if (arg4
== NULL
) SWIG_fail
;
11722 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11728 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11732 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11733 if (!SWIG_IsOK(ecode7
)) {
11734 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11736 arg7
= static_cast< long >(val7
);
11739 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11740 if (!SWIG_IsOK(res8
)) {
11741 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11746 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11750 arg9
= wxString_in_helper(obj8
);
11751 if (arg9
== NULL
) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11786 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11787 PyObject
*resultobj
= 0;
11788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11792 PyObject
*swig_obj
[1] ;
11794 if (!args
) SWIG_fail
;
11795 swig_obj
[0] = args
;
11796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11797 if (!SWIG_IsOK(res1
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11800 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11820 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
= 0;
11822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11823 wxString
*arg2
= 0 ;
11826 bool temp2
= false ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char * kwnames
[] = {
11830 (char *) "self",(char *) "value", NULL
11833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11835 if (!SWIG_IsOK(res1
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11838 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11840 arg2
= wxString_in_helper(obj1
);
11841 if (arg2
== NULL
) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 (arg1
)->SetValue((wxString
const &)*arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_Py_Void();
11865 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
= 0;
11867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 char * kwnames
[] = {
11881 (char *) "self",(char *) "from",(char *) "to", NULL
11884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11886 if (!SWIG_IsOK(res1
)) {
11887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11889 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11891 if (!SWIG_IsOK(ecode2
)) {
11892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11894 arg2
= static_cast< long >(val2
);
11895 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11896 if (!SWIG_IsOK(ecode3
)) {
11897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11899 arg3
= static_cast< long >(val3
);
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11919 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
= 0;
11921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 char * kwnames
[] = {
11931 (char *) "self",(char *) "lineNo", NULL
11934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11939 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11941 if (!SWIG_IsOK(ecode2
)) {
11942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11944 arg2
= static_cast< long >(val2
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_From_int(static_cast< int >(result
));
11958 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
= 0;
11960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 PyObject
* obj1
= 0 ;
11969 char * kwnames
[] = {
11970 (char *) "self",(char *) "lineNo", NULL
11973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11978 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11979 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11980 if (!SWIG_IsOK(ecode2
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11983 arg2
= static_cast< long >(val2
);
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12003 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 PyObject
*resultobj
= 0;
12005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12017 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_From_int(static_cast< int >(result
));
12031 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12037 PyObject
*swig_obj
[1] ;
12039 if (!args
) SWIG_fail
;
12040 swig_obj
[0] = args
;
12041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12045 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12061 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12062 PyObject
*resultobj
= 0;
12063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12067 PyObject
*swig_obj
[1] ;
12069 if (!args
) SWIG_fail
;
12070 swig_obj
[0] = args
;
12071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12072 if (!SWIG_IsOK(res1
)) {
12073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12075 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12091 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 PyObject
*resultobj
= 0;
12093 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12097 PyObject
*swig_obj
[1] ;
12099 if (!args
) SWIG_fail
;
12100 swig_obj
[0] = args
;
12101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12102 if (!SWIG_IsOK(res1
)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12105 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12121 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12122 PyObject
*resultobj
= 0;
12123 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12127 PyObject
*swig_obj
[1] ;
12129 if (!args
) SWIG_fail
;
12130 swig_obj
[0] = args
;
12131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12135 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12151 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12152 PyObject
*resultobj
= 0;
12153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12154 long *arg2
= (long *) 0 ;
12155 long *arg3
= (long *) 0 ;
12159 int res2
= SWIG_TMPOBJ
;
12161 int res3
= SWIG_TMPOBJ
;
12162 PyObject
*swig_obj
[1] ;
12166 if (!args
) SWIG_fail
;
12167 swig_obj
[0] = args
;
12168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12172 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_Py_Void();
12180 if (SWIG_IsTmpObj(res2
)) {
12181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12183 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12186 if (SWIG_IsTmpObj(res3
)) {
12187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12189 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12198 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12212 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12232 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12237 PyObject
*swig_obj
[1] ;
12239 if (!args
) SWIG_fail
;
12240 swig_obj
[0] = args
;
12241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12245 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_Py_Void();
12259 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
= 0;
12261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12264 wxString
*arg4
= 0 ;
12271 bool temp4
= false ;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 PyObject
* obj2
= 0 ;
12275 PyObject
* obj3
= 0 ;
12276 char * kwnames
[] = {
12277 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12282 if (!SWIG_IsOK(res1
)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12285 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12287 if (!SWIG_IsOK(ecode2
)) {
12288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12290 arg2
= static_cast< long >(val2
);
12291 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12292 if (!SWIG_IsOK(ecode3
)) {
12293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12295 arg3
= static_cast< long >(val3
);
12297 arg4
= wxString_in_helper(obj3
);
12298 if (arg4
== NULL
) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_Py_Void();
12322 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
= 0;
12324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 char * kwnames
[] = {
12337 (char *) "self",(char *) "from",(char *) "to", NULL
12340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12345 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12346 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12347 if (!SWIG_IsOK(ecode2
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12350 arg2
= static_cast< long >(val2
);
12351 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12352 if (!SWIG_IsOK(ecode3
)) {
12353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12355 arg3
= static_cast< long >(val3
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->Remove(arg2
,arg3
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12369 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
= 0;
12371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12372 wxString
*arg2
= 0 ;
12376 bool temp2
= false ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char * kwnames
[] = {
12380 (char *) "self",(char *) "file", NULL
12383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12388 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12390 arg2
= wxString_in_helper(obj1
);
12391 if (arg2
== NULL
) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12417 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
= 0;
12419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12420 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12421 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12425 bool temp2
= false ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char * kwnames
[] = {
12429 (char *) "self",(char *) "file", NULL
12432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12434 if (!SWIG_IsOK(res1
)) {
12435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12437 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12440 arg2
= wxString_in_helper(obj1
);
12441 if (arg2
== NULL
) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12468 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12469 PyObject
*resultobj
= 0;
12470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12473 PyObject
*swig_obj
[1] ;
12475 if (!args
) SWIG_fail
;
12476 swig_obj
[0] = args
;
12477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12478 if (!SWIG_IsOK(res1
)) {
12479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12481 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 (arg1
)->MarkDirty();
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_Py_Void();
12495 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12496 PyObject
*resultobj
= 0;
12497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12500 PyObject
*swig_obj
[1] ;
12502 if (!args
) SWIG_fail
;
12503 swig_obj
[0] = args
;
12504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12508 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->DiscardEdits();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_Py_Void();
12522 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
= 0;
12524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char * kwnames
[] = {
12533 (char *) "self",(char *) "modified", NULL
12536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12538 if (!SWIG_IsOK(res1
)) {
12539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12541 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12542 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12543 if (!SWIG_IsOK(ecode2
)) {
12544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12546 arg2
= static_cast< bool >(val2
);
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 (arg1
)->SetModified(arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= SWIG_Py_Void();
12560 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
= 0;
12562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12563 unsigned long arg2
;
12566 unsigned long val2
;
12568 PyObject
* obj0
= 0 ;
12569 PyObject
* obj1
= 0 ;
12570 char * kwnames
[] = {
12571 (char *) "self",(char *) "len", NULL
12574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12576 if (!SWIG_IsOK(res1
)) {
12577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12580 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12581 if (!SWIG_IsOK(ecode2
)) {
12582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12584 arg2
= static_cast< unsigned long >(val2
);
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 (arg1
)->SetMaxLength(arg2
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= SWIG_Py_Void();
12598 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
= 0;
12600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12601 wxString
*arg2
= 0 ;
12604 bool temp2
= false ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 char * kwnames
[] = {
12608 (char *) "self",(char *) "text", NULL
12611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12613 if (!SWIG_IsOK(res1
)) {
12614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12616 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12618 arg2
= wxString_in_helper(obj1
);
12619 if (arg2
== NULL
) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->WriteText((wxString
const &)*arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_Py_Void();
12643 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
= 0;
12645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12646 wxString
*arg2
= 0 ;
12649 bool temp2
= false ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "self",(char *) "text", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12661 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12663 arg2
= wxString_in_helper(obj1
);
12664 if (arg2
== NULL
) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 (arg1
)->AppendText((wxString
const &)*arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= SWIG_Py_Void();
12688 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
= 0;
12690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12691 wxKeyEvent
*arg2
= 0 ;
12697 PyObject
* obj0
= 0 ;
12698 PyObject
* obj1
= 0 ;
12699 char * kwnames
[] = {
12700 (char *) "self",(char *) "event", NULL
12703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12705 if (!SWIG_IsOK(res1
)) {
12706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12708 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12710 if (!SWIG_IsOK(res2
)) {
12711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12716 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12732 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
= 0;
12734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12737 wxTextAttr
*arg4
= 0 ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 PyObject
* obj3
= 0 ;
12751 char * kwnames
[] = {
12752 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12757 if (!SWIG_IsOK(res1
)) {
12758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12760 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12762 if (!SWIG_IsOK(ecode2
)) {
12763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12765 arg2
= static_cast< long >(val2
);
12766 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12767 if (!SWIG_IsOK(ecode3
)) {
12768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12770 arg3
= static_cast< long >(val3
);
12771 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12772 if (!SWIG_IsOK(res4
)) {
12773 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12778 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12794 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
= 0;
12796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12798 wxTextAttr
*arg3
= 0 ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 char * kwnames
[] = {
12810 (char *) "self",(char *) "position",(char *) "style", NULL
12813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12815 if (!SWIG_IsOK(res1
)) {
12816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12818 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12820 if (!SWIG_IsOK(ecode2
)) {
12821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12823 arg2
= static_cast< long >(val2
);
12824 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12825 if (!SWIG_IsOK(res3
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12831 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12847 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
= 0;
12849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12850 wxTextAttr
*arg2
= 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 char * kwnames
[] = {
12859 (char *) "self",(char *) "style", NULL
12862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12867 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12869 if (!SWIG_IsOK(res2
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12875 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12891 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12892 PyObject
*resultobj
= 0;
12893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12894 wxTextAttr
*result
= 0 ;
12897 PyObject
*swig_obj
[1] ;
12899 if (!args
) SWIG_fail
;
12900 swig_obj
[0] = args
;
12901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12905 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12910 result
= (wxTextAttr
*) &_result_ref
;
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12922 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
= 0;
12924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 PyObject
* obj2
= 0 ;
12937 char * kwnames
[] = {
12938 (char *) "self",(char *) "x",(char *) "y", NULL
12941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12943 if (!SWIG_IsOK(res1
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12946 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12947 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12948 if (!SWIG_IsOK(ecode2
)) {
12949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12951 arg2
= static_cast< long >(val2
);
12952 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12953 if (!SWIG_IsOK(ecode3
)) {
12954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12956 arg3
= static_cast< long >(val3
);
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_From_long(static_cast< long >(result
));
12970 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
= 0;
12972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12974 long *arg3
= (long *) 0 ;
12975 long *arg4
= (long *) 0 ;
12981 int res3
= SWIG_TMPOBJ
;
12983 int res4
= SWIG_TMPOBJ
;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 char * kwnames
[] = {
12987 (char *) "self",(char *) "pos", NULL
12992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12997 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12999 if (!SWIG_IsOK(ecode2
)) {
13000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13002 arg2
= static_cast< long >(val2
);
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_Py_Void();
13010 if (SWIG_IsTmpObj(res3
)) {
13011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13016 if (SWIG_IsTmpObj(res4
)) {
13017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13019 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13028 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
= 0;
13030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 char * kwnames
[] = {
13039 (char *) "self",(char *) "pos", NULL
13042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13044 if (!SWIG_IsOK(res1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13047 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13048 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13049 if (!SWIG_IsOK(ecode2
)) {
13050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13052 arg2
= static_cast< long >(val2
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 (arg1
)->ShowPosition(arg2
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_Py_Void();
13066 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13069 wxPoint
*arg2
= 0 ;
13070 long *arg3
= (long *) 0 ;
13071 long *arg4
= (long *) 0 ;
13072 wxTextCtrlHitTestResult result
;
13077 int res3
= SWIG_TMPOBJ
;
13079 int res4
= SWIG_TMPOBJ
;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "self",(char *) "pt", NULL
13088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13093 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_From_int(static_cast< int >(result
));
13105 if (SWIG_IsTmpObj(res3
)) {
13106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13108 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13111 if (SWIG_IsTmpObj(res4
)) {
13112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13114 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13123 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
= 0;
13125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13126 wxPoint
*arg2
= 0 ;
13127 long *arg3
= (long *) 0 ;
13128 wxTextCtrlHitTestResult result
;
13133 int res3
= SWIG_TMPOBJ
;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 char * kwnames
[] = {
13137 (char *) "self",(char *) "pt", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= SWIG_From_int(static_cast< int >(result
));
13158 if (SWIG_IsTmpObj(res3
)) {
13159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13161 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13170 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13171 PyObject
*resultobj
= 0;
13172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13175 PyObject
*swig_obj
[1] ;
13177 if (!args
) SWIG_fail
;
13178 swig_obj
[0] = args
;
13179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13183 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= SWIG_Py_Void();
13197 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13198 PyObject
*resultobj
= 0;
13199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13202 PyObject
*swig_obj
[1] ;
13204 if (!args
) SWIG_fail
;
13205 swig_obj
[0] = args
;
13206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13210 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_Py_Void();
13224 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13229 PyObject
*swig_obj
[1] ;
13231 if (!args
) SWIG_fail
;
13232 swig_obj
[0] = args
;
13233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13234 if (!SWIG_IsOK(res1
)) {
13235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13237 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_Py_Void();
13251 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13252 PyObject
*resultobj
= 0;
13253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13257 PyObject
*swig_obj
[1] ;
13259 if (!args
) SWIG_fail
;
13260 swig_obj
[0] = args
;
13261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13262 if (!SWIG_IsOK(res1
)) {
13263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13265 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13281 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13282 PyObject
*resultobj
= 0;
13283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13287 PyObject
*swig_obj
[1] ;
13289 if (!args
) SWIG_fail
;
13290 swig_obj
[0] = args
;
13291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13292 if (!SWIG_IsOK(res1
)) {
13293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13295 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13311 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13312 PyObject
*resultobj
= 0;
13313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13317 PyObject
*swig_obj
[1] ;
13319 if (!args
) SWIG_fail
;
13320 swig_obj
[0] = args
;
13321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13322 if (!SWIG_IsOK(res1
)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13325 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13341 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13342 PyObject
*resultobj
= 0;
13343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13346 PyObject
*swig_obj
[1] ;
13348 if (!args
) SWIG_fail
;
13349 swig_obj
[0] = args
;
13350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13351 if (!SWIG_IsOK(res1
)) {
13352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13354 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_Py_Void();
13368 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13369 PyObject
*resultobj
= 0;
13370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13381 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_Py_Void();
13395 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 PyObject
*resultobj
= 0;
13397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13401 PyObject
*swig_obj
[1] ;
13403 if (!args
) SWIG_fail
;
13404 swig_obj
[0] = args
;
13405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13409 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13425 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13426 PyObject
*resultobj
= 0;
13427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13431 PyObject
*swig_obj
[1] ;
13433 if (!args
) SWIG_fail
;
13434 swig_obj
[0] = args
;
13435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13436 if (!SWIG_IsOK(res1
)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13439 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13455 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
= 0;
13457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 PyObject
* obj1
= 0 ;
13465 char * kwnames
[] = {
13466 (char *) "self",(char *) "pos", NULL
13469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13471 if (!SWIG_IsOK(res1
)) {
13472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13474 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13475 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13476 if (!SWIG_IsOK(ecode2
)) {
13477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13479 arg2
= static_cast< long >(val2
);
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->SetInsertionPoint(arg2
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_Py_Void();
13493 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 PyObject
*resultobj
= 0;
13495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13498 PyObject
*swig_obj
[1] ;
13500 if (!args
) SWIG_fail
;
13501 swig_obj
[0] = args
;
13502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13503 if (!SWIG_IsOK(res1
)) {
13504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13506 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 (arg1
)->SetInsertionPointEnd();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_Py_Void();
13520 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13521 PyObject
*resultobj
= 0;
13522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13526 PyObject
*swig_obj
[1] ;
13528 if (!args
) SWIG_fail
;
13529 swig_obj
[0] = args
;
13530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13531 if (!SWIG_IsOK(res1
)) {
13532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13534 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= SWIG_From_long(static_cast< long >(result
));
13548 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13549 PyObject
*resultobj
= 0;
13550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13554 PyObject
*swig_obj
[1] ;
13556 if (!args
) SWIG_fail
;
13557 swig_obj
[0] = args
;
13558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13559 if (!SWIG_IsOK(res1
)) {
13560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13562 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_From_long(static_cast< long >(result
));
13576 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
= 0;
13578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 PyObject
* obj2
= 0 ;
13590 char * kwnames
[] = {
13591 (char *) "self",(char *) "from",(char *) "to", NULL
13594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13596 if (!SWIG_IsOK(res1
)) {
13597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13599 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13600 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13601 if (!SWIG_IsOK(ecode2
)) {
13602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13604 arg2
= static_cast< long >(val2
);
13605 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13606 if (!SWIG_IsOK(ecode3
)) {
13607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13609 arg3
= static_cast< long >(val3
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 (arg1
)->SetSelection(arg2
,arg3
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_Py_Void();
13623 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13624 PyObject
*resultobj
= 0;
13625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13628 PyObject
*swig_obj
[1] ;
13630 if (!args
) SWIG_fail
;
13631 swig_obj
[0] = args
;
13632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13633 if (!SWIG_IsOK(res1
)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13636 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->SelectAll();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_Py_Void();
13650 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
= 0;
13652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char * kwnames
[] = {
13661 (char *) "self",(char *) "editable", NULL
13664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13666 if (!SWIG_IsOK(res1
)) {
13667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13669 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13670 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13671 if (!SWIG_IsOK(ecode2
)) {
13672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13674 arg2
= static_cast< bool >(val2
);
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->SetEditable(arg2
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_Py_Void();
13688 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
= 0;
13690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13691 wxString
*arg2
= 0 ;
13694 bool temp2
= false ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 char * kwnames
[] = {
13698 (char *) "self",(char *) "text", NULL
13701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13703 if (!SWIG_IsOK(res1
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13708 arg2
= wxString_in_helper(obj1
);
13709 if (arg2
== NULL
) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_Py_Void();
13733 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= 0;
13735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 PyObject
* obj2
= 0 ;
13748 char * kwnames
[] = {
13749 (char *) "self",(char *) "from",(char *) "to", NULL
13752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13754 if (!SWIG_IsOK(res1
)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13757 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13758 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13759 if (!SWIG_IsOK(ecode2
)) {
13760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13762 arg2
= static_cast< long >(val2
);
13763 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13764 if (!SWIG_IsOK(ecode3
)) {
13765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13767 arg3
= static_cast< long >(val3
);
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13787 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
= 0;
13789 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13790 SwigValueWrapper
<wxVisualAttributes
> result
;
13793 PyObject
* obj0
= 0 ;
13794 char * kwnames
[] = {
13795 (char *) "variant", NULL
13798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13800 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13801 if (!SWIG_IsOK(ecode1
)) {
13802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13804 arg1
= static_cast< wxWindowVariant
>(val1
);
13807 if (!wxPyCheckForApp()) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13820 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13823 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13824 return SWIG_Py_Void();
13827 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13828 return SWIG_Python_InitShadowInstance(args
);
13831 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
= 0;
13834 wxMouseEvent
*arg2
= 0 ;
13837 wxTextUrlEvent
*result
= 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 PyObject
* obj2
= 0 ;
13849 PyObject
* obj3
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13855 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13856 if (!SWIG_IsOK(ecode1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13859 arg1
= static_cast< int >(val1
);
13860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13861 if (!SWIG_IsOK(res2
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13867 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13868 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13869 if (!SWIG_IsOK(ecode3
)) {
13870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13872 arg3
= static_cast< long >(val3
);
13873 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13874 if (!SWIG_IsOK(ecode4
)) {
13875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13877 arg4
= static_cast< long >(val4
);
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13891 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13892 PyObject
*resultobj
= 0;
13893 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13894 wxMouseEvent
*result
= 0 ;
13897 PyObject
*swig_obj
[1] ;
13899 if (!args
) SWIG_fail
;
13900 swig_obj
[0] = args
;
13901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13902 if (!SWIG_IsOK(res1
)) {
13903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13905 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13910 result
= (wxMouseEvent
*) &_result_ref
;
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13922 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13923 PyObject
*resultobj
= 0;
13924 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13928 PyObject
*swig_obj
[1] ;
13930 if (!args
) SWIG_fail
;
13931 swig_obj
[0] = args
;
13932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13933 if (!SWIG_IsOK(res1
)) {
13934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13936 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_From_long(static_cast< long >(result
));
13950 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13951 PyObject
*resultobj
= 0;
13952 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13956 PyObject
*swig_obj
[1] ;
13958 if (!args
) SWIG_fail
;
13959 swig_obj
[0] = args
;
13960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13961 if (!SWIG_IsOK(res1
)) {
13962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13964 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 resultobj
= SWIG_From_long(static_cast< long >(result
));
13978 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13981 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13982 return SWIG_Py_Void();
13985 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13986 return SWIG_Python_InitShadowInstance(args
);
13989 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13990 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13995 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13996 PyObject
*pyobj
= 0;
14000 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14002 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14009 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
= 0;
14011 wxWindow
*arg1
= (wxWindow
*) 0 ;
14012 int arg2
= (int) -1 ;
14013 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14014 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14015 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14016 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14017 long arg5
= (long) wxSB_HORIZONTAL
;
14018 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14019 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14020 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14022 wxScrollBar
*result
= 0 ;
14033 bool temp7
= false ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 PyObject
* obj2
= 0 ;
14037 PyObject
* obj3
= 0 ;
14038 PyObject
* obj4
= 0 ;
14039 PyObject
* obj5
= 0 ;
14040 PyObject
* obj6
= 0 ;
14041 char * kwnames
[] = {
14042 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14050 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14053 if (!SWIG_IsOK(ecode2
)) {
14054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14056 arg2
= static_cast< int >(val2
);
14061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14067 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14071 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14072 if (!SWIG_IsOK(ecode5
)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14075 arg5
= static_cast< long >(val5
);
14078 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14079 if (!SWIG_IsOK(res6
)) {
14080 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14085 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14089 arg7
= wxString_in_helper(obj6
);
14090 if (arg7
== NULL
) SWIG_fail
;
14095 if (!wxPyCheckForApp()) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14116 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14117 PyObject
*resultobj
= 0;
14118 wxScrollBar
*result
= 0 ;
14120 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14122 if (!wxPyCheckForApp()) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (wxScrollBar
*)new wxScrollBar();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14135 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
= 0;
14137 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14138 wxWindow
*arg2
= (wxWindow
*) 0 ;
14139 int arg3
= (int) -1 ;
14140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14144 long arg6
= (long) wxSB_HORIZONTAL
;
14145 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14146 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14147 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14148 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14162 bool temp8
= false ;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 PyObject
* obj2
= 0 ;
14166 PyObject
* obj3
= 0 ;
14167 PyObject
* obj4
= 0 ;
14168 PyObject
* obj5
= 0 ;
14169 PyObject
* obj6
= 0 ;
14170 PyObject
* obj7
= 0 ;
14171 char * kwnames
[] = {
14172 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14177 if (!SWIG_IsOK(res1
)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14180 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14182 if (!SWIG_IsOK(res2
)) {
14183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14188 if (!SWIG_IsOK(ecode3
)) {
14189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14191 arg3
= static_cast< int >(val3
);
14196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14206 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14207 if (!SWIG_IsOK(ecode6
)) {
14208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14210 arg6
= static_cast< long >(val6
);
14213 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14214 if (!SWIG_IsOK(res7
)) {
14215 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14220 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14224 arg8
= wxString_in_helper(obj7
);
14225 if (arg8
== NULL
) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14252 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14253 PyObject
*resultobj
= 0;
14254 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14258 PyObject
*swig_obj
[1] ;
14260 if (!args
) SWIG_fail
;
14261 swig_obj
[0] = args
;
14262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14263 if (!SWIG_IsOK(res1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14266 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= SWIG_From_int(static_cast< int >(result
));
14280 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14281 PyObject
*resultobj
= 0;
14282 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14286 PyObject
*swig_obj
[1] ;
14288 if (!args
) SWIG_fail
;
14289 swig_obj
[0] = args
;
14290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14291 if (!SWIG_IsOK(res1
)) {
14292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14294 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_From_int(static_cast< int >(result
));
14308 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14309 PyObject
*resultobj
= 0;
14310 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14314 PyObject
*swig_obj
[1] ;
14316 if (!args
) SWIG_fail
;
14317 swig_obj
[0] = args
;
14318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14322 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_From_int(static_cast< int >(result
));
14336 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14337 PyObject
*resultobj
= 0;
14338 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14342 PyObject
*swig_obj
[1] ;
14344 if (!args
) SWIG_fail
;
14345 swig_obj
[0] = args
;
14346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14350 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= SWIG_From_int(static_cast< int >(result
));
14364 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14365 PyObject
*resultobj
= 0;
14366 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14370 PyObject
*swig_obj
[1] ;
14372 if (!args
) SWIG_fail
;
14373 swig_obj
[0] = args
;
14374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14378 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14394 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 PyObject
* obj1
= 0 ;
14404 char * kwnames
[] = {
14405 (char *) "self",(char *) "viewStart", NULL
14408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14413 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14415 if (!SWIG_IsOK(ecode2
)) {
14416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14418 arg2
= static_cast< int >(val2
);
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 (arg1
)->SetThumbPosition(arg2
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_Py_Void();
14432 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
= 0;
14434 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14435 SwigValueWrapper
<wxVisualAttributes
> result
;
14438 PyObject
* obj0
= 0 ;
14439 char * kwnames
[] = {
14440 (char *) "variant", NULL
14443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14446 if (!SWIG_IsOK(ecode1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14449 arg1
= static_cast< wxWindowVariant
>(val1
);
14452 if (!wxPyCheckForApp()) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14465 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14468 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14469 return SWIG_Py_Void();
14472 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 return SWIG_Python_InitShadowInstance(args
);
14476 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14477 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14482 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14483 PyObject
*pyobj
= 0;
14487 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14489 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14496 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14497 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14502 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14503 PyObject
*pyobj
= 0;
14507 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14509 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14516 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
= 0;
14518 wxWindow
*arg1
= (wxWindow
*) 0 ;
14519 int arg2
= (int) -1 ;
14520 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14521 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14522 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14523 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14524 long arg5
= (long) wxSP_HORIZONTAL
;
14525 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14526 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14527 wxSpinButton
*result
= 0 ;
14536 bool temp6
= false ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 PyObject
* obj3
= 0 ;
14541 PyObject
* obj4
= 0 ;
14542 PyObject
* obj5
= 0 ;
14543 char * kwnames
[] = {
14544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14555 if (!SWIG_IsOK(ecode2
)) {
14556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14558 arg2
= static_cast< int >(val2
);
14563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14569 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14573 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14574 if (!SWIG_IsOK(ecode5
)) {
14575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14577 arg5
= static_cast< long >(val5
);
14581 arg6
= wxString_in_helper(obj5
);
14582 if (arg6
== NULL
) SWIG_fail
;
14587 if (!wxPyCheckForApp()) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14608 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14609 PyObject
*resultobj
= 0;
14610 wxSpinButton
*result
= 0 ;
14612 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14614 if (!wxPyCheckForApp()) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxSpinButton
*)new wxSpinButton();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14627 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
= 0;
14629 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14630 wxWindow
*arg2
= (wxWindow
*) 0 ;
14631 int arg3
= (int) -1 ;
14632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14636 long arg6
= (long) wxSP_HORIZONTAL
;
14637 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14650 bool temp7
= false ;
14651 PyObject
* obj0
= 0 ;
14652 PyObject
* obj1
= 0 ;
14653 PyObject
* obj2
= 0 ;
14654 PyObject
* obj3
= 0 ;
14655 PyObject
* obj4
= 0 ;
14656 PyObject
* obj5
= 0 ;
14657 PyObject
* obj6
= 0 ;
14658 char * kwnames
[] = {
14659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14664 if (!SWIG_IsOK(res1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14667 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14669 if (!SWIG_IsOK(res2
)) {
14670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14675 if (!SWIG_IsOK(ecode3
)) {
14676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14678 arg3
= static_cast< int >(val3
);
14683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14693 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14694 if (!SWIG_IsOK(ecode6
)) {
14695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14697 arg6
= static_cast< long >(val6
);
14701 arg7
= wxString_in_helper(obj6
);
14702 if (arg7
== NULL
) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14729 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14730 PyObject
*resultobj
= 0;
14731 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14735 PyObject
*swig_obj
[1] ;
14737 if (!args
) SWIG_fail
;
14738 swig_obj
[0] = args
;
14739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14743 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_From_int(static_cast< int >(result
));
14757 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14758 PyObject
*resultobj
= 0;
14759 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14763 PyObject
*swig_obj
[1] ;
14765 if (!args
) SWIG_fail
;
14766 swig_obj
[0] = args
;
14767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14771 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_From_int(static_cast< int >(result
));
14785 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14786 PyObject
*resultobj
= 0;
14787 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14791 PyObject
*swig_obj
[1] ;
14793 if (!args
) SWIG_fail
;
14794 swig_obj
[0] = args
;
14795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14796 if (!SWIG_IsOK(res1
)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14799 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_From_int(static_cast< int >(result
));
14813 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
= 0;
14815 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 PyObject
* obj1
= 0 ;
14823 char * kwnames
[] = {
14824 (char *) "self",(char *) "val", NULL
14827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14832 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14834 if (!SWIG_IsOK(ecode2
)) {
14835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14837 arg2
= static_cast< int >(val2
);
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 (arg1
)->SetValue(arg2
);
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= SWIG_Py_Void();
14851 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
= 0;
14853 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 char * kwnames
[] = {
14862 (char *) "self",(char *) "minVal", NULL
14865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14867 if (!SWIG_IsOK(res1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14870 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14872 if (!SWIG_IsOK(ecode2
)) {
14873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14875 arg2
= static_cast< int >(val2
);
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->SetMin(arg2
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= SWIG_Py_Void();
14889 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
= 0;
14891 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char * kwnames
[] = {
14900 (char *) "self",(char *) "maxVal", NULL
14903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14908 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14910 if (!SWIG_IsOK(ecode2
)) {
14911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14913 arg2
= static_cast< int >(val2
);
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 (arg1
)->SetMax(arg2
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= SWIG_Py_Void();
14927 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
= 0;
14929 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 PyObject
* obj2
= 0 ;
14941 char * kwnames
[] = {
14942 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14947 if (!SWIG_IsOK(res1
)) {
14948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14950 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14952 if (!SWIG_IsOK(ecode2
)) {
14953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14955 arg2
= static_cast< int >(val2
);
14956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14957 if (!SWIG_IsOK(ecode3
)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14960 arg3
= static_cast< int >(val3
);
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 (arg1
)->SetRange(arg2
,arg3
);
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= SWIG_Py_Void();
14974 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14975 PyObject
*resultobj
= 0;
14976 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14980 PyObject
*swig_obj
[1] ;
14982 if (!args
) SWIG_fail
;
14983 swig_obj
[0] = args
;
14984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14988 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15004 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
= 0;
15006 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15007 SwigValueWrapper
<wxVisualAttributes
> result
;
15010 PyObject
* obj0
= 0 ;
15011 char * kwnames
[] = {
15012 (char *) "variant", NULL
15015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15018 if (!SWIG_IsOK(ecode1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15021 arg1
= static_cast< wxWindowVariant
>(val1
);
15024 if (!wxPyCheckForApp()) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15037 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15040 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15041 return SWIG_Py_Void();
15044 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 return SWIG_Python_InitShadowInstance(args
);
15048 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
= 0;
15050 wxWindow
*arg1
= (wxWindow
*) 0 ;
15051 int arg2
= (int) -1 ;
15052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15058 long arg6
= (long) wxSP_ARROW_KEYS
;
15059 int arg7
= (int) 0 ;
15060 int arg8
= (int) 100 ;
15061 int arg9
= (int) 0 ;
15062 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15063 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15064 wxSpinCtrl
*result
= 0 ;
15069 bool temp3
= false ;
15080 bool temp10
= false ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 PyObject
* obj2
= 0 ;
15084 PyObject
* obj3
= 0 ;
15085 PyObject
* obj4
= 0 ;
15086 PyObject
* obj5
= 0 ;
15087 PyObject
* obj6
= 0 ;
15088 PyObject
* obj7
= 0 ;
15089 PyObject
* obj8
= 0 ;
15090 PyObject
* obj9
= 0 ;
15091 char * kwnames
[] = {
15092 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15097 if (!SWIG_IsOK(res1
)) {
15098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15103 if (!SWIG_IsOK(ecode2
)) {
15104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15106 arg2
= static_cast< int >(val2
);
15110 arg3
= wxString_in_helper(obj2
);
15111 if (arg3
== NULL
) SWIG_fail
;
15118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15128 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15129 if (!SWIG_IsOK(ecode6
)) {
15130 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15132 arg6
= static_cast< long >(val6
);
15135 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15136 if (!SWIG_IsOK(ecode7
)) {
15137 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15139 arg7
= static_cast< int >(val7
);
15142 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15143 if (!SWIG_IsOK(ecode8
)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15146 arg8
= static_cast< int >(val8
);
15149 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15150 if (!SWIG_IsOK(ecode9
)) {
15151 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15153 arg9
= static_cast< int >(val9
);
15157 arg10
= wxString_in_helper(obj9
);
15158 if (arg10
== NULL
) SWIG_fail
;
15163 if (!wxPyCheckForApp()) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15192 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15193 PyObject
*resultobj
= 0;
15194 wxSpinCtrl
*result
= 0 ;
15196 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15198 if (!wxPyCheckForApp()) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15211 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15214 wxWindow
*arg2
= (wxWindow
*) 0 ;
15215 int arg3
= (int) -1 ;
15216 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15217 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15218 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15219 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15220 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15221 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15222 long arg7
= (long) wxSP_ARROW_KEYS
;
15223 int arg8
= (int) 0 ;
15224 int arg9
= (int) 100 ;
15225 int arg10
= (int) 0 ;
15226 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15227 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15235 bool temp4
= false ;
15246 bool temp11
= false ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 PyObject
* obj2
= 0 ;
15250 PyObject
* obj3
= 0 ;
15251 PyObject
* obj4
= 0 ;
15252 PyObject
* obj5
= 0 ;
15253 PyObject
* obj6
= 0 ;
15254 PyObject
* obj7
= 0 ;
15255 PyObject
* obj8
= 0 ;
15256 PyObject
* obj9
= 0 ;
15257 PyObject
* obj10
= 0 ;
15258 char * kwnames
[] = {
15259 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15264 if (!SWIG_IsOK(res1
)) {
15265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15267 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15269 if (!SWIG_IsOK(res2
)) {
15270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15275 if (!SWIG_IsOK(ecode3
)) {
15276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15278 arg3
= static_cast< int >(val3
);
15282 arg4
= wxString_in_helper(obj3
);
15283 if (arg4
== NULL
) SWIG_fail
;
15290 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15296 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15300 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15301 if (!SWIG_IsOK(ecode7
)) {
15302 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15304 arg7
= static_cast< long >(val7
);
15307 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15308 if (!SWIG_IsOK(ecode8
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15311 arg8
= static_cast< int >(val8
);
15314 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15315 if (!SWIG_IsOK(ecode9
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15318 arg9
= static_cast< int >(val9
);
15321 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15322 if (!SWIG_IsOK(ecode10
)) {
15323 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15325 arg10
= static_cast< int >(val10
);
15329 arg11
= wxString_in_helper(obj10
);
15330 if (arg11
== NULL
) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15365 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15366 PyObject
*resultobj
= 0;
15367 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15371 PyObject
*swig_obj
[1] ;
15373 if (!args
) SWIG_fail
;
15374 swig_obj
[0] = args
;
15375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15376 if (!SWIG_IsOK(res1
)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15379 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= SWIG_From_int(static_cast< int >(result
));
15393 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
= 0;
15395 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 char * kwnames
[] = {
15404 (char *) "self",(char *) "value", NULL
15407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15409 if (!SWIG_IsOK(res1
)) {
15410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15412 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15414 if (!SWIG_IsOK(ecode2
)) {
15415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15417 arg2
= static_cast< int >(val2
);
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 (arg1
)->SetValue(arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_Py_Void();
15431 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
= 0;
15433 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15434 wxString
*arg2
= 0 ;
15437 bool temp2
= false ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char * kwnames
[] = {
15441 (char *) "self",(char *) "text", NULL
15444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15446 if (!SWIG_IsOK(res1
)) {
15447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15449 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15451 arg2
= wxString_in_helper(obj1
);
15452 if (arg2
== NULL
) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->SetValue((wxString
const &)*arg2
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_Py_Void();
15476 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= 0;
15478 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 PyObject
* obj2
= 0 ;
15490 char * kwnames
[] = {
15491 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15496 if (!SWIG_IsOK(res1
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15499 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15501 if (!SWIG_IsOK(ecode2
)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15504 arg2
= static_cast< int >(val2
);
15505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15506 if (!SWIG_IsOK(ecode3
)) {
15507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15509 arg3
= static_cast< int >(val3
);
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 (arg1
)->SetRange(arg2
,arg3
);
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= SWIG_Py_Void();
15523 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15524 PyObject
*resultobj
= 0;
15525 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15529 PyObject
*swig_obj
[1] ;
15531 if (!args
) SWIG_fail
;
15532 swig_obj
[0] = args
;
15533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15537 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 resultobj
= SWIG_From_int(static_cast< int >(result
));
15551 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15552 PyObject
*resultobj
= 0;
15553 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15557 PyObject
*swig_obj
[1] ;
15559 if (!args
) SWIG_fail
;
15560 swig_obj
[0] = args
;
15561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15562 if (!SWIG_IsOK(res1
)) {
15563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15565 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= SWIG_From_int(static_cast< int >(result
));
15579 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
= 0;
15581 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 PyObject
* obj2
= 0 ;
15593 char * kwnames
[] = {
15594 (char *) "self",(char *) "from",(char *) "to", NULL
15597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15602 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15603 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15604 if (!SWIG_IsOK(ecode2
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15607 arg2
= static_cast< long >(val2
);
15608 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15609 if (!SWIG_IsOK(ecode3
)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15612 arg3
= static_cast< long >(val3
);
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->SetSelection(arg2
,arg3
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_Py_Void();
15626 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
= 0;
15628 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15629 SwigValueWrapper
<wxVisualAttributes
> result
;
15632 PyObject
* obj0
= 0 ;
15633 char * kwnames
[] = {
15634 (char *) "variant", NULL
15637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15639 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15640 if (!SWIG_IsOK(ecode1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15643 arg1
= static_cast< wxWindowVariant
>(val1
);
15646 if (!wxPyCheckForApp()) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15659 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15662 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15663 return SWIG_Py_Void();
15666 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15667 return SWIG_Python_InitShadowInstance(args
);
15670 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
= 0;
15672 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15673 int arg2
= (int) 0 ;
15674 wxSpinEvent
*result
= 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 char * kwnames
[] = {
15682 (char *) "commandType",(char *) "winid", NULL
15685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15688 if (!SWIG_IsOK(ecode1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15691 arg1
= static_cast< wxEventType
>(val1
);
15694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15695 if (!SWIG_IsOK(ecode2
)) {
15696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15698 arg2
= static_cast< int >(val2
);
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15713 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 PyObject
*resultobj
= 0;
15715 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15719 PyObject
*swig_obj
[1] ;
15721 if (!args
) SWIG_fail
;
15722 swig_obj
[0] = args
;
15723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15724 if (!SWIG_IsOK(res1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15727 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_From_int(static_cast< int >(result
));
15741 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 PyObject
* obj1
= 0 ;
15751 char * kwnames
[] = {
15752 (char *) "self",(char *) "pos", NULL
15755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15757 if (!SWIG_IsOK(res1
)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15760 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15762 if (!SWIG_IsOK(ecode2
)) {
15763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15765 arg2
= static_cast< int >(val2
);
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 (arg1
)->SetPosition(arg2
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= SWIG_Py_Void();
15779 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15782 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15783 return SWIG_Py_Void();
15786 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15787 return SWIG_Python_InitShadowInstance(args
);
15790 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15791 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15796 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15797 PyObject
*pyobj
= 0;
15801 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15803 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15810 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15811 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15816 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15817 PyObject
*pyobj
= 0;
15821 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15823 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15830 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
= 0;
15832 wxWindow
*arg1
= (wxWindow
*) 0 ;
15833 int arg2
= (int) -1 ;
15834 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15835 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15840 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15841 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15842 int arg7
= (int) 0 ;
15843 long arg8
= (long) wxRA_HORIZONTAL
;
15844 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15845 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15846 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15847 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15848 wxRadioBox
*result
= 0 ;
15853 bool temp3
= false ;
15856 bool temp6
= false ;
15863 bool temp10
= false ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 PyObject
* obj2
= 0 ;
15867 PyObject
* obj3
= 0 ;
15868 PyObject
* obj4
= 0 ;
15869 PyObject
* obj5
= 0 ;
15870 PyObject
* obj6
= 0 ;
15871 PyObject
* obj7
= 0 ;
15872 PyObject
* obj8
= 0 ;
15873 PyObject
* obj9
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15883 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15886 if (!SWIG_IsOK(ecode2
)) {
15887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15889 arg2
= static_cast< int >(val2
);
15893 arg3
= wxString_in_helper(obj2
);
15894 if (arg3
== NULL
) SWIG_fail
;
15901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15912 if (! PySequence_Check(obj5
)) {
15913 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15916 arg6
= new wxArrayString
;
15918 int i
, len
=PySequence_Length(obj5
);
15919 for (i
=0; i
<len
; i
++) {
15920 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15921 wxString
* s
= wxString_in_helper(item
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15930 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15931 if (!SWIG_IsOK(ecode7
)) {
15932 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15934 arg7
= static_cast< int >(val7
);
15937 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15938 if (!SWIG_IsOK(ecode8
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15941 arg8
= static_cast< long >(val8
);
15944 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15945 if (!SWIG_IsOK(res9
)) {
15946 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15951 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15955 arg10
= wxString_in_helper(obj9
);
15956 if (arg10
== NULL
) SWIG_fail
;
15961 if (!wxPyCheckForApp()) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 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
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15973 if (temp6
) delete arg6
;
15986 if (temp6
) delete arg6
;
15996 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15997 PyObject
*resultobj
= 0;
15998 wxRadioBox
*result
= 0 ;
16000 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16002 if (!wxPyCheckForApp()) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (wxRadioBox
*)new wxRadioBox();
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16015 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
= 0;
16017 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16018 wxWindow
*arg2
= (wxWindow
*) 0 ;
16019 int arg3
= (int) -1 ;
16020 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16021 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16022 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16023 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16024 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16025 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16026 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16027 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16028 int arg8
= (int) 0 ;
16029 long arg9
= (long) wxRA_HORIZONTAL
;
16030 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16031 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16032 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16033 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16041 bool temp4
= false ;
16044 bool temp7
= false ;
16051 bool temp11
= false ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 PyObject
* obj2
= 0 ;
16055 PyObject
* obj3
= 0 ;
16056 PyObject
* obj4
= 0 ;
16057 PyObject
* obj5
= 0 ;
16058 PyObject
* obj6
= 0 ;
16059 PyObject
* obj7
= 0 ;
16060 PyObject
* obj8
= 0 ;
16061 PyObject
* obj9
= 0 ;
16062 PyObject
* obj10
= 0 ;
16063 char * kwnames
[] = {
16064 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16069 if (!SWIG_IsOK(res1
)) {
16070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16072 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16074 if (!SWIG_IsOK(res2
)) {
16075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16077 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16080 if (!SWIG_IsOK(ecode3
)) {
16081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16083 arg3
= static_cast< int >(val3
);
16087 arg4
= wxString_in_helper(obj3
);
16088 if (arg4
== NULL
) SWIG_fail
;
16095 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16101 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16106 if (! PySequence_Check(obj6
)) {
16107 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16110 arg7
= new wxArrayString
;
16112 int i
, len
=PySequence_Length(obj6
);
16113 for (i
=0; i
<len
; i
++) {
16114 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16115 wxString
* s
= wxString_in_helper(item
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16124 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16125 if (!SWIG_IsOK(ecode8
)) {
16126 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16128 arg8
= static_cast< int >(val8
);
16131 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16132 if (!SWIG_IsOK(ecode9
)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16135 arg9
= static_cast< long >(val9
);
16138 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16139 if (!SWIG_IsOK(res10
)) {
16140 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16145 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16149 arg11
= wxString_in_helper(obj10
);
16150 if (arg11
== NULL
) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 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
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16168 if (temp7
) delete arg7
;
16181 if (temp7
) delete arg7
;
16191 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
= 0;
16193 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 char * kwnames
[] = {
16202 (char *) "self",(char *) "n", NULL
16205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16210 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16212 if (!SWIG_IsOK(ecode2
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16215 arg2
= static_cast< int >(val2
);
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 (arg1
)->SetSelection(arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= SWIG_Py_Void();
16229 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16230 PyObject
*resultobj
= 0;
16231 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16235 PyObject
*swig_obj
[1] ;
16237 if (!args
) SWIG_fail
;
16238 swig_obj
[0] = args
;
16239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16240 if (!SWIG_IsOK(res1
)) {
16241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16243 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= SWIG_From_int(static_cast< int >(result
));
16257 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16258 PyObject
*resultobj
= 0;
16259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16263 PyObject
*swig_obj
[1] ;
16265 if (!args
) SWIG_fail
;
16266 swig_obj
[0] = args
;
16267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16268 if (!SWIG_IsOK(res1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16271 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16291 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
= 0;
16293 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16294 wxString
*arg2
= 0 ;
16298 bool temp2
= false ;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 char * kwnames
[] = {
16302 (char *) "self",(char *) "s", NULL
16305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16307 if (!SWIG_IsOK(res1
)) {
16308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16310 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16312 arg2
= wxString_in_helper(obj1
);
16313 if (arg2
== NULL
) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16340 PyObject
*resultobj
= 0;
16341 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16345 PyObject
*swig_obj
[1] ;
16347 if (!args
) SWIG_fail
;
16348 swig_obj
[0] = args
;
16349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16350 if (!SWIG_IsOK(res1
)) {
16351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16353 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16367 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
= 0;
16369 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16370 wxString
*arg2
= 0 ;
16374 bool temp2
= false ;
16375 PyObject
* obj0
= 0 ;
16376 PyObject
* obj1
= 0 ;
16377 char * kwnames
[] = {
16378 (char *) "self",(char *) "s", NULL
16381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16383 if (!SWIG_IsOK(res1
)) {
16384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16386 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16388 arg2
= wxString_in_helper(obj1
);
16389 if (arg2
== NULL
) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= SWIG_From_int(static_cast< int >(result
));
16413 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
= 0;
16415 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char * kwnames
[] = {
16425 (char *) "self",(char *) "n", NULL
16428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16430 if (!SWIG_IsOK(res1
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16433 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16435 if (!SWIG_IsOK(ecode2
)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16438 arg2
= static_cast< int >(val2
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16458 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
= 0;
16460 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16462 wxString
*arg3
= 0 ;
16467 bool temp3
= false ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 PyObject
* obj2
= 0 ;
16471 char * kwnames
[] = {
16472 (char *) "self",(char *) "n",(char *) "label", NULL
16475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16477 if (!SWIG_IsOK(res1
)) {
16478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16480 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16482 if (!SWIG_IsOK(ecode2
)) {
16483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16485 arg2
= static_cast< int >(val2
);
16487 arg3
= wxString_in_helper(obj2
);
16488 if (arg3
== NULL
) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= SWIG_Py_Void();
16512 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
= 0;
16514 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16515 unsigned int arg2
;
16516 bool arg3
= (bool) true ;
16519 unsigned int val2
;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 PyObject
* obj2
= 0 ;
16526 char * kwnames
[] = {
16527 (char *) "self",(char *) "n",(char *) "enable", NULL
16530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16532 if (!SWIG_IsOK(res1
)) {
16533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16535 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16536 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16537 if (!SWIG_IsOK(ecode2
)) {
16538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16540 arg2
= static_cast< unsigned int >(val2
);
16542 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16543 if (!SWIG_IsOK(ecode3
)) {
16544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16546 arg3
= static_cast< bool >(val3
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 (arg1
)->Enable(arg2
,arg3
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= SWIG_Py_Void();
16561 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
= 0;
16563 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16564 unsigned int arg2
;
16565 bool arg3
= (bool) true ;
16568 unsigned int val2
;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 PyObject
* obj2
= 0 ;
16575 char * kwnames
[] = {
16576 (char *) "self",(char *) "n",(char *) "show", NULL
16579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16581 if (!SWIG_IsOK(res1
)) {
16582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16584 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16585 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16586 if (!SWIG_IsOK(ecode2
)) {
16587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16589 arg2
= static_cast< unsigned int >(val2
);
16591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16592 if (!SWIG_IsOK(ecode3
)) {
16593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16595 arg3
= static_cast< bool >(val3
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->Show(arg2
,arg3
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_Py_Void();
16610 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
= 0;
16612 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16613 unsigned int arg2
;
16617 unsigned int val2
;
16619 PyObject
* obj0
= 0 ;
16620 PyObject
* obj1
= 0 ;
16621 char * kwnames
[] = {
16622 (char *) "self",(char *) "n", NULL
16625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16627 if (!SWIG_IsOK(res1
)) {
16628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16630 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16631 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16632 if (!SWIG_IsOK(ecode2
)) {
16633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16635 arg2
= static_cast< unsigned int >(val2
);
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16651 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
= 0;
16653 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16654 unsigned int arg2
;
16658 unsigned int val2
;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char * kwnames
[] = {
16663 (char *) "self",(char *) "n", NULL
16666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16671 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16672 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16673 if (!SWIG_IsOK(ecode2
)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16676 arg2
= static_cast< unsigned int >(val2
);
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16692 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16693 PyObject
*resultobj
= 0;
16694 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16695 unsigned int result
;
16698 PyObject
*swig_obj
[1] ;
16700 if (!args
) SWIG_fail
;
16701 swig_obj
[0] = args
;
16702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16703 if (!SWIG_IsOK(res1
)) {
16704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16706 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16720 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16721 PyObject
*resultobj
= 0;
16722 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16723 unsigned int result
;
16726 PyObject
*swig_obj
[1] ;
16728 if (!args
) SWIG_fail
;
16729 swig_obj
[0] = args
;
16730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16731 if (!SWIG_IsOK(res1
)) {
16732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16734 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16748 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
= 0;
16750 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 PyObject
* obj2
= 0 ;
16766 PyObject
* obj3
= 0 ;
16767 char * kwnames
[] = {
16768 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16773 if (!SWIG_IsOK(res1
)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16776 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16778 if (!SWIG_IsOK(ecode2
)) {
16779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16781 arg2
= static_cast< int >(val2
);
16782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16783 if (!SWIG_IsOK(ecode3
)) {
16784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16786 arg3
= static_cast< wxDirection
>(val3
);
16787 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16788 if (!SWIG_IsOK(ecode4
)) {
16789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16791 arg4
= static_cast< long >(val4
);
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_From_int(static_cast< int >(result
));
16805 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
= 0;
16807 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16808 unsigned int arg2
;
16809 wxString
*arg3
= 0 ;
16812 unsigned int val2
;
16814 bool temp3
= false ;
16815 PyObject
* obj0
= 0 ;
16816 PyObject
* obj1
= 0 ;
16817 PyObject
* obj2
= 0 ;
16818 char * kwnames
[] = {
16819 (char *) "self",(char *) "item",(char *) "text", NULL
16822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16824 if (!SWIG_IsOK(res1
)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16827 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16828 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16829 if (!SWIG_IsOK(ecode2
)) {
16830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16832 arg2
= static_cast< unsigned int >(val2
);
16834 arg3
= wxString_in_helper(obj2
);
16835 if (arg3
== NULL
) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= SWIG_Py_Void();
16859 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
= 0;
16861 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16862 unsigned int arg2
;
16863 wxToolTip
*result
= 0 ;
16866 unsigned int val2
;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 char * kwnames
[] = {
16871 (char *) "self",(char *) "item", NULL
16874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16879 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16880 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16881 if (!SWIG_IsOK(ecode2
)) {
16882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16884 arg2
= static_cast< unsigned int >(val2
);
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16900 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
= 0;
16902 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16903 unsigned int arg2
;
16904 wxString
*arg3
= 0 ;
16907 unsigned int val2
;
16909 bool temp3
= false ;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 PyObject
* obj2
= 0 ;
16913 char * kwnames
[] = {
16914 (char *) "self",(char *) "n",(char *) "helpText", NULL
16917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16922 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16923 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16924 if (!SWIG_IsOK(ecode2
)) {
16925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16927 arg2
= static_cast< unsigned int >(val2
);
16929 arg3
= wxString_in_helper(obj2
);
16930 if (arg3
== NULL
) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= SWIG_Py_Void();
16954 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
= 0;
16956 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16957 unsigned int arg2
;
16961 unsigned int val2
;
16963 PyObject
* obj0
= 0 ;
16964 PyObject
* obj1
= 0 ;
16965 char * kwnames
[] = {
16966 (char *) "self",(char *) "n", NULL
16969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16971 if (!SWIG_IsOK(res1
)) {
16972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16974 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16975 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16976 if (!SWIG_IsOK(ecode2
)) {
16977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16979 arg2
= static_cast< unsigned int >(val2
);
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16999 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
= 0;
17001 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17002 SwigValueWrapper
<wxVisualAttributes
> result
;
17005 PyObject
* obj0
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "variant", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17013 if (!SWIG_IsOK(ecode1
)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17016 arg1
= static_cast< wxWindowVariant
>(val1
);
17019 if (!wxPyCheckForApp()) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17032 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17035 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17036 return SWIG_Py_Void();
17039 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17040 return SWIG_Python_InitShadowInstance(args
);
17043 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
= 0;
17045 wxWindow
*arg1
= (wxWindow
*) 0 ;
17046 int arg2
= (int) -1 ;
17047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17053 long arg6
= (long) 0 ;
17054 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17055 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17056 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17058 wxRadioButton
*result
= 0 ;
17063 bool temp3
= false ;
17070 bool temp8
= false ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 PyObject
* obj2
= 0 ;
17074 PyObject
* obj3
= 0 ;
17075 PyObject
* obj4
= 0 ;
17076 PyObject
* obj5
= 0 ;
17077 PyObject
* obj6
= 0 ;
17078 PyObject
* obj7
= 0 ;
17079 char * kwnames
[] = {
17080 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17085 if (!SWIG_IsOK(res1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17091 if (!SWIG_IsOK(ecode2
)) {
17092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17094 arg2
= static_cast< int >(val2
);
17098 arg3
= wxString_in_helper(obj2
);
17099 if (arg3
== NULL
) SWIG_fail
;
17106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17116 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17117 if (!SWIG_IsOK(ecode6
)) {
17118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17120 arg6
= static_cast< long >(val6
);
17123 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17124 if (!SWIG_IsOK(res7
)) {
17125 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17130 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17134 arg8
= wxString_in_helper(obj7
);
17135 if (arg8
== NULL
) SWIG_fail
;
17140 if (!wxPyCheckForApp()) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17169 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17170 PyObject
*resultobj
= 0;
17171 wxRadioButton
*result
= 0 ;
17173 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17175 if (!wxPyCheckForApp()) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (wxRadioButton
*)new wxRadioButton();
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17188 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
= 0;
17190 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17191 wxWindow
*arg2
= (wxWindow
*) 0 ;
17192 int arg3
= (int) -1 ;
17193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17199 long arg7
= (long) 0 ;
17200 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17201 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17202 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17203 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17211 bool temp4
= false ;
17218 bool temp9
= false ;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 PyObject
* obj2
= 0 ;
17222 PyObject
* obj3
= 0 ;
17223 PyObject
* obj4
= 0 ;
17224 PyObject
* obj5
= 0 ;
17225 PyObject
* obj6
= 0 ;
17226 PyObject
* obj7
= 0 ;
17227 PyObject
* obj8
= 0 ;
17228 char * kwnames
[] = {
17229 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17234 if (!SWIG_IsOK(res1
)) {
17235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17237 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17239 if (!SWIG_IsOK(res2
)) {
17240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17242 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17245 if (!SWIG_IsOK(ecode3
)) {
17246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17248 arg3
= static_cast< int >(val3
);
17252 arg4
= wxString_in_helper(obj3
);
17253 if (arg4
== NULL
) SWIG_fail
;
17260 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17266 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17270 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17271 if (!SWIG_IsOK(ecode7
)) {
17272 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17274 arg7
= static_cast< long >(val7
);
17277 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17278 if (!SWIG_IsOK(res8
)) {
17279 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17284 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17288 arg9
= wxString_in_helper(obj8
);
17289 if (arg9
== NULL
) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17324 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17325 PyObject
*resultobj
= 0;
17326 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17330 PyObject
*swig_obj
[1] ;
17332 if (!args
) SWIG_fail
;
17333 swig_obj
[0] = args
;
17334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17335 if (!SWIG_IsOK(res1
)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17338 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (bool)(arg1
)->GetValue();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17354 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
= 0;
17356 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17362 PyObject
* obj0
= 0 ;
17363 PyObject
* obj1
= 0 ;
17364 char * kwnames
[] = {
17365 (char *) "self",(char *) "value", NULL
17368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17373 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17374 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17375 if (!SWIG_IsOK(ecode2
)) {
17376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17378 arg2
= static_cast< bool >(val2
);
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 (arg1
)->SetValue(arg2
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= SWIG_Py_Void();
17392 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
= 0;
17394 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17395 SwigValueWrapper
<wxVisualAttributes
> result
;
17398 PyObject
* obj0
= 0 ;
17399 char * kwnames
[] = {
17400 (char *) "variant", NULL
17403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17406 if (!SWIG_IsOK(ecode1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17409 arg1
= static_cast< wxWindowVariant
>(val1
);
17412 if (!wxPyCheckForApp()) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17425 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17428 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17429 return SWIG_Py_Void();
17432 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17433 return SWIG_Python_InitShadowInstance(args
);
17436 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17437 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17442 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17443 PyObject
*pyobj
= 0;
17447 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17449 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17456 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
= 0;
17458 wxWindow
*arg1
= (wxWindow
*) 0 ;
17459 int arg2
= (int) -1 ;
17460 int arg3
= (int) 0 ;
17461 int arg4
= (int) 0 ;
17462 int arg5
= (int) 100 ;
17463 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17464 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17465 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17466 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17467 long arg8
= (long) wxSL_HORIZONTAL
;
17468 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17469 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17470 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17471 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17472 wxSlider
*result
= 0 ;
17489 bool temp10
= false ;
17490 PyObject
* obj0
= 0 ;
17491 PyObject
* obj1
= 0 ;
17492 PyObject
* obj2
= 0 ;
17493 PyObject
* obj3
= 0 ;
17494 PyObject
* obj4
= 0 ;
17495 PyObject
* obj5
= 0 ;
17496 PyObject
* obj6
= 0 ;
17497 PyObject
* obj7
= 0 ;
17498 PyObject
* obj8
= 0 ;
17499 PyObject
* obj9
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17509 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17512 if (!SWIG_IsOK(ecode2
)) {
17513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17515 arg2
= static_cast< int >(val2
);
17518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17519 if (!SWIG_IsOK(ecode3
)) {
17520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17522 arg3
= static_cast< int >(val3
);
17525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17526 if (!SWIG_IsOK(ecode4
)) {
17527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17529 arg4
= static_cast< int >(val4
);
17532 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17533 if (!SWIG_IsOK(ecode5
)) {
17534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17536 arg5
= static_cast< int >(val5
);
17541 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17547 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17551 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17552 if (!SWIG_IsOK(ecode8
)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17555 arg8
= static_cast< long >(val8
);
17558 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17559 if (!SWIG_IsOK(res9
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17565 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17569 arg10
= wxString_in_helper(obj9
);
17570 if (arg10
== NULL
) SWIG_fail
;
17575 if (!wxPyCheckForApp()) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17596 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17597 PyObject
*resultobj
= 0;
17598 wxSlider
*result
= 0 ;
17600 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17602 if (!wxPyCheckForApp()) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (wxSlider
*)new wxSlider();
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17615 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
= 0;
17617 wxSlider
*arg1
= (wxSlider
*) 0 ;
17618 wxWindow
*arg2
= (wxWindow
*) 0 ;
17619 int arg3
= (int) -1 ;
17620 int arg4
= (int) 0 ;
17621 int arg5
= (int) 0 ;
17622 int arg6
= (int) 100 ;
17623 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17624 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17625 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17626 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17627 long arg9
= (long) wxSL_HORIZONTAL
;
17628 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17629 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17630 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17631 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17651 bool temp11
= false ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 PyObject
* obj2
= 0 ;
17655 PyObject
* obj3
= 0 ;
17656 PyObject
* obj4
= 0 ;
17657 PyObject
* obj5
= 0 ;
17658 PyObject
* obj6
= 0 ;
17659 PyObject
* obj7
= 0 ;
17660 PyObject
* obj8
= 0 ;
17661 PyObject
* obj9
= 0 ;
17662 PyObject
* obj10
= 0 ;
17663 char * kwnames
[] = {
17664 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17669 if (!SWIG_IsOK(res1
)) {
17670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17672 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17674 if (!SWIG_IsOK(res2
)) {
17675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17680 if (!SWIG_IsOK(ecode3
)) {
17681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17683 arg3
= static_cast< int >(val3
);
17686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17687 if (!SWIG_IsOK(ecode4
)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17690 arg4
= static_cast< int >(val4
);
17693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17694 if (!SWIG_IsOK(ecode5
)) {
17695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17697 arg5
= static_cast< int >(val5
);
17700 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17701 if (!SWIG_IsOK(ecode6
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17704 arg6
= static_cast< int >(val6
);
17709 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17715 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17719 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17720 if (!SWIG_IsOK(ecode9
)) {
17721 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17723 arg9
= static_cast< long >(val9
);
17726 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17727 if (!SWIG_IsOK(res10
)) {
17728 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17733 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17737 arg11
= wxString_in_helper(obj10
);
17738 if (arg11
== NULL
) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17765 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17766 PyObject
*resultobj
= 0;
17767 wxSlider
*arg1
= (wxSlider
*) 0 ;
17771 PyObject
*swig_obj
[1] ;
17773 if (!args
) SWIG_fail
;
17774 swig_obj
[0] = args
;
17775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17776 if (!SWIG_IsOK(res1
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17779 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_From_int(static_cast< int >(result
));
17793 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
= 0;
17795 wxSlider
*arg1
= (wxSlider
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char * kwnames
[] = {
17804 (char *) "self",(char *) "value", NULL
17807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17809 if (!SWIG_IsOK(res1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17812 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17814 if (!SWIG_IsOK(ecode2
)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17817 arg2
= static_cast< int >(val2
);
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 (arg1
)->SetValue(arg2
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= SWIG_Py_Void();
17831 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
= 0;
17833 wxSlider
*arg1
= (wxSlider
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 PyObject
* obj2
= 0 ;
17845 char * kwnames
[] = {
17846 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17851 if (!SWIG_IsOK(res1
)) {
17852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17854 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17856 if (!SWIG_IsOK(ecode2
)) {
17857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17859 arg2
= static_cast< int >(val2
);
17860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17861 if (!SWIG_IsOK(ecode3
)) {
17862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17864 arg3
= static_cast< int >(val3
);
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 (arg1
)->SetRange(arg2
,arg3
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_Py_Void();
17878 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17879 PyObject
*resultobj
= 0;
17880 wxSlider
*arg1
= (wxSlider
*) 0 ;
17884 PyObject
*swig_obj
[1] ;
17886 if (!args
) SWIG_fail
;
17887 swig_obj
[0] = args
;
17888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17889 if (!SWIG_IsOK(res1
)) {
17890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17892 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_From_int(static_cast< int >(result
));
17906 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17907 PyObject
*resultobj
= 0;
17908 wxSlider
*arg1
= (wxSlider
*) 0 ;
17912 PyObject
*swig_obj
[1] ;
17914 if (!args
) SWIG_fail
;
17915 swig_obj
[0] = args
;
17916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17917 if (!SWIG_IsOK(res1
)) {
17918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17920 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_From_int(static_cast< int >(result
));
17934 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
= 0;
17936 wxSlider
*arg1
= (wxSlider
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char * kwnames
[] = {
17945 (char *) "self",(char *) "minValue", NULL
17948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17950 if (!SWIG_IsOK(res1
)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17953 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17955 if (!SWIG_IsOK(ecode2
)) {
17956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17958 arg2
= static_cast< int >(val2
);
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 (arg1
)->SetMin(arg2
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_Py_Void();
17972 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= 0;
17974 wxSlider
*arg1
= (wxSlider
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 char * kwnames
[] = {
17983 (char *) "self",(char *) "maxValue", NULL
17986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17991 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17993 if (!SWIG_IsOK(ecode2
)) {
17994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17996 arg2
= static_cast< int >(val2
);
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 (arg1
)->SetMax(arg2
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= SWIG_Py_Void();
18010 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
= 0;
18012 wxSlider
*arg1
= (wxSlider
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char * kwnames
[] = {
18021 (char *) "self",(char *) "lineSize", NULL
18024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18026 if (!SWIG_IsOK(res1
)) {
18027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18029 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18031 if (!SWIG_IsOK(ecode2
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18034 arg2
= static_cast< int >(val2
);
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 (arg1
)->SetLineSize(arg2
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_Py_Void();
18048 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxSlider
*arg1
= (wxSlider
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 char * kwnames
[] = {
18059 (char *) "self",(char *) "pageSize", NULL
18062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18067 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18069 if (!SWIG_IsOK(ecode2
)) {
18070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18072 arg2
= static_cast< int >(val2
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetPageSize(arg2
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_Py_Void();
18086 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 PyObject
*resultobj
= 0;
18088 wxSlider
*arg1
= (wxSlider
*) 0 ;
18092 PyObject
*swig_obj
[1] ;
18094 if (!args
) SWIG_fail
;
18095 swig_obj
[0] = args
;
18096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18100 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_From_int(static_cast< int >(result
));
18114 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18115 PyObject
*resultobj
= 0;
18116 wxSlider
*arg1
= (wxSlider
*) 0 ;
18120 PyObject
*swig_obj
[1] ;
18122 if (!args
) SWIG_fail
;
18123 swig_obj
[0] = args
;
18124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18125 if (!SWIG_IsOK(res1
)) {
18126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18128 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= SWIG_From_int(static_cast< int >(result
));
18142 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
= 0;
18144 wxSlider
*arg1
= (wxSlider
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 char * kwnames
[] = {
18153 (char *) "self",(char *) "lenPixels", NULL
18156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18158 if (!SWIG_IsOK(res1
)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18161 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18163 if (!SWIG_IsOK(ecode2
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18166 arg2
= static_cast< int >(val2
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 (arg1
)->SetThumbLength(arg2
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_Py_Void();
18180 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18181 PyObject
*resultobj
= 0;
18182 wxSlider
*arg1
= (wxSlider
*) 0 ;
18186 PyObject
*swig_obj
[1] ;
18188 if (!args
) SWIG_fail
;
18189 swig_obj
[0] = args
;
18190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18191 if (!SWIG_IsOK(res1
)) {
18192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18194 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_From_int(static_cast< int >(result
));
18208 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
= 0;
18210 wxSlider
*arg1
= (wxSlider
*) 0 ;
18212 int arg3
= (int) 1 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 PyObject
* obj2
= 0 ;
18222 char * kwnames
[] = {
18223 (char *) "self",(char *) "n",(char *) "pos", NULL
18226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18228 if (!SWIG_IsOK(res1
)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18231 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18233 if (!SWIG_IsOK(ecode2
)) {
18234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18236 arg2
= static_cast< int >(val2
);
18238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18239 if (!SWIG_IsOK(ecode3
)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18242 arg3
= static_cast< int >(val3
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetTickFreq(arg2
,arg3
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_Py_Void();
18257 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(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_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18271 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_From_int(static_cast< int >(result
));
18285 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18286 PyObject
*resultobj
= 0;
18287 wxSlider
*arg1
= (wxSlider
*) 0 ;
18290 PyObject
*swig_obj
[1] ;
18292 if (!args
) SWIG_fail
;
18293 swig_obj
[0] = args
;
18294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18295 if (!SWIG_IsOK(res1
)) {
18296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18298 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 (arg1
)->ClearTicks();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_Py_Void();
18312 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
= 0;
18314 wxSlider
*arg1
= (wxSlider
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 char * kwnames
[] = {
18323 (char *) "self",(char *) "tickPos", NULL
18326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18328 if (!SWIG_IsOK(res1
)) {
18329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18331 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18333 if (!SWIG_IsOK(ecode2
)) {
18334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18336 arg2
= static_cast< int >(val2
);
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 (arg1
)->SetTick(arg2
);
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_Py_Void();
18350 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18351 PyObject
*resultobj
= 0;
18352 wxSlider
*arg1
= (wxSlider
*) 0 ;
18355 PyObject
*swig_obj
[1] ;
18357 if (!args
) SWIG_fail
;
18358 swig_obj
[0] = args
;
18359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18360 if (!SWIG_IsOK(res1
)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18363 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 (arg1
)->ClearSel();
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= SWIG_Py_Void();
18377 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18378 PyObject
*resultobj
= 0;
18379 wxSlider
*arg1
= (wxSlider
*) 0 ;
18383 PyObject
*swig_obj
[1] ;
18385 if (!args
) SWIG_fail
;
18386 swig_obj
[0] = args
;
18387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18388 if (!SWIG_IsOK(res1
)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18391 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= SWIG_From_int(static_cast< int >(result
));
18405 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18406 PyObject
*resultobj
= 0;
18407 wxSlider
*arg1
= (wxSlider
*) 0 ;
18411 PyObject
*swig_obj
[1] ;
18413 if (!args
) SWIG_fail
;
18414 swig_obj
[0] = args
;
18415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18416 if (!SWIG_IsOK(res1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18419 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= SWIG_From_int(static_cast< int >(result
));
18433 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
= 0;
18435 wxSlider
*arg1
= (wxSlider
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 PyObject
* obj2
= 0 ;
18447 char * kwnames
[] = {
18448 (char *) "self",(char *) "min",(char *) "max", NULL
18451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18453 if (!SWIG_IsOK(res1
)) {
18454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18456 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18458 if (!SWIG_IsOK(ecode2
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18461 arg2
= static_cast< int >(val2
);
18462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18463 if (!SWIG_IsOK(ecode3
)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18466 arg3
= static_cast< int >(val3
);
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetSelection(arg2
,arg3
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_Py_Void();
18480 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
= 0;
18482 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18483 SwigValueWrapper
<wxVisualAttributes
> result
;
18486 PyObject
* obj0
= 0 ;
18487 char * kwnames
[] = {
18488 (char *) "variant", NULL
18491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18494 if (!SWIG_IsOK(ecode1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18497 arg1
= static_cast< wxWindowVariant
>(val1
);
18500 if (!wxPyCheckForApp()) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18513 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18516 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18517 return SWIG_Py_Void();
18520 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18521 return SWIG_Python_InitShadowInstance(args
);
18524 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18525 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18530 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18531 PyObject
*pyobj
= 0;
18535 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18537 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18544 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
= 0;
18546 wxWindow
*arg1
= (wxWindow
*) 0 ;
18547 int arg2
= (int) -1 ;
18548 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18549 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18554 long arg6
= (long) 0 ;
18555 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18556 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18557 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18559 wxToggleButton
*result
= 0 ;
18564 bool temp3
= false ;
18571 bool temp8
= false ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 PyObject
* obj2
= 0 ;
18575 PyObject
* obj3
= 0 ;
18576 PyObject
* obj4
= 0 ;
18577 PyObject
* obj5
= 0 ;
18578 PyObject
* obj6
= 0 ;
18579 PyObject
* obj7
= 0 ;
18580 char * kwnames
[] = {
18581 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18586 if (!SWIG_IsOK(res1
)) {
18587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18592 if (!SWIG_IsOK(ecode2
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18595 arg2
= static_cast< int >(val2
);
18599 arg3
= wxString_in_helper(obj2
);
18600 if (arg3
== NULL
) SWIG_fail
;
18607 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18613 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18617 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18618 if (!SWIG_IsOK(ecode6
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18621 arg6
= static_cast< long >(val6
);
18624 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18625 if (!SWIG_IsOK(res7
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18631 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18635 arg8
= wxString_in_helper(obj7
);
18636 if (arg8
== NULL
) SWIG_fail
;
18641 if (!wxPyCheckForApp()) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18670 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18671 PyObject
*resultobj
= 0;
18672 wxToggleButton
*result
= 0 ;
18674 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18676 if (!wxPyCheckForApp()) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (wxToggleButton
*)new wxToggleButton();
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18689 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18692 wxWindow
*arg2
= (wxWindow
*) 0 ;
18693 int arg3
= (int) -1 ;
18694 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18695 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18696 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18697 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18698 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18699 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18700 long arg7
= (long) 0 ;
18701 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18702 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18703 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18704 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18712 bool temp4
= false ;
18719 bool temp9
= false ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 PyObject
* obj2
= 0 ;
18723 PyObject
* obj3
= 0 ;
18724 PyObject
* obj4
= 0 ;
18725 PyObject
* obj5
= 0 ;
18726 PyObject
* obj6
= 0 ;
18727 PyObject
* obj7
= 0 ;
18728 PyObject
* obj8
= 0 ;
18729 char * kwnames
[] = {
18730 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18738 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18740 if (!SWIG_IsOK(res2
)) {
18741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18746 if (!SWIG_IsOK(ecode3
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18749 arg3
= static_cast< int >(val3
);
18753 arg4
= wxString_in_helper(obj3
);
18754 if (arg4
== NULL
) SWIG_fail
;
18761 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18767 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18771 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18772 if (!SWIG_IsOK(ecode7
)) {
18773 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18775 arg7
= static_cast< long >(val7
);
18778 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18779 if (!SWIG_IsOK(res8
)) {
18780 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18785 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18789 arg9
= wxString_in_helper(obj8
);
18790 if (arg9
== NULL
) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18825 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
= 0;
18827 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 char * kwnames
[] = {
18836 (char *) "self",(char *) "value", NULL
18839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18841 if (!SWIG_IsOK(res1
)) {
18842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18844 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18845 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18846 if (!SWIG_IsOK(ecode2
)) {
18847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18849 arg2
= static_cast< bool >(val2
);
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->SetValue(arg2
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_Py_Void();
18863 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18864 PyObject
*resultobj
= 0;
18865 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18869 PyObject
*swig_obj
[1] ;
18871 if (!args
) SWIG_fail
;
18872 swig_obj
[0] = args
;
18873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18877 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18893 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
= 0;
18895 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18896 SwigValueWrapper
<wxVisualAttributes
> result
;
18899 PyObject
* obj0
= 0 ;
18900 char * kwnames
[] = {
18901 (char *) "variant", NULL
18904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18906 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18907 if (!SWIG_IsOK(ecode1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18910 arg1
= static_cast< wxWindowVariant
>(val1
);
18913 if (!wxPyCheckForApp()) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18926 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18929 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18930 return SWIG_Py_Void();
18933 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18934 return SWIG_Python_InitShadowInstance(args
);
18937 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18938 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18943 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18944 PyObject
*pyobj
= 0;
18948 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18950 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18957 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18958 PyObject
*resultobj
= 0;
18959 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18963 PyObject
*swig_obj
[1] ;
18965 if (!args
) SWIG_fail
;
18966 swig_obj
[0] = args
;
18967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18968 if (!SWIG_IsOK(res1
)) {
18969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18971 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18985 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
= 0;
18987 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18989 wxWindow
*result
= 0 ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 char * kwnames
[] = {
18997 (char *) "self",(char *) "n", NULL
19000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19002 if (!SWIG_IsOK(res1
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19005 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19006 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19007 if (!SWIG_IsOK(ecode2
)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19010 arg2
= static_cast< size_t >(val2
);
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= wxPyMake_wxObject(result
, 0);
19026 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19027 PyObject
*resultobj
= 0;
19028 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19029 wxWindow
*result
= 0 ;
19032 PyObject
*swig_obj
[1] ;
19034 if (!args
) SWIG_fail
;
19035 swig_obj
[0] = args
;
19036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19037 if (!SWIG_IsOK(res1
)) {
19038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19040 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= wxPyMake_wxObject(result
, 0);
19056 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19057 PyObject
*resultobj
= 0;
19058 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19062 PyObject
*swig_obj
[1] ;
19064 if (!args
) SWIG_fail
;
19065 swig_obj
[0] = args
;
19066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19067 if (!SWIG_IsOK(res1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19070 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= SWIG_From_int(static_cast< int >(result
));
19084 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
= 0;
19086 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19088 wxString
*arg3
= 0 ;
19094 bool temp3
= false ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 PyObject
* obj2
= 0 ;
19098 char * kwnames
[] = {
19099 (char *) "self",(char *) "n",(char *) "strText", NULL
19102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19104 if (!SWIG_IsOK(res1
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19107 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19108 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19109 if (!SWIG_IsOK(ecode2
)) {
19110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19112 arg2
= static_cast< size_t >(val2
);
19114 arg3
= wxString_in_helper(obj2
);
19115 if (arg3
== NULL
) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19141 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
= 0;
19143 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 PyObject
* obj1
= 0 ;
19152 char * kwnames
[] = {
19153 (char *) "self",(char *) "n", NULL
19156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19158 if (!SWIG_IsOK(res1
)) {
19159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19161 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19162 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19163 if (!SWIG_IsOK(ecode2
)) {
19164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19166 arg2
= static_cast< size_t >(val2
);
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19186 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
= 0;
19188 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19189 wxImageList
*arg2
= (wxImageList
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char * kwnames
[] = {
19197 (char *) "self",(char *) "imageList", NULL
19200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19205 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19207 if (!SWIG_IsOK(res2
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19210 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->SetImageList(arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_Py_Void();
19224 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
= 0;
19226 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19227 wxImageList
*arg2
= (wxImageList
*) 0 ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char * kwnames
[] = {
19234 (char *) "self",(char *) "imageList", NULL
19237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19239 if (!SWIG_IsOK(res1
)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19242 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19243 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19244 if (!SWIG_IsOK(res2
)) {
19245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 (arg1
)->AssignImageList(arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= SWIG_Py_Void();
19260 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19261 PyObject
*resultobj
= 0;
19262 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19263 wxImageList
*result
= 0 ;
19266 PyObject
*swig_obj
[1] ;
19268 if (!args
) SWIG_fail
;
19269 swig_obj
[0] = args
;
19270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19271 if (!SWIG_IsOK(res1
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19274 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19290 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
= 0;
19292 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 char * kwnames
[] = {
19302 (char *) "self",(char *) "n", NULL
19305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19307 if (!SWIG_IsOK(res1
)) {
19308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19310 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19311 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19312 if (!SWIG_IsOK(ecode2
)) {
19313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19315 arg2
= static_cast< size_t >(val2
);
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_From_int(static_cast< int >(result
));
19329 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
= 0;
19331 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 PyObject
* obj2
= 0 ;
19344 char * kwnames
[] = {
19345 (char *) "self",(char *) "n",(char *) "imageId", NULL
19348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19350 if (!SWIG_IsOK(res1
)) {
19351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19353 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19354 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19355 if (!SWIG_IsOK(ecode2
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19358 arg2
= static_cast< size_t >(val2
);
19359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19360 if (!SWIG_IsOK(ecode3
)) {
19361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19363 arg3
= static_cast< int >(val3
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
= 0;
19381 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "self",(char *) "size", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19394 if (!SWIG_IsOK(res1
)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19397 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= SWIG_Py_Void();
19415 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
= 0;
19417 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char * kwnames
[] = {
19426 (char *) "self",(char *) "sizePage", NULL
19429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19431 if (!SWIG_IsOK(res1
)) {
19432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19434 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19452 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19453 PyObject
*resultobj
= 0;
19454 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19455 unsigned int result
;
19458 PyObject
*swig_obj
[1] ;
19460 if (!args
) SWIG_fail
;
19461 swig_obj
[0] = args
;
19462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19463 if (!SWIG_IsOK(res1
)) {
19464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19466 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19480 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
= 0;
19482 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19483 unsigned int arg2
;
19486 unsigned int val2
;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 char * kwnames
[] = {
19491 (char *) "self",(char *) "internalBorder", NULL
19494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19496 if (!SWIG_IsOK(res1
)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19499 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19500 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19501 if (!SWIG_IsOK(ecode2
)) {
19502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19504 arg2
= static_cast< unsigned int >(val2
);
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 (arg1
)->SetInternalBorder(arg2
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= SWIG_Py_Void();
19518 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19519 PyObject
*resultobj
= 0;
19520 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19524 PyObject
*swig_obj
[1] ;
19526 if (!args
) SWIG_fail
;
19527 swig_obj
[0] = args
;
19528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19529 if (!SWIG_IsOK(res1
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19532 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19548 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
= 0;
19550 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 char * kwnames
[] = {
19559 (char *) "self",(char *) "margin", NULL
19562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19564 if (!SWIG_IsOK(res1
)) {
19565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19567 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19569 if (!SWIG_IsOK(ecode2
)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19572 arg2
= static_cast< int >(val2
);
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 (arg1
)->SetControlMargin(arg2
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_Py_Void();
19586 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19587 PyObject
*resultobj
= 0;
19588 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19592 PyObject
*swig_obj
[1] ;
19594 if (!args
) SWIG_fail
;
19595 swig_obj
[0] = args
;
19596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19597 if (!SWIG_IsOK(res1
)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19600 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_From_int(static_cast< int >(result
));
19614 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= 0;
19616 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char * kwnames
[] = {
19625 (char *) "self",(char *) "fit", NULL
19628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19630 if (!SWIG_IsOK(res1
)) {
19631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19633 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19634 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19635 if (!SWIG_IsOK(ecode2
)) {
19636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19638 arg2
= static_cast< bool >(val2
);
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->SetFitToCurrentPage(arg2
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= SWIG_Py_Void();
19652 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19653 PyObject
*resultobj
= 0;
19654 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19658 PyObject
*swig_obj
[1] ;
19660 if (!args
) SWIG_fail
;
19661 swig_obj
[0] = args
;
19662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19663 if (!SWIG_IsOK(res1
)) {
19664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19666 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19682 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19683 PyObject
*resultobj
= 0;
19684 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19685 wxSizer
*result
= 0 ;
19688 PyObject
*swig_obj
[1] ;
19690 if (!args
) SWIG_fail
;
19691 swig_obj
[0] = args
;
19692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19693 if (!SWIG_IsOK(res1
)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19696 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19712 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
= 0;
19714 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 char * kwnames
[] = {
19724 (char *) "self",(char *) "n", NULL
19727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19732 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19733 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19734 if (!SWIG_IsOK(ecode2
)) {
19735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19737 arg2
= static_cast< size_t >(val2
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)(arg1
)->DeletePage(arg2
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "self",(char *) "n", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19770 if (!SWIG_IsOK(res1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19773 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19774 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19775 if (!SWIG_IsOK(ecode2
)) {
19776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19778 arg2
= static_cast< size_t >(val2
);
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (bool)(arg1
)->RemovePage(arg2
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19794 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19795 PyObject
*resultobj
= 0;
19796 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19800 PyObject
*swig_obj
[1] ;
19802 if (!args
) SWIG_fail
;
19803 swig_obj
[0] = args
;
19804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19805 if (!SWIG_IsOK(res1
)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19808 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (bool)(arg1
)->DeleteAllPages();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19824 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
= 0;
19826 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19827 wxWindow
*arg2
= (wxWindow
*) 0 ;
19828 wxString
*arg3
= 0 ;
19829 bool arg4
= (bool) false ;
19830 int arg5
= (int) -1 ;
19836 bool temp3
= false ;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 PyObject
* obj2
= 0 ;
19844 PyObject
* obj3
= 0 ;
19845 PyObject
* obj4
= 0 ;
19846 char * kwnames
[] = {
19847 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19852 if (!SWIG_IsOK(res1
)) {
19853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19855 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19857 if (!SWIG_IsOK(res2
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19860 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19862 arg3
= wxString_in_helper(obj2
);
19863 if (arg3
== NULL
) SWIG_fail
;
19867 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19868 if (!SWIG_IsOK(ecode4
)) {
19869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19871 arg4
= static_cast< bool >(val4
);
19874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19875 if (!SWIG_IsOK(ecode5
)) {
19876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19878 arg5
= static_cast< int >(val5
);
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19903 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
= 0;
19905 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19907 wxWindow
*arg3
= (wxWindow
*) 0 ;
19908 wxString
*arg4
= 0 ;
19909 bool arg5
= (bool) false ;
19910 int arg6
= (int) -1 ;
19918 bool temp4
= false ;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 PyObject
* obj2
= 0 ;
19926 PyObject
* obj3
= 0 ;
19927 PyObject
* obj4
= 0 ;
19928 PyObject
* obj5
= 0 ;
19929 char * kwnames
[] = {
19930 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19935 if (!SWIG_IsOK(res1
)) {
19936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19938 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19939 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19940 if (!SWIG_IsOK(ecode2
)) {
19941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19943 arg2
= static_cast< size_t >(val2
);
19944 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19945 if (!SWIG_IsOK(res3
)) {
19946 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19948 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19950 arg4
= wxString_in_helper(obj3
);
19951 if (arg4
== NULL
) SWIG_fail
;
19955 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19956 if (!SWIG_IsOK(ecode5
)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19959 arg5
= static_cast< bool >(val5
);
19962 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19963 if (!SWIG_IsOK(ecode6
)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19966 arg6
= static_cast< int >(val6
);
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19991 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
= 0;
19993 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 char * kwnames
[] = {
20003 (char *) "self",(char *) "n", NULL
20006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20008 if (!SWIG_IsOK(res1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20011 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20012 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20013 if (!SWIG_IsOK(ecode2
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20016 arg2
= static_cast< size_t >(val2
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (int)(arg1
)->SetSelection(arg2
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_From_int(static_cast< int >(result
));
20030 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20033 bool arg2
= (bool) true ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "self",(char *) "forward", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20049 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20052 if (!SWIG_IsOK(ecode2
)) {
20053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20055 arg2
= static_cast< bool >(val2
);
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 (arg1
)->AdvanceSelection(arg2
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_Py_Void();
20070 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
= 0;
20072 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20073 wxPoint
*arg2
= 0 ;
20074 long *arg3
= (long *) 0 ;
20080 int res3
= SWIG_TMPOBJ
;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char * kwnames
[] = {
20084 (char *) "self",(char *) "pt", NULL
20088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20093 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_From_int(static_cast< int >(result
));
20105 if (SWIG_IsTmpObj(res3
)) {
20106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20108 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20117 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
= 0;
20119 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20120 SwigValueWrapper
<wxVisualAttributes
> result
;
20123 PyObject
* obj0
= 0 ;
20124 char * kwnames
[] = {
20125 (char *) "variant", NULL
20128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20130 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20131 if (!SWIG_IsOK(ecode1
)) {
20132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20134 arg1
= static_cast< wxWindowVariant
>(val1
);
20137 if (!wxPyCheckForApp()) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20150 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20153 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20154 return SWIG_Py_Void();
20157 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
= 0;
20159 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20160 int arg2
= (int) 0 ;
20161 int arg3
= (int) -1 ;
20162 int arg4
= (int) -1 ;
20163 wxBookCtrlBaseEvent
*result
= 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 PyObject
* obj2
= 0 ;
20175 PyObject
* obj3
= 0 ;
20176 char * kwnames
[] = {
20177 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20183 if (!SWIG_IsOK(ecode1
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20186 arg1
= static_cast< wxEventType
>(val1
);
20189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20190 if (!SWIG_IsOK(ecode2
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20193 arg2
= static_cast< int >(val2
);
20196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20197 if (!SWIG_IsOK(ecode3
)) {
20198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20200 arg3
= static_cast< int >(val3
);
20203 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20204 if (!SWIG_IsOK(ecode4
)) {
20205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20207 arg4
= static_cast< int >(val4
);
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20222 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20223 PyObject
*resultobj
= 0;
20224 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20228 PyObject
*swig_obj
[1] ;
20230 if (!args
) SWIG_fail
;
20231 swig_obj
[0] = args
;
20232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20233 if (!SWIG_IsOK(res1
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20236 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_From_int(static_cast< int >(result
));
20250 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
= 0;
20252 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 char * kwnames
[] = {
20261 (char *) "self",(char *) "nSel", NULL
20264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20266 if (!SWIG_IsOK(res1
)) {
20267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20269 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20271 if (!SWIG_IsOK(ecode2
)) {
20272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20274 arg2
= static_cast< int >(val2
);
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 (arg1
)->SetSelection(arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_Py_Void();
20288 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20289 PyObject
*resultobj
= 0;
20290 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20294 PyObject
*swig_obj
[1] ;
20296 if (!args
) SWIG_fail
;
20297 swig_obj
[0] = args
;
20298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20299 if (!SWIG_IsOK(res1
)) {
20300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20302 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_From_int(static_cast< int >(result
));
20316 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
= 0;
20318 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char * kwnames
[] = {
20327 (char *) "self",(char *) "nOldSel", NULL
20330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20332 if (!SWIG_IsOK(res1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20335 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20337 if (!SWIG_IsOK(ecode2
)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20340 arg2
= static_cast< int >(val2
);
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 (arg1
)->SetOldSelection(arg2
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= SWIG_Py_Void();
20354 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20357 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20358 return SWIG_Py_Void();
20361 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20362 return SWIG_Python_InitShadowInstance(args
);
20365 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
= 0;
20367 wxWindow
*arg1
= (wxWindow
*) 0 ;
20368 int arg2
= (int) -1 ;
20369 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20370 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20371 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20372 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20373 long arg5
= (long) 0 ;
20374 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20375 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20376 wxNotebook
*result
= 0 ;
20385 bool temp6
= false ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 PyObject
* obj2
= 0 ;
20389 PyObject
* obj3
= 0 ;
20390 PyObject
* obj4
= 0 ;
20391 PyObject
* obj5
= 0 ;
20392 char * kwnames
[] = {
20393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20398 if (!SWIG_IsOK(res1
)) {
20399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20404 if (!SWIG_IsOK(ecode2
)) {
20405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20407 arg2
= static_cast< int >(val2
);
20412 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20418 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20422 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20423 if (!SWIG_IsOK(ecode5
)) {
20424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20426 arg5
= static_cast< long >(val5
);
20430 arg6
= wxString_in_helper(obj5
);
20431 if (arg6
== NULL
) SWIG_fail
;
20436 if (!wxPyCheckForApp()) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20457 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20458 PyObject
*resultobj
= 0;
20459 wxNotebook
*result
= 0 ;
20461 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20463 if (!wxPyCheckForApp()) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (wxNotebook
*)new wxNotebook();
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20476 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
= 0;
20478 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20479 wxWindow
*arg2
= (wxWindow
*) 0 ;
20480 int arg3
= (int) -1 ;
20481 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20482 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20483 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20484 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20485 long arg6
= (long) 0 ;
20486 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20499 bool temp7
= false ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 PyObject
* obj2
= 0 ;
20503 PyObject
* obj3
= 0 ;
20504 PyObject
* obj4
= 0 ;
20505 PyObject
* obj5
= 0 ;
20506 PyObject
* obj6
= 0 ;
20507 char * kwnames
[] = {
20508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20513 if (!SWIG_IsOK(res1
)) {
20514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20516 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20518 if (!SWIG_IsOK(res2
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20521 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20524 if (!SWIG_IsOK(ecode3
)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20527 arg3
= static_cast< int >(val3
);
20532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20542 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20543 if (!SWIG_IsOK(ecode6
)) {
20544 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20546 arg6
= static_cast< long >(val6
);
20550 arg7
= wxString_in_helper(obj6
);
20551 if (arg7
== NULL
) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20578 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20579 PyObject
*resultobj
= 0;
20580 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20584 PyObject
*swig_obj
[1] ;
20586 if (!args
) SWIG_fail
;
20587 swig_obj
[0] = args
;
20588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20592 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_From_int(static_cast< int >(result
));
20606 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
= 0;
20608 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 char * kwnames
[] = {
20616 (char *) "self",(char *) "padding", NULL
20619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20621 if (!SWIG_IsOK(res1
)) {
20622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20624 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_Py_Void();
20642 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char * kwnames
[] = {
20652 (char *) "self",(char *) "sz", NULL
20655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20657 if (!SWIG_IsOK(res1
)) {
20658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20660 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20663 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_Py_Void();
20678 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20679 PyObject
*resultobj
= 0;
20680 wxNotebook
*arg1
= (wxNotebook
*) 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_wxNotebook
, 0 | 0 );
20689 if (!SWIG_IsOK(res1
)) {
20690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20692 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20706 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
= 0;
20708 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20709 SwigValueWrapper
<wxVisualAttributes
> result
;
20712 PyObject
* obj0
= 0 ;
20713 char * kwnames
[] = {
20714 (char *) "variant", NULL
20717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20720 if (!SWIG_IsOK(ecode1
)) {
20721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20723 arg1
= static_cast< wxWindowVariant
>(val1
);
20726 if (!wxPyCheckForApp()) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20739 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20742 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20743 return SWIG_Py_Void();
20746 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20747 return SWIG_Python_InitShadowInstance(args
);
20750 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
= 0;
20752 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20753 int arg2
= (int) 0 ;
20754 int arg3
= (int) -1 ;
20755 int arg4
= (int) -1 ;
20756 wxNotebookEvent
*result
= 0 ;
20765 PyObject
* obj0
= 0 ;
20766 PyObject
* obj1
= 0 ;
20767 PyObject
* obj2
= 0 ;
20768 PyObject
* obj3
= 0 ;
20769 char * kwnames
[] = {
20770 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20776 if (!SWIG_IsOK(ecode1
)) {
20777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20779 arg1
= static_cast< wxEventType
>(val1
);
20782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20783 if (!SWIG_IsOK(ecode2
)) {
20784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20786 arg2
= static_cast< int >(val2
);
20789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20790 if (!SWIG_IsOK(ecode3
)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20793 arg3
= static_cast< int >(val3
);
20796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20797 if (!SWIG_IsOK(ecode4
)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20800 arg4
= static_cast< int >(val4
);
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20815 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20818 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20819 return SWIG_Py_Void();
20822 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20823 return SWIG_Python_InitShadowInstance(args
);
20826 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
= 0;
20828 wxWindow
*arg1
= (wxWindow
*) 0 ;
20829 int arg2
= (int) -1 ;
20830 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20831 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20832 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20833 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20834 long arg5
= (long) 0 ;
20835 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20836 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20837 wxListbook
*result
= 0 ;
20846 bool temp6
= false ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 PyObject
* obj2
= 0 ;
20850 PyObject
* obj3
= 0 ;
20851 PyObject
* obj4
= 0 ;
20852 PyObject
* obj5
= 0 ;
20853 char * kwnames
[] = {
20854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20859 if (!SWIG_IsOK(res1
)) {
20860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20862 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20865 if (!SWIG_IsOK(ecode2
)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20868 arg2
= static_cast< int >(val2
);
20873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20879 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20883 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20884 if (!SWIG_IsOK(ecode5
)) {
20885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20887 arg5
= static_cast< long >(val5
);
20891 arg6
= wxString_in_helper(obj5
);
20892 if (arg6
== NULL
) SWIG_fail
;
20897 if (!wxPyCheckForApp()) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20918 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20919 PyObject
*resultobj
= 0;
20920 wxListbook
*result
= 0 ;
20922 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20924 if (!wxPyCheckForApp()) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (wxListbook
*)new wxListbook();
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20937 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
= 0;
20939 wxListbook
*arg1
= (wxListbook
*) 0 ;
20940 wxWindow
*arg2
= (wxWindow
*) 0 ;
20941 int arg3
= (int) -1 ;
20942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20946 long arg6
= (long) 0 ;
20947 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20948 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20960 bool temp7
= false ;
20961 PyObject
* obj0
= 0 ;
20962 PyObject
* obj1
= 0 ;
20963 PyObject
* obj2
= 0 ;
20964 PyObject
* obj3
= 0 ;
20965 PyObject
* obj4
= 0 ;
20966 PyObject
* obj5
= 0 ;
20967 PyObject
* obj6
= 0 ;
20968 char * kwnames
[] = {
20969 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20974 if (!SWIG_IsOK(res1
)) {
20975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20977 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20979 if (!SWIG_IsOK(res2
)) {
20980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20982 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20985 if (!SWIG_IsOK(ecode3
)) {
20986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20988 arg3
= static_cast< int >(val3
);
20993 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20999 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21003 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21004 if (!SWIG_IsOK(ecode6
)) {
21005 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21007 arg6
= static_cast< long >(val6
);
21011 arg7
= wxString_in_helper(obj6
);
21012 if (arg7
== NULL
) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21039 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21040 PyObject
*resultobj
= 0;
21041 wxListbook
*arg1
= (wxListbook
*) 0 ;
21042 wxListView
*result
= 0 ;
21045 PyObject
*swig_obj
[1] ;
21047 if (!args
) SWIG_fail
;
21048 swig_obj
[0] = args
;
21049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21053 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (wxListView
*)(arg1
)->GetListView();
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21067 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21070 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21071 return SWIG_Py_Void();
21074 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21075 return SWIG_Python_InitShadowInstance(args
);
21078 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
= 0;
21080 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21081 int arg2
= (int) 0 ;
21082 int arg3
= (int) -1 ;
21083 int arg4
= (int) -1 ;
21084 wxListbookEvent
*result
= 0 ;
21093 PyObject
* obj0
= 0 ;
21094 PyObject
* obj1
= 0 ;
21095 PyObject
* obj2
= 0 ;
21096 PyObject
* obj3
= 0 ;
21097 char * kwnames
[] = {
21098 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21103 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21104 if (!SWIG_IsOK(ecode1
)) {
21105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21107 arg1
= static_cast< wxEventType
>(val1
);
21110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21111 if (!SWIG_IsOK(ecode2
)) {
21112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21114 arg2
= static_cast< int >(val2
);
21117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21118 if (!SWIG_IsOK(ecode3
)) {
21119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21121 arg3
= static_cast< int >(val3
);
21124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21125 if (!SWIG_IsOK(ecode4
)) {
21126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21128 arg4
= static_cast< int >(val4
);
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21143 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21146 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21147 return SWIG_Py_Void();
21150 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 return SWIG_Python_InitShadowInstance(args
);
21154 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
= 0;
21156 wxWindow
*arg1
= (wxWindow
*) 0 ;
21158 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21159 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21160 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21161 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21162 long arg5
= (long) 0 ;
21163 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21164 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21165 wxChoicebook
*result
= 0 ;
21174 bool temp6
= false ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 PyObject
* obj2
= 0 ;
21178 PyObject
* obj3
= 0 ;
21179 PyObject
* obj4
= 0 ;
21180 PyObject
* obj5
= 0 ;
21181 char * kwnames
[] = {
21182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21187 if (!SWIG_IsOK(res1
)) {
21188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21192 if (!SWIG_IsOK(ecode2
)) {
21193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21195 arg2
= static_cast< int >(val2
);
21199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21209 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21210 if (!SWIG_IsOK(ecode5
)) {
21211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21213 arg5
= static_cast< long >(val5
);
21217 arg6
= wxString_in_helper(obj5
);
21218 if (arg6
== NULL
) SWIG_fail
;
21223 if (!wxPyCheckForApp()) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21244 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21245 PyObject
*resultobj
= 0;
21246 wxChoicebook
*result
= 0 ;
21248 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21250 if (!wxPyCheckForApp()) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (wxChoicebook
*)new wxChoicebook();
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21263 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
= 0;
21265 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21266 wxWindow
*arg2
= (wxWindow
*) 0 ;
21268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21272 long arg6
= (long) 0 ;
21273 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21286 bool temp7
= false ;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 PyObject
* obj2
= 0 ;
21290 PyObject
* obj3
= 0 ;
21291 PyObject
* obj4
= 0 ;
21292 PyObject
* obj5
= 0 ;
21293 PyObject
* obj6
= 0 ;
21294 char * kwnames
[] = {
21295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21300 if (!SWIG_IsOK(res1
)) {
21301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21303 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21305 if (!SWIG_IsOK(res2
)) {
21306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21310 if (!SWIG_IsOK(ecode3
)) {
21311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21313 arg3
= static_cast< int >(val3
);
21317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21327 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21328 if (!SWIG_IsOK(ecode6
)) {
21329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21331 arg6
= static_cast< long >(val6
);
21335 arg7
= wxString_in_helper(obj6
);
21336 if (arg7
== NULL
) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21363 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21364 PyObject
*resultobj
= 0;
21365 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21366 wxChoice
*result
= 0 ;
21369 PyObject
*swig_obj
[1] ;
21371 if (!args
) SWIG_fail
;
21372 swig_obj
[0] = args
;
21373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21374 if (!SWIG_IsOK(res1
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21377 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21391 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21394 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21395 return SWIG_Py_Void();
21398 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21399 return SWIG_Python_InitShadowInstance(args
);
21402 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
= 0;
21404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21405 int arg2
= (int) 0 ;
21406 int arg3
= (int) -1 ;
21407 int arg4
= (int) -1 ;
21408 wxChoicebookEvent
*result
= 0 ;
21417 PyObject
* obj0
= 0 ;
21418 PyObject
* obj1
= 0 ;
21419 PyObject
* obj2
= 0 ;
21420 PyObject
* obj3
= 0 ;
21421 char * kwnames
[] = {
21422 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21428 if (!SWIG_IsOK(ecode1
)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21431 arg1
= static_cast< wxEventType
>(val1
);
21434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21435 if (!SWIG_IsOK(ecode2
)) {
21436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21438 arg2
= static_cast< int >(val2
);
21441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21442 if (!SWIG_IsOK(ecode3
)) {
21443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21445 arg3
= static_cast< int >(val3
);
21448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21449 if (!SWIG_IsOK(ecode4
)) {
21450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21452 arg4
= static_cast< int >(val4
);
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21467 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21470 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21471 return SWIG_Py_Void();
21474 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21475 return SWIG_Python_InitShadowInstance(args
);
21478 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
= 0;
21480 wxWindow
*arg1
= (wxWindow
*) 0 ;
21482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21486 long arg5
= (long) wxBK_DEFAULT
;
21487 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21488 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21489 wxTreebook
*result
= 0 ;
21498 bool temp6
= false ;
21499 PyObject
* obj0
= 0 ;
21500 PyObject
* obj1
= 0 ;
21501 PyObject
* obj2
= 0 ;
21502 PyObject
* obj3
= 0 ;
21503 PyObject
* obj4
= 0 ;
21504 PyObject
* obj5
= 0 ;
21505 char * kwnames
[] = {
21506 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21511 if (!SWIG_IsOK(res1
)) {
21512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21516 if (!SWIG_IsOK(ecode2
)) {
21517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21519 arg2
= static_cast< int >(val2
);
21523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21533 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21534 if (!SWIG_IsOK(ecode5
)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21537 arg5
= static_cast< long >(val5
);
21541 arg6
= wxString_in_helper(obj5
);
21542 if (arg6
== NULL
) SWIG_fail
;
21547 if (!wxPyCheckForApp()) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21568 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21569 PyObject
*resultobj
= 0;
21570 wxTreebook
*result
= 0 ;
21572 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21574 if (!wxPyCheckForApp()) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (wxTreebook
*)new wxTreebook();
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21587 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
= 0;
21589 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21590 wxWindow
*arg2
= (wxWindow
*) 0 ;
21592 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21593 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21594 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21595 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21596 long arg6
= (long) wxBK_DEFAULT
;
21597 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21598 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21610 bool temp7
= false ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 PyObject
* obj2
= 0 ;
21614 PyObject
* obj3
= 0 ;
21615 PyObject
* obj4
= 0 ;
21616 PyObject
* obj5
= 0 ;
21617 PyObject
* obj6
= 0 ;
21618 char * kwnames
[] = {
21619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21624 if (!SWIG_IsOK(res1
)) {
21625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21627 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21629 if (!SWIG_IsOK(res2
)) {
21630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21632 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21634 if (!SWIG_IsOK(ecode3
)) {
21635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21637 arg3
= static_cast< int >(val3
);
21641 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21647 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21651 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21652 if (!SWIG_IsOK(ecode6
)) {
21653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21655 arg6
= static_cast< long >(val6
);
21659 arg7
= wxString_in_helper(obj6
);
21660 if (arg7
== NULL
) SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21687 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
= 0;
21689 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21691 wxWindow
*arg3
= (wxWindow
*) 0 ;
21692 wxString
*arg4
= 0 ;
21693 bool arg5
= (bool) false ;
21694 int arg6
= (int) wxNOT_FOUND
;
21702 bool temp4
= false ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 PyObject
* obj2
= 0 ;
21710 PyObject
* obj3
= 0 ;
21711 PyObject
* obj4
= 0 ;
21712 PyObject
* obj5
= 0 ;
21713 char * kwnames
[] = {
21714 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21719 if (!SWIG_IsOK(res1
)) {
21720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21722 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21723 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21724 if (!SWIG_IsOK(ecode2
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21727 arg2
= static_cast< size_t >(val2
);
21728 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21729 if (!SWIG_IsOK(res3
)) {
21730 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21732 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21734 arg4
= wxString_in_helper(obj3
);
21735 if (arg4
== NULL
) SWIG_fail
;
21739 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21740 if (!SWIG_IsOK(ecode5
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21743 arg5
= static_cast< bool >(val5
);
21746 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21747 if (!SWIG_IsOK(ecode6
)) {
21748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21750 arg6
= static_cast< int >(val6
);
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21775 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
= 0;
21777 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21778 wxWindow
*arg2
= (wxWindow
*) 0 ;
21779 wxString
*arg3
= 0 ;
21780 bool arg4
= (bool) false ;
21781 int arg5
= (int) wxNOT_FOUND
;
21787 bool temp3
= false ;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 PyObject
* obj3
= 0 ;
21796 PyObject
* obj4
= 0 ;
21797 char * kwnames
[] = {
21798 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21803 if (!SWIG_IsOK(res1
)) {
21804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21806 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21808 if (!SWIG_IsOK(res2
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21813 arg3
= wxString_in_helper(obj2
);
21814 if (arg3
== NULL
) SWIG_fail
;
21818 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21819 if (!SWIG_IsOK(ecode4
)) {
21820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21822 arg4
= static_cast< bool >(val4
);
21825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21826 if (!SWIG_IsOK(ecode5
)) {
21827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21829 arg5
= static_cast< int >(val5
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21854 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
= 0;
21856 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 char * kwnames
[] = {
21866 (char *) "self",(char *) "pos", NULL
21869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21871 if (!SWIG_IsOK(res1
)) {
21872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21874 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21875 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21876 if (!SWIG_IsOK(ecode2
)) {
21877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21879 arg2
= static_cast< size_t >(val2
);
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21895 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
= 0;
21897 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21899 bool arg3
= (bool) true ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 PyObject
* obj2
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "self",(char *) "pos",(char *) "expand", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21919 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21920 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21921 if (!SWIG_IsOK(ecode2
)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21924 arg2
= static_cast< size_t >(val2
);
21926 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21927 if (!SWIG_IsOK(ecode3
)) {
21928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21930 arg3
= static_cast< bool >(val3
);
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21947 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
= 0;
21949 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 char * kwnames
[] = {
21959 (char *) "self",(char *) "pos", NULL
21962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21967 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21968 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21969 if (!SWIG_IsOK(ecode2
)) {
21970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21972 arg2
= static_cast< size_t >(val2
);
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (bool)(arg1
)->CollapseNode(arg2
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21988 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
= 0;
21990 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char * kwnames
[] = {
22000 (char *) "self",(char *) "pos", NULL
22003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22005 if (!SWIG_IsOK(res1
)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22008 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22009 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22010 if (!SWIG_IsOK(ecode2
)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22013 arg2
= static_cast< size_t >(val2
);
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_From_int(static_cast< int >(result
));
22027 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22028 PyObject
*resultobj
= 0;
22029 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22030 wxTreeCtrl
*result
= 0 ;
22033 PyObject
*swig_obj
[1] ;
22035 if (!args
) SWIG_fail
;
22036 swig_obj
[0] = args
;
22037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22038 if (!SWIG_IsOK(res1
)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22041 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22055 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22058 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22059 return SWIG_Py_Void();
22062 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22063 return SWIG_Python_InitShadowInstance(args
);
22066 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
= 0;
22068 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22069 int arg2
= (int) 0 ;
22070 int arg3
= (int) wxNOT_FOUND
;
22071 int arg4
= (int) wxNOT_FOUND
;
22072 wxTreebookEvent
*result
= 0 ;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 PyObject
* obj2
= 0 ;
22084 PyObject
* obj3
= 0 ;
22085 char * kwnames
[] = {
22086 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22092 if (!SWIG_IsOK(ecode1
)) {
22093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22095 arg1
= static_cast< wxEventType
>(val1
);
22098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22099 if (!SWIG_IsOK(ecode2
)) {
22100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22102 arg2
= static_cast< int >(val2
);
22105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22106 if (!SWIG_IsOK(ecode3
)) {
22107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22109 arg3
= static_cast< int >(val3
);
22112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22113 if (!SWIG_IsOK(ecode4
)) {
22114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22116 arg4
= static_cast< int >(val4
);
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22131 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22134 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22135 return SWIG_Py_Void();
22138 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22139 return SWIG_Python_InitShadowInstance(args
);
22142 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
= 0;
22144 wxWindow
*arg1
= (wxWindow
*) 0 ;
22146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22150 long arg5
= (long) wxBK_DEFAULT
;
22151 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22152 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22153 wxToolbook
*result
= 0 ;
22162 bool temp6
= false ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 PyObject
* obj2
= 0 ;
22166 PyObject
* obj3
= 0 ;
22167 PyObject
* obj4
= 0 ;
22168 PyObject
* obj5
= 0 ;
22169 char * kwnames
[] = {
22170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22175 if (!SWIG_IsOK(res1
)) {
22176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22180 if (!SWIG_IsOK(ecode2
)) {
22181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22183 arg2
= static_cast< int >(val2
);
22187 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22193 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22197 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22198 if (!SWIG_IsOK(ecode5
)) {
22199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22201 arg5
= static_cast< long >(val5
);
22205 arg6
= wxString_in_helper(obj5
);
22206 if (arg6
== NULL
) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22231 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22232 PyObject
*resultobj
= 0;
22233 wxToolbook
*result
= 0 ;
22235 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (wxToolbook
*)new wxToolbook();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22249 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
= 0;
22251 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22252 wxWindow
*arg2
= (wxWindow
*) 0 ;
22254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22258 long arg6
= (long) 0 ;
22259 wxString
const &arg7_defvalue
= wxEmptyString
;
22260 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22272 bool temp7
= false ;
22273 PyObject
* obj0
= 0 ;
22274 PyObject
* obj1
= 0 ;
22275 PyObject
* obj2
= 0 ;
22276 PyObject
* obj3
= 0 ;
22277 PyObject
* obj4
= 0 ;
22278 PyObject
* obj5
= 0 ;
22279 PyObject
* obj6
= 0 ;
22280 char * kwnames
[] = {
22281 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22286 if (!SWIG_IsOK(res1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22289 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22291 if (!SWIG_IsOK(res2
)) {
22292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22296 if (!SWIG_IsOK(ecode3
)) {
22297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22299 arg3
= static_cast< int >(val3
);
22303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22313 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22314 if (!SWIG_IsOK(ecode6
)) {
22315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22317 arg6
= static_cast< long >(val6
);
22321 arg7
= wxString_in_helper(obj6
);
22322 if (arg7
== NULL
) SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22349 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22350 PyObject
*resultobj
= 0;
22351 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22352 wxToolBarBase
*result
= 0 ;
22355 PyObject
*swig_obj
[1] ;
22357 if (!args
) SWIG_fail
;
22358 swig_obj
[0] = args
;
22359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22360 if (!SWIG_IsOK(res1
)) {
22361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22363 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22379 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22380 PyObject
*resultobj
= 0;
22381 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22392 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_Py_Void();
22406 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22409 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22410 return SWIG_Py_Void();
22413 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22414 return SWIG_Python_InitShadowInstance(args
);
22417 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
= 0;
22419 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22420 int arg2
= (int) 0 ;
22421 int arg3
= (int) wxNOT_FOUND
;
22422 int arg4
= (int) wxNOT_FOUND
;
22423 wxToolbookEvent
*result
= 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 PyObject
* obj2
= 0 ;
22435 PyObject
* obj3
= 0 ;
22436 char * kwnames
[] = {
22437 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22443 if (!SWIG_IsOK(ecode1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22446 arg1
= static_cast< wxEventType
>(val1
);
22449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22450 if (!SWIG_IsOK(ecode2
)) {
22451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22453 arg2
= static_cast< int >(val2
);
22456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22457 if (!SWIG_IsOK(ecode3
)) {
22458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22460 arg3
= static_cast< int >(val3
);
22463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22464 if (!SWIG_IsOK(ecode4
)) {
22465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22467 arg4
= static_cast< int >(val4
);
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22482 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22485 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22486 return SWIG_Py_Void();
22489 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22490 return SWIG_Python_InitShadowInstance(args
);
22493 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22494 PyObject
*resultobj
= 0;
22495 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22499 PyObject
*swig_obj
[1] ;
22501 if (!args
) SWIG_fail
;
22502 swig_obj
[0] = args
;
22503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22504 if (!SWIG_IsOK(res1
)) {
22505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22507 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (int)(arg1
)->GetId();
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= SWIG_From_int(static_cast< int >(result
));
22521 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22522 PyObject
*resultobj
= 0;
22523 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22524 wxControl
*result
= 0 ;
22527 PyObject
*swig_obj
[1] ;
22529 if (!args
) SWIG_fail
;
22530 swig_obj
[0] = args
;
22531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22535 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (wxControl
*)(arg1
)->GetControl();
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= wxPyMake_wxObject(result
, 0);
22551 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22552 PyObject
*resultobj
= 0;
22553 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22554 wxToolBarBase
*result
= 0 ;
22557 PyObject
*swig_obj
[1] ;
22559 if (!args
) SWIG_fail
;
22560 swig_obj
[0] = args
;
22561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22562 if (!SWIG_IsOK(res1
)) {
22563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22565 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22581 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22582 PyObject
*resultobj
= 0;
22583 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22587 PyObject
*swig_obj
[1] ;
22589 if (!args
) SWIG_fail
;
22590 swig_obj
[0] = args
;
22591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22592 if (!SWIG_IsOK(res1
)) {
22593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22595 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 result
= (int)(arg1
)->IsButton();
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= SWIG_From_int(static_cast< int >(result
));
22609 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22610 PyObject
*resultobj
= 0;
22611 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22615 PyObject
*swig_obj
[1] ;
22617 if (!args
) SWIG_fail
;
22618 swig_obj
[0] = args
;
22619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22620 if (!SWIG_IsOK(res1
)) {
22621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22623 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 result
= (int)(arg1
)->IsControl();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_From_int(static_cast< int >(result
));
22637 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22638 PyObject
*resultobj
= 0;
22639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22643 PyObject
*swig_obj
[1] ;
22645 if (!args
) SWIG_fail
;
22646 swig_obj
[0] = args
;
22647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22648 if (!SWIG_IsOK(res1
)) {
22649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22651 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= (int)(arg1
)->IsSeparator();
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= SWIG_From_int(static_cast< int >(result
));
22665 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22666 PyObject
*resultobj
= 0;
22667 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22671 PyObject
*swig_obj
[1] ;
22673 if (!args
) SWIG_fail
;
22674 swig_obj
[0] = args
;
22675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22676 if (!SWIG_IsOK(res1
)) {
22677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22679 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (int)(arg1
)->GetStyle();
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= SWIG_From_int(static_cast< int >(result
));
22693 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22694 PyObject
*resultobj
= 0;
22695 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22699 PyObject
*swig_obj
[1] ;
22701 if (!args
) SWIG_fail
;
22702 swig_obj
[0] = args
;
22703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22704 if (!SWIG_IsOK(res1
)) {
22705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22707 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (wxItemKind
)(arg1
)->GetKind();
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= SWIG_From_int(static_cast< int >(result
));
22721 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22722 PyObject
*resultobj
= 0;
22723 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22727 PyObject
*swig_obj
[1] ;
22729 if (!args
) SWIG_fail
;
22730 swig_obj
[0] = args
;
22731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22732 if (!SWIG_IsOK(res1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22735 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (bool)(arg1
)->IsEnabled();
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22751 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22752 PyObject
*resultobj
= 0;
22753 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22757 PyObject
*swig_obj
[1] ;
22759 if (!args
) SWIG_fail
;
22760 swig_obj
[0] = args
;
22761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22762 if (!SWIG_IsOK(res1
)) {
22763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22765 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= (bool)(arg1
)->IsToggled();
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22781 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22782 PyObject
*resultobj
= 0;
22783 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22787 PyObject
*swig_obj
[1] ;
22789 if (!args
) SWIG_fail
;
22790 swig_obj
[0] = args
;
22791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22795 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= (bool)(arg1
)->CanBeToggled();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22811 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22812 PyObject
*resultobj
= 0;
22813 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22814 wxBitmap
*result
= 0 ;
22817 PyObject
*swig_obj
[1] ;
22819 if (!args
) SWIG_fail
;
22820 swig_obj
[0] = args
;
22821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22822 if (!SWIG_IsOK(res1
)) {
22823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22825 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22830 result
= (wxBitmap
*) &_result_ref
;
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 wxBitmap
* resultptr
= new wxBitmap(*result
);
22837 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22845 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22846 PyObject
*resultobj
= 0;
22847 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22848 wxBitmap
*result
= 0 ;
22851 PyObject
*swig_obj
[1] ;
22853 if (!args
) SWIG_fail
;
22854 swig_obj
[0] = args
;
22855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22856 if (!SWIG_IsOK(res1
)) {
22857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22859 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22864 result
= (wxBitmap
*) &_result_ref
;
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 wxBitmap
* resultptr
= new wxBitmap(*result
);
22871 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22879 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22880 PyObject
*resultobj
= 0;
22881 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22885 PyObject
*swig_obj
[1] ;
22887 if (!args
) SWIG_fail
;
22888 swig_obj
[0] = args
;
22889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22890 if (!SWIG_IsOK(res1
)) {
22891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22893 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (arg1
)->GetBitmap();
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22907 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22908 PyObject
*resultobj
= 0;
22909 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22913 PyObject
*swig_obj
[1] ;
22915 if (!args
) SWIG_fail
;
22916 swig_obj
[0] = args
;
22917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22918 if (!SWIG_IsOK(res1
)) {
22919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22921 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 result
= (arg1
)->GetLabel();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22941 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22942 PyObject
*resultobj
= 0;
22943 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22947 PyObject
*swig_obj
[1] ;
22949 if (!args
) SWIG_fail
;
22950 swig_obj
[0] = args
;
22951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22952 if (!SWIG_IsOK(res1
)) {
22953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22955 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (arg1
)->GetShortHelp();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22975 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(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_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22989 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (arg1
)->GetLongHelp();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23009 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
= 0;
23011 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 char * kwnames
[] = {
23021 (char *) "self",(char *) "enable", NULL
23024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23026 if (!SWIG_IsOK(res1
)) {
23027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23029 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23030 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23031 if (!SWIG_IsOK(ecode2
)) {
23032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23034 arg2
= static_cast< bool >(val2
);
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (bool)(arg1
)->Enable(arg2
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23050 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23051 PyObject
*resultobj
= 0;
23052 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23055 PyObject
*swig_obj
[1] ;
23057 if (!args
) SWIG_fail
;
23058 swig_obj
[0] = args
;
23059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23060 if (!SWIG_IsOK(res1
)) {
23061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23063 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= SWIG_Py_Void();
23077 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
= 0;
23079 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23086 PyObject
* obj0
= 0 ;
23087 PyObject
* obj1
= 0 ;
23088 char * kwnames
[] = {
23089 (char *) "self",(char *) "toggle", NULL
23092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23094 if (!SWIG_IsOK(res1
)) {
23095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23097 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23098 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23099 if (!SWIG_IsOK(ecode2
)) {
23100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23102 arg2
= static_cast< bool >(val2
);
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= (bool)(arg1
)->SetToggle(arg2
);
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23118 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
= 0;
23120 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23121 wxString
*arg2
= 0 ;
23125 bool temp2
= false ;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char * kwnames
[] = {
23129 (char *) "self",(char *) "help", NULL
23132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23137 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23139 arg2
= wxString_in_helper(obj1
);
23140 if (arg2
== NULL
) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23166 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
= 0;
23168 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23169 wxString
*arg2
= 0 ;
23173 bool temp2
= false ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 char * kwnames
[] = {
23177 (char *) "self",(char *) "help", NULL
23180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23182 if (!SWIG_IsOK(res1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23185 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23187 arg2
= wxString_in_helper(obj1
);
23188 if (arg2
== NULL
) SWIG_fail
;
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23214 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
= 0;
23216 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23217 wxBitmap
*arg2
= 0 ;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char * kwnames
[] = {
23225 (char *) "self",(char *) "bmp", NULL
23228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23230 if (!SWIG_IsOK(res1
)) {
23231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23233 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23235 if (!SWIG_IsOK(res2
)) {
23236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23241 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_Py_Void();
23255 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
= 0;
23257 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23258 wxBitmap
*arg2
= 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 char * kwnames
[] = {
23266 (char *) "self",(char *) "bmp", NULL
23269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23271 if (!SWIG_IsOK(res1
)) {
23272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23274 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23276 if (!SWIG_IsOK(res2
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23282 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= SWIG_Py_Void();
23296 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
= 0;
23298 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23299 wxString
*arg2
= 0 ;
23302 bool temp2
= false ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char * kwnames
[] = {
23306 (char *) "self",(char *) "label", NULL
23309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23311 if (!SWIG_IsOK(res1
)) {
23312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23314 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23316 arg2
= wxString_in_helper(obj1
);
23317 if (arg2
== NULL
) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 (arg1
)->SetLabel((wxString
const &)*arg2
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= SWIG_Py_Void();
23341 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23342 PyObject
*resultobj
= 0;
23343 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23346 PyObject
*swig_obj
[1] ;
23348 if (!args
) SWIG_fail
;
23349 swig_obj
[0] = args
;
23350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23351 if (!SWIG_IsOK(res1
)) {
23352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23354 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= SWIG_Py_Void();
23368 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
= 0;
23370 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23371 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "self",(char *) "tbar", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23387 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23389 if (!SWIG_IsOK(res2
)) {
23390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23392 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 (arg1
)->Attach(arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= SWIG_Py_Void();
23406 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23407 PyObject
*resultobj
= 0;
23408 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23409 PyObject
*result
= 0 ;
23412 PyObject
*swig_obj
[1] ;
23414 if (!args
) SWIG_fail
;
23415 swig_obj
[0] = args
;
23416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23420 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= result
;
23434 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
= 0;
23436 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23437 PyObject
*arg2
= (PyObject
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 char * kwnames
[] = {
23443 (char *) "self",(char *) "clientData", NULL
23446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23448 if (!SWIG_IsOK(res1
)) {
23449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23451 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_Py_Void();
23466 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23469 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23470 return SWIG_Py_Void();
23473 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
= 0;
23475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23477 wxString
*arg3
= 0 ;
23478 wxBitmap
*arg4
= 0 ;
23479 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23480 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23481 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23482 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23484 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23485 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23486 PyObject
*arg9
= (PyObject
*) NULL
;
23487 wxToolBarToolBase
*result
= 0 ;
23492 bool temp3
= false ;
23499 bool temp7
= false ;
23500 bool temp8
= false ;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 PyObject
* obj2
= 0 ;
23504 PyObject
* obj3
= 0 ;
23505 PyObject
* obj4
= 0 ;
23506 PyObject
* obj5
= 0 ;
23507 PyObject
* obj6
= 0 ;
23508 PyObject
* obj7
= 0 ;
23509 PyObject
* obj8
= 0 ;
23510 char * kwnames
[] = {
23511 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23519 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23521 if (!SWIG_IsOK(ecode2
)) {
23522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23524 arg2
= static_cast< int >(val2
);
23526 arg3
= wxString_in_helper(obj2
);
23527 if (arg3
== NULL
) SWIG_fail
;
23530 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23531 if (!SWIG_IsOK(res4
)) {
23532 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23537 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23539 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23540 if (!SWIG_IsOK(res5
)) {
23541 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23546 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23549 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23550 if (!SWIG_IsOK(ecode6
)) {
23551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23553 arg6
= static_cast< wxItemKind
>(val6
);
23557 arg7
= wxString_in_helper(obj6
);
23558 if (arg7
== NULL
) SWIG_fail
;
23564 arg8
= wxString_in_helper(obj7
);
23565 if (arg8
== NULL
) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23611 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
= 0;
23613 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23616 wxString
*arg4
= 0 ;
23617 wxBitmap
*arg5
= 0 ;
23618 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23619 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23620 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23621 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23623 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23624 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23625 PyObject
*arg10
= (PyObject
*) NULL
;
23626 wxToolBarToolBase
*result
= 0 ;
23633 bool temp4
= false ;
23640 bool temp8
= false ;
23641 bool temp9
= false ;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 PyObject
* obj2
= 0 ;
23645 PyObject
* obj3
= 0 ;
23646 PyObject
* obj4
= 0 ;
23647 PyObject
* obj5
= 0 ;
23648 PyObject
* obj6
= 0 ;
23649 PyObject
* obj7
= 0 ;
23650 PyObject
* obj8
= 0 ;
23651 PyObject
* obj9
= 0 ;
23652 char * kwnames
[] = {
23653 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23661 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23662 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23663 if (!SWIG_IsOK(ecode2
)) {
23664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23666 arg2
= static_cast< size_t >(val2
);
23667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23668 if (!SWIG_IsOK(ecode3
)) {
23669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23671 arg3
= static_cast< int >(val3
);
23673 arg4
= wxString_in_helper(obj3
);
23674 if (arg4
== NULL
) SWIG_fail
;
23677 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23678 if (!SWIG_IsOK(res5
)) {
23679 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23684 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23686 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23687 if (!SWIG_IsOK(res6
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23693 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23696 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23697 if (!SWIG_IsOK(ecode7
)) {
23698 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23700 arg7
= static_cast< wxItemKind
>(val7
);
23704 arg8
= wxString_in_helper(obj7
);
23705 if (arg8
== NULL
) SWIG_fail
;
23711 arg9
= wxString_in_helper(obj8
);
23712 if (arg9
== NULL
) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23758 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
= 0;
23760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23761 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23762 wxToolBarToolBase
*result
= 0 ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 char * kwnames
[] = {
23770 (char *) "self",(char *) "tool", NULL
23773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23778 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23780 if (!SWIG_IsOK(res2
)) {
23781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23783 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23799 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
= 0;
23801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23803 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23804 wxToolBarToolBase
*result
= 0 ;
23811 PyObject
* obj0
= 0 ;
23812 PyObject
* obj1
= 0 ;
23813 PyObject
* obj2
= 0 ;
23814 char * kwnames
[] = {
23815 (char *) "self",(char *) "pos",(char *) "tool", NULL
23818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23820 if (!SWIG_IsOK(res1
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23823 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23824 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23825 if (!SWIG_IsOK(ecode2
)) {
23826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23828 arg2
= static_cast< size_t >(val2
);
23829 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23830 if (!SWIG_IsOK(res3
)) {
23831 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23833 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23849 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
= 0;
23851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23852 wxControl
*arg2
= (wxControl
*) 0 ;
23853 wxToolBarToolBase
*result
= 0 ;
23858 PyObject
* obj0
= 0 ;
23859 PyObject
* obj1
= 0 ;
23860 char * kwnames
[] = {
23861 (char *) "self",(char *) "control", NULL
23864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23866 if (!SWIG_IsOK(res1
)) {
23867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23869 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23871 if (!SWIG_IsOK(res2
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23874 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23890 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
= 0;
23892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23894 wxControl
*arg3
= (wxControl
*) 0 ;
23895 wxToolBarToolBase
*result
= 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 PyObject
* obj2
= 0 ;
23905 char * kwnames
[] = {
23906 (char *) "self",(char *) "pos",(char *) "control", NULL
23909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23911 if (!SWIG_IsOK(res1
)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23914 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23915 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23916 if (!SWIG_IsOK(ecode2
)) {
23917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23919 arg2
= static_cast< size_t >(val2
);
23920 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23921 if (!SWIG_IsOK(res3
)) {
23922 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23924 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23932 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23940 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
= 0;
23942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23944 wxControl
*result
= 0 ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 char * kwnames
[] = {
23952 (char *) "self",(char *) "id", NULL
23955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23957 if (!SWIG_IsOK(res1
)) {
23958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23960 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23962 if (!SWIG_IsOK(ecode2
)) {
23963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23965 arg2
= static_cast< int >(val2
);
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= wxPyMake_wxObject(result
, 0);
23981 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23982 PyObject
*resultobj
= 0;
23983 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23984 wxToolBarToolBase
*result
= 0 ;
23987 PyObject
*swig_obj
[1] ;
23989 if (!args
) SWIG_fail
;
23990 swig_obj
[0] = args
;
23991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23992 if (!SWIG_IsOK(res1
)) {
23993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23995 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24011 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
= 0;
24013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24015 wxToolBarToolBase
*result
= 0 ;
24020 PyObject
* obj0
= 0 ;
24021 PyObject
* obj1
= 0 ;
24022 char * kwnames
[] = {
24023 (char *) "self",(char *) "pos", NULL
24026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24032 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24033 if (!SWIG_IsOK(ecode2
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24036 arg2
= static_cast< size_t >(val2
);
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24052 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
= 0;
24054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24056 wxToolBarToolBase
*result
= 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 char * kwnames
[] = {
24064 (char *) "self",(char *) "id", NULL
24067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24069 if (!SWIG_IsOK(res1
)) {
24070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24072 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24074 if (!SWIG_IsOK(ecode2
)) {
24075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24077 arg2
= static_cast< int >(val2
);
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24093 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char * kwnames
[] = {
24105 (char *) "self",(char *) "pos", NULL
24108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24110 if (!SWIG_IsOK(res1
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24113 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24114 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24115 if (!SWIG_IsOK(ecode2
)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24118 arg2
= static_cast< size_t >(val2
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24134 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
= 0;
24136 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char * kwnames
[] = {
24146 (char *) "self",(char *) "id", NULL
24149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24151 if (!SWIG_IsOK(res1
)) {
24152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24154 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24156 if (!SWIG_IsOK(ecode2
)) {
24157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24159 arg2
= static_cast< int >(val2
);
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (bool)(arg1
)->DeleteTool(arg2
);
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24175 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24176 PyObject
*resultobj
= 0;
24177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24180 PyObject
*swig_obj
[1] ;
24182 if (!args
) SWIG_fail
;
24183 swig_obj
[0] = args
;
24184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24185 if (!SWIG_IsOK(res1
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24188 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 (arg1
)->ClearTools();
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_Py_Void();
24202 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24203 PyObject
*resultobj
= 0;
24204 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24208 PyObject
*swig_obj
[1] ;
24210 if (!args
) SWIG_fail
;
24211 swig_obj
[0] = args
;
24212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24213 if (!SWIG_IsOK(res1
)) {
24214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24216 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (bool)(arg1
)->Realize();
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24232 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
= 0;
24234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 PyObject
* obj1
= 0 ;
24245 PyObject
* obj2
= 0 ;
24246 char * kwnames
[] = {
24247 (char *) "self",(char *) "id",(char *) "enable", NULL
24250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24252 if (!SWIG_IsOK(res1
)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24255 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24257 if (!SWIG_IsOK(ecode2
)) {
24258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24260 arg2
= static_cast< int >(val2
);
24261 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24262 if (!SWIG_IsOK(ecode3
)) {
24263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24265 arg3
= static_cast< bool >(val3
);
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 (arg1
)->EnableTool(arg2
,arg3
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_Py_Void();
24279 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
= 0;
24281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 PyObject
* obj2
= 0 ;
24293 char * kwnames
[] = {
24294 (char *) "self",(char *) "id",(char *) "toggle", NULL
24297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24299 if (!SWIG_IsOK(res1
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24302 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24304 if (!SWIG_IsOK(ecode2
)) {
24305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24307 arg2
= static_cast< int >(val2
);
24308 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24309 if (!SWIG_IsOK(ecode3
)) {
24310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24312 arg3
= static_cast< bool >(val3
);
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 (arg1
)->ToggleTool(arg2
,arg3
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 resultobj
= SWIG_Py_Void();
24326 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
= 0;
24328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 PyObject
* obj2
= 0 ;
24340 char * kwnames
[] = {
24341 (char *) "self",(char *) "id",(char *) "toggle", NULL
24344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24346 if (!SWIG_IsOK(res1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24349 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24351 if (!SWIG_IsOK(ecode2
)) {
24352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24354 arg2
= static_cast< int >(val2
);
24355 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24356 if (!SWIG_IsOK(ecode3
)) {
24357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24359 arg3
= static_cast< bool >(val3
);
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 (arg1
)->SetToggle(arg2
,arg3
);
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= SWIG_Py_Void();
24373 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
= 0;
24375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24377 PyObject
*result
= 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 char * kwnames
[] = {
24385 (char *) "self",(char *) "id", NULL
24388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24390 if (!SWIG_IsOK(res1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24393 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24395 if (!SWIG_IsOK(ecode2
)) {
24396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24398 arg2
= static_cast< int >(val2
);
24400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= result
;
24412 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
= 0;
24414 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24416 PyObject
*arg3
= (PyObject
*) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 PyObject
* obj2
= 0 ;
24424 char * kwnames
[] = {
24425 (char *) "self",(char *) "id",(char *) "clientData", NULL
24428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24430 if (!SWIG_IsOK(res1
)) {
24431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24433 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24435 if (!SWIG_IsOK(ecode2
)) {
24436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24438 arg2
= static_cast< int >(val2
);
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= SWIG_Py_Void();
24453 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
= 0;
24455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 char * kwnames
[] = {
24465 (char *) "self",(char *) "id", NULL
24468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24470 if (!SWIG_IsOK(res1
)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24473 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24475 if (!SWIG_IsOK(ecode2
)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24478 arg2
= static_cast< int >(val2
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_From_int(static_cast< int >(result
));
24492 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 char * kwnames
[] = {
24504 (char *) "self",(char *) "id", NULL
24507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24509 if (!SWIG_IsOK(res1
)) {
24510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24512 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24514 if (!SWIG_IsOK(ecode2
)) {
24515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24517 arg2
= static_cast< int >(val2
);
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (bool)(arg1
)->GetToolState(arg2
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24533 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
= 0;
24535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 PyObject
* obj1
= 0 ;
24544 char * kwnames
[] = {
24545 (char *) "self",(char *) "id", NULL
24548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24550 if (!SWIG_IsOK(res1
)) {
24551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24553 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24555 if (!SWIG_IsOK(ecode2
)) {
24556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24558 arg2
= static_cast< int >(val2
);
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24574 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
= 0;
24576 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24578 wxString
*arg3
= 0 ;
24583 bool temp3
= false ;
24584 PyObject
* obj0
= 0 ;
24585 PyObject
* obj1
= 0 ;
24586 PyObject
* obj2
= 0 ;
24587 char * kwnames
[] = {
24588 (char *) "self",(char *) "id",(char *) "helpString", NULL
24591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24593 if (!SWIG_IsOK(res1
)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24596 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24598 if (!SWIG_IsOK(ecode2
)) {
24599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24601 arg2
= static_cast< int >(val2
);
24603 arg3
= wxString_in_helper(obj2
);
24604 if (arg3
== NULL
) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= SWIG_Py_Void();
24628 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
= 0;
24630 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char * kwnames
[] = {
24640 (char *) "self",(char *) "id", NULL
24643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24645 if (!SWIG_IsOK(res1
)) {
24646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24648 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24650 if (!SWIG_IsOK(ecode2
)) {
24651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24653 arg2
= static_cast< int >(val2
);
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= (arg1
)->GetToolShortHelp(arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24673 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
= 0;
24675 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24677 wxString
*arg3
= 0 ;
24682 bool temp3
= false ;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 PyObject
* obj2
= 0 ;
24686 char * kwnames
[] = {
24687 (char *) "self",(char *) "id",(char *) "helpString", NULL
24690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24692 if (!SWIG_IsOK(res1
)) {
24693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24695 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24697 if (!SWIG_IsOK(ecode2
)) {
24698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24700 arg2
= static_cast< int >(val2
);
24702 arg3
= wxString_in_helper(obj2
);
24703 if (arg3
== NULL
) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= SWIG_Py_Void();
24727 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
= 0;
24729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char * kwnames
[] = {
24739 (char *) "self",(char *) "id", NULL
24742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24744 if (!SWIG_IsOK(res1
)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24747 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24749 if (!SWIG_IsOK(ecode2
)) {
24750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24752 arg2
= static_cast< int >(val2
);
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (arg1
)->GetToolLongHelp(arg2
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24772 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
= 0;
24774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 PyObject
* obj2
= 0 ;
24786 char * kwnames
[] = {
24787 (char *) "self",(char *) "x",(char *) "y", NULL
24790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24792 if (!SWIG_IsOK(res1
)) {
24793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24795 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24797 if (!SWIG_IsOK(ecode2
)) {
24798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24800 arg2
= static_cast< int >(val2
);
24801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24802 if (!SWIG_IsOK(ecode3
)) {
24803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24805 arg3
= static_cast< int >(val3
);
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 (arg1
)->SetMargins(arg2
,arg3
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= SWIG_Py_Void();
24819 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
= 0;
24821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24826 PyObject
* obj0
= 0 ;
24827 PyObject
* obj1
= 0 ;
24828 char * kwnames
[] = {
24829 (char *) "self",(char *) "size", NULL
24832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24834 if (!SWIG_IsOK(res1
)) {
24835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24837 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24840 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= SWIG_Py_Void();
24855 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
= 0;
24857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char * kwnames
[] = {
24866 (char *) "self",(char *) "packing", NULL
24869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24871 if (!SWIG_IsOK(res1
)) {
24872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24874 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24876 if (!SWIG_IsOK(ecode2
)) {
24877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24879 arg2
= static_cast< int >(val2
);
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 (arg1
)->SetToolPacking(arg2
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= SWIG_Py_Void();
24893 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
= 0;
24895 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char * kwnames
[] = {
24904 (char *) "self",(char *) "separation", NULL
24907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24909 if (!SWIG_IsOK(res1
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24912 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24914 if (!SWIG_IsOK(ecode2
)) {
24915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24917 arg2
= static_cast< int >(val2
);
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 (arg1
)->SetToolSeparation(arg2
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_Py_Void();
24931 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24932 PyObject
*resultobj
= 0;
24933 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24937 PyObject
*swig_obj
[1] ;
24939 if (!args
) SWIG_fail
;
24940 swig_obj
[0] = args
;
24941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24942 if (!SWIG_IsOK(res1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24945 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (arg1
)->GetToolMargins();
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24959 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24960 PyObject
*resultobj
= 0;
24961 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24965 PyObject
*swig_obj
[1] ;
24967 if (!args
) SWIG_fail
;
24968 swig_obj
[0] = args
;
24969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24970 if (!SWIG_IsOK(res1
)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24973 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (arg1
)->GetMargins();
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24987 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24988 PyObject
*resultobj
= 0;
24989 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24993 PyObject
*swig_obj
[1] ;
24995 if (!args
) SWIG_fail
;
24996 swig_obj
[0] = args
;
24997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24998 if (!SWIG_IsOK(res1
)) {
24999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25001 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= (int)(arg1
)->GetToolPacking();
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= SWIG_From_int(static_cast< int >(result
));
25015 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25016 PyObject
*resultobj
= 0;
25017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25021 PyObject
*swig_obj
[1] ;
25023 if (!args
) SWIG_fail
;
25024 swig_obj
[0] = args
;
25025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25026 if (!SWIG_IsOK(res1
)) {
25027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25029 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (int)(arg1
)->GetToolSeparation();
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= SWIG_From_int(static_cast< int >(result
));
25043 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
= 0;
25045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 char * kwnames
[] = {
25054 (char *) "self",(char *) "nRows", NULL
25057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25059 if (!SWIG_IsOK(res1
)) {
25060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25062 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25064 if (!SWIG_IsOK(ecode2
)) {
25065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25067 arg2
= static_cast< int >(val2
);
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 (arg1
)->SetRows(arg2
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= SWIG_Py_Void();
25081 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
= 0;
25083 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 PyObject
* obj2
= 0 ;
25095 char * kwnames
[] = {
25096 (char *) "self",(char *) "rows",(char *) "cols", NULL
25099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25101 if (!SWIG_IsOK(res1
)) {
25102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25104 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25106 if (!SWIG_IsOK(ecode2
)) {
25107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25109 arg2
= static_cast< int >(val2
);
25110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25111 if (!SWIG_IsOK(ecode3
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25114 arg3
= static_cast< int >(val3
);
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25121 resultobj
= SWIG_Py_Void();
25128 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25129 PyObject
*resultobj
= 0;
25130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25134 PyObject
*swig_obj
[1] ;
25136 if (!args
) SWIG_fail
;
25137 swig_obj
[0] = args
;
25138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25139 if (!SWIG_IsOK(res1
)) {
25140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25142 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 result
= (int)(arg1
)->GetMaxRows();
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_From_int(static_cast< int >(result
));
25156 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25157 PyObject
*resultobj
= 0;
25158 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25162 PyObject
*swig_obj
[1] ;
25164 if (!args
) SWIG_fail
;
25165 swig_obj
[0] = args
;
25166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25170 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (int)(arg1
)->GetMaxCols();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= SWIG_From_int(static_cast< int >(result
));
25184 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
= 0;
25186 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 char * kwnames
[] = {
25194 (char *) "self",(char *) "size", NULL
25197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25199 if (!SWIG_IsOK(res1
)) {
25200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25202 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25205 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_Py_Void();
25220 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25221 PyObject
*resultobj
= 0;
25222 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25226 PyObject
*swig_obj
[1] ;
25228 if (!args
) SWIG_fail
;
25229 swig_obj
[0] = args
;
25230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25231 if (!SWIG_IsOK(res1
)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25234 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (arg1
)->GetToolBitmapSize();
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25241 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25248 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25249 PyObject
*resultobj
= 0;
25250 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25254 PyObject
*swig_obj
[1] ;
25256 if (!args
) SWIG_fail
;
25257 swig_obj
[0] = args
;
25258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25259 if (!SWIG_IsOK(res1
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25262 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (arg1
)->GetToolSize();
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25276 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
= 0;
25278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25281 wxToolBarToolBase
*result
= 0 ;
25288 PyObject
* obj0
= 0 ;
25289 PyObject
* obj1
= 0 ;
25290 PyObject
* obj2
= 0 ;
25291 char * kwnames
[] = {
25292 (char *) "self",(char *) "x",(char *) "y", NULL
25295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25297 if (!SWIG_IsOK(res1
)) {
25298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25300 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25302 if (!SWIG_IsOK(ecode2
)) {
25303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25305 arg2
= static_cast< int >(val2
);
25306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25307 if (!SWIG_IsOK(ecode3
)) {
25308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25310 arg3
= static_cast< int >(val3
);
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25326 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
= 0;
25328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25330 wxToolBarToolBase
*result
= 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char * kwnames
[] = {
25338 (char *) "self",(char *) "toolid", NULL
25341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25343 if (!SWIG_IsOK(res1
)) {
25344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25346 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25348 if (!SWIG_IsOK(ecode2
)) {
25349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25351 arg2
= static_cast< int >(val2
);
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25367 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25368 PyObject
*resultobj
= 0;
25369 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25373 PyObject
*swig_obj
[1] ;
25375 if (!args
) SWIG_fail
;
25376 swig_obj
[0] = args
;
25377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25378 if (!SWIG_IsOK(res1
)) {
25379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25381 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (bool)(arg1
)->IsVertical();
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25397 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25398 PyObject
*resultobj
= 0;
25399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25403 PyObject
*swig_obj
[1] ;
25405 if (!args
) SWIG_fail
;
25406 swig_obj
[0] = args
;
25407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25408 if (!SWIG_IsOK(res1
)) {
25409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25411 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25425 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25428 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25429 return SWIG_Py_Void();
25432 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
= 0;
25434 wxWindow
*arg1
= (wxWindow
*) 0 ;
25435 int arg2
= (int) -1 ;
25436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25440 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25441 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25442 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25443 wxToolBar
*result
= 0 ;
25452 bool temp6
= false ;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 PyObject
* obj2
= 0 ;
25456 PyObject
* obj3
= 0 ;
25457 PyObject
* obj4
= 0 ;
25458 PyObject
* obj5
= 0 ;
25459 char * kwnames
[] = {
25460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25465 if (!SWIG_IsOK(res1
)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25468 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25471 if (!SWIG_IsOK(ecode2
)) {
25472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25474 arg2
= static_cast< int >(val2
);
25479 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25485 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25489 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25490 if (!SWIG_IsOK(ecode5
)) {
25491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25493 arg5
= static_cast< long >(val5
);
25497 arg6
= wxString_in_helper(obj5
);
25498 if (arg6
== NULL
) SWIG_fail
;
25503 if (!wxPyCheckForApp()) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25524 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25525 PyObject
*resultobj
= 0;
25526 wxToolBar
*result
= 0 ;
25528 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25530 if (!wxPyCheckForApp()) SWIG_fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 result
= (wxToolBar
*)new wxToolBar();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25543 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
= 0;
25545 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25546 wxWindow
*arg2
= (wxWindow
*) 0 ;
25547 int arg3
= (int) -1 ;
25548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25552 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25553 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25554 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25566 bool temp7
= false ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 PyObject
* obj2
= 0 ;
25570 PyObject
* obj3
= 0 ;
25571 PyObject
* obj4
= 0 ;
25572 PyObject
* obj5
= 0 ;
25573 PyObject
* obj6
= 0 ;
25574 char * kwnames
[] = {
25575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25580 if (!SWIG_IsOK(res1
)) {
25581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25583 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25585 if (!SWIG_IsOK(res2
)) {
25586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25588 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25591 if (!SWIG_IsOK(ecode3
)) {
25592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25594 arg3
= static_cast< int >(val3
);
25599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25609 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25610 if (!SWIG_IsOK(ecode6
)) {
25611 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25613 arg6
= static_cast< long >(val6
);
25617 arg7
= wxString_in_helper(obj6
);
25618 if (arg7
== NULL
) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25645 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
= 0;
25647 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25648 SwigValueWrapper
<wxVisualAttributes
> result
;
25651 PyObject
* obj0
= 0 ;
25652 char * kwnames
[] = {
25653 (char *) "variant", NULL
25656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25658 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25659 if (!SWIG_IsOK(ecode1
)) {
25660 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25662 arg1
= static_cast< wxWindowVariant
>(val1
);
25665 if (!wxPyCheckForApp()) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25678 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25681 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25682 return SWIG_Py_Void();
25685 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25686 return SWIG_Python_InitShadowInstance(args
);
25689 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25690 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25695 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25696 PyObject
*pyobj
= 0;
25700 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25702 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25709 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
= 0;
25711 wxColour
const &arg1_defvalue
= wxNullColour
;
25712 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25713 wxColour
const &arg2_defvalue
= wxNullColour
;
25714 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25715 wxFont
const &arg3_defvalue
= wxNullFont
;
25716 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25717 wxListItemAttr
*result
= 0 ;
25722 PyObject
* obj0
= 0 ;
25723 PyObject
* obj1
= 0 ;
25724 PyObject
* obj2
= 0 ;
25725 char * kwnames
[] = {
25726 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25733 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25739 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25743 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25744 if (!SWIG_IsOK(res3
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25750 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25765 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25766 PyObject
*resultobj
= 0;
25767 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25770 PyObject
*swig_obj
[1] ;
25772 if (!args
) SWIG_fail
;
25773 swig_obj
[0] = args
;
25774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25778 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= SWIG_Py_Void();
25793 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
= 0;
25795 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25796 wxColour
*arg2
= 0 ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 char * kwnames
[] = {
25803 (char *) "self",(char *) "colText", NULL
25806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25811 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_Py_Void();
25829 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
= 0;
25831 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25832 wxColour
*arg2
= 0 ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 char * kwnames
[] = {
25839 (char *) "self",(char *) "colBack", NULL
25842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25844 if (!SWIG_IsOK(res1
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25847 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= SWIG_Py_Void();
25865 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
= 0;
25867 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25873 PyObject
* obj0
= 0 ;
25874 PyObject
* obj1
= 0 ;
25875 char * kwnames
[] = {
25876 (char *) "self",(char *) "font", NULL
25879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25881 if (!SWIG_IsOK(res1
)) {
25882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25884 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25886 if (!SWIG_IsOK(res2
)) {
25887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25892 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 (arg1
)->SetFont((wxFont
const &)*arg2
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 resultobj
= SWIG_Py_Void();
25906 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25907 PyObject
*resultobj
= 0;
25908 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25912 PyObject
*swig_obj
[1] ;
25914 if (!args
) SWIG_fail
;
25915 swig_obj
[0] = args
;
25916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25917 if (!SWIG_IsOK(res1
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25920 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (bool)(arg1
)->HasTextColour();
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25936 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25937 PyObject
*resultobj
= 0;
25938 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25942 PyObject
*swig_obj
[1] ;
25944 if (!args
) SWIG_fail
;
25945 swig_obj
[0] = args
;
25946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25950 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (bool)(arg1
)->HasBackgroundColour();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25966 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25967 PyObject
*resultobj
= 0;
25968 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25972 PyObject
*swig_obj
[1] ;
25974 if (!args
) SWIG_fail
;
25975 swig_obj
[0] = args
;
25976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25977 if (!SWIG_IsOK(res1
)) {
25978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25980 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 result
= (bool)(arg1
)->HasFont();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25996 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25997 PyObject
*resultobj
= 0;
25998 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26002 PyObject
*swig_obj
[1] ;
26004 if (!args
) SWIG_fail
;
26005 swig_obj
[0] = args
;
26006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26007 if (!SWIG_IsOK(res1
)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26010 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 result
= (arg1
)->GetTextColour();
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26024 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26025 PyObject
*resultobj
= 0;
26026 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26030 PyObject
*swig_obj
[1] ;
26032 if (!args
) SWIG_fail
;
26033 swig_obj
[0] = args
;
26034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26035 if (!SWIG_IsOK(res1
)) {
26036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26038 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 result
= (arg1
)->GetBackgroundColour();
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26052 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26053 PyObject
*resultobj
= 0;
26054 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26058 PyObject
*swig_obj
[1] ;
26060 if (!args
) SWIG_fail
;
26061 swig_obj
[0] = args
;
26062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26063 if (!SWIG_IsOK(res1
)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26066 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (arg1
)->GetFont();
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26080 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
= 0;
26082 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26083 wxListItemAttr
*arg2
= 0 ;
26088 PyObject
* obj0
= 0 ;
26089 PyObject
* obj1
= 0 ;
26090 char * kwnames
[] = {
26091 (char *) "self",(char *) "source", NULL
26094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26096 if (!SWIG_IsOK(res1
)) {
26097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26099 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26101 if (!SWIG_IsOK(res2
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26107 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= SWIG_Py_Void();
26121 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26122 PyObject
*resultobj
= 0;
26123 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26126 PyObject
*swig_obj
[1] ;
26128 if (!args
) SWIG_fail
;
26129 swig_obj
[0] = args
;
26130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26131 if (!SWIG_IsOK(res1
)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26134 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 wxListItemAttr_Destroy(arg1
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_Py_Void();
26148 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26151 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26152 return SWIG_Py_Void();
26155 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26156 return SWIG_Python_InitShadowInstance(args
);
26159 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26160 PyObject
*resultobj
= 0;
26161 wxListItem
*result
= 0 ;
26163 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= (wxListItem
*)new wxListItem();
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26179 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26180 PyObject
*resultobj
= 0;
26181 wxListItem
*arg1
= (wxListItem
*) 0 ;
26184 PyObject
*swig_obj
[1] ;
26186 if (!args
) SWIG_fail
;
26187 swig_obj
[0] = args
;
26188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26189 if (!SWIG_IsOK(res1
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26192 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= SWIG_Py_Void();
26207 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26208 PyObject
*resultobj
= 0;
26209 wxListItem
*arg1
= (wxListItem
*) 0 ;
26212 PyObject
*swig_obj
[1] ;
26214 if (!args
) SWIG_fail
;
26215 swig_obj
[0] = args
;
26216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26217 if (!SWIG_IsOK(res1
)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26220 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 wxPyEndAllowThreads(__tstate
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= SWIG_Py_Void();
26234 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26235 PyObject
*resultobj
= 0;
26236 wxListItem
*arg1
= (wxListItem
*) 0 ;
26239 PyObject
*swig_obj
[1] ;
26241 if (!args
) SWIG_fail
;
26242 swig_obj
[0] = args
;
26243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26244 if (!SWIG_IsOK(res1
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26247 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 (arg1
)->ClearAttributes();
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= SWIG_Py_Void();
26261 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
= 0;
26263 wxListItem
*arg1
= (wxListItem
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 char * kwnames
[] = {
26272 (char *) "self",(char *) "mask", NULL
26275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26277 if (!SWIG_IsOK(res1
)) {
26278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26280 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26281 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26282 if (!SWIG_IsOK(ecode2
)) {
26283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26285 arg2
= static_cast< long >(val2
);
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 (arg1
)->SetMask(arg2
);
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= SWIG_Py_Void();
26299 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
= 0;
26301 wxListItem
*arg1
= (wxListItem
*) 0 ;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 char * kwnames
[] = {
26310 (char *) "self",(char *) "id", NULL
26313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26315 if (!SWIG_IsOK(res1
)) {
26316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26318 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26319 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26320 if (!SWIG_IsOK(ecode2
)) {
26321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26323 arg2
= static_cast< long >(val2
);
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 (arg1
)->SetId(arg2
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= SWIG_Py_Void();
26337 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
= 0;
26339 wxListItem
*arg1
= (wxListItem
*) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 PyObject
* obj1
= 0 ;
26347 char * kwnames
[] = {
26348 (char *) "self",(char *) "col", NULL
26351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26353 if (!SWIG_IsOK(res1
)) {
26354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26356 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26358 if (!SWIG_IsOK(ecode2
)) {
26359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26361 arg2
= static_cast< int >(val2
);
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 (arg1
)->SetColumn(arg2
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= SWIG_Py_Void();
26375 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
= 0;
26377 wxListItem
*arg1
= (wxListItem
*) 0 ;
26383 PyObject
* obj0
= 0 ;
26384 PyObject
* obj1
= 0 ;
26385 char * kwnames
[] = {
26386 (char *) "self",(char *) "state", NULL
26389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26391 if (!SWIG_IsOK(res1
)) {
26392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26394 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26395 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26396 if (!SWIG_IsOK(ecode2
)) {
26397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26399 arg2
= static_cast< long >(val2
);
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 (arg1
)->SetState(arg2
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_Py_Void();
26413 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
= 0;
26415 wxListItem
*arg1
= (wxListItem
*) 0 ;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 char * kwnames
[] = {
26424 (char *) "self",(char *) "stateMask", NULL
26427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26429 if (!SWIG_IsOK(res1
)) {
26430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26432 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26433 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26434 if (!SWIG_IsOK(ecode2
)) {
26435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26437 arg2
= static_cast< long >(val2
);
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 (arg1
)->SetStateMask(arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_Py_Void();
26451 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
= 0;
26453 wxListItem
*arg1
= (wxListItem
*) 0 ;
26454 wxString
*arg2
= 0 ;
26457 bool temp2
= false ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char * kwnames
[] = {
26461 (char *) "self",(char *) "text", NULL
26464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26466 if (!SWIG_IsOK(res1
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26469 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26471 arg2
= wxString_in_helper(obj1
);
26472 if (arg2
== NULL
) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->SetText((wxString
const &)*arg2
);
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_Py_Void();
26496 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
= 0;
26498 wxListItem
*arg1
= (wxListItem
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 char * kwnames
[] = {
26507 (char *) "self",(char *) "image", NULL
26510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26512 if (!SWIG_IsOK(res1
)) {
26513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26515 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26517 if (!SWIG_IsOK(ecode2
)) {
26518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26520 arg2
= static_cast< int >(val2
);
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 (arg1
)->SetImage(arg2
);
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= SWIG_Py_Void();
26534 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
= 0;
26536 wxListItem
*arg1
= (wxListItem
*) 0 ;
26542 PyObject
* obj0
= 0 ;
26543 PyObject
* obj1
= 0 ;
26544 char * kwnames
[] = {
26545 (char *) "self",(char *) "data", NULL
26548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26550 if (!SWIG_IsOK(res1
)) {
26551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26553 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26554 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26555 if (!SWIG_IsOK(ecode2
)) {
26556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26558 arg2
= static_cast< long >(val2
);
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 (arg1
)->SetData(arg2
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= SWIG_Py_Void();
26572 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
= 0;
26574 wxListItem
*arg1
= (wxListItem
*) 0 ;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char * kwnames
[] = {
26583 (char *) "self",(char *) "width", NULL
26586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26588 if (!SWIG_IsOK(res1
)) {
26589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26591 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26593 if (!SWIG_IsOK(ecode2
)) {
26594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26596 arg2
= static_cast< int >(val2
);
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 (arg1
)->SetWidth(arg2
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_Py_Void();
26610 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
= 0;
26612 wxListItem
*arg1
= (wxListItem
*) 0 ;
26613 wxListColumnFormat arg2
;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 char * kwnames
[] = {
26621 (char *) "self",(char *) "align", NULL
26624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26626 if (!SWIG_IsOK(res1
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26629 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26631 if (!SWIG_IsOK(ecode2
)) {
26632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26634 arg2
= static_cast< wxListColumnFormat
>(val2
);
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 (arg1
)->SetAlign(arg2
);
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_Py_Void();
26648 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26649 PyObject
*resultobj
= 0;
26650 wxListItem
*arg1
= (wxListItem
*) 0 ;
26651 wxColour
*arg2
= 0 ;
26655 PyObject
* obj0
= 0 ;
26656 PyObject
* obj1
= 0 ;
26657 char * kwnames
[] = {
26658 (char *) "self",(char *) "colText", NULL
26661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26663 if (!SWIG_IsOK(res1
)) {
26664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26666 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_Py_Void();
26684 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
= 0;
26686 wxListItem
*arg1
= (wxListItem
*) 0 ;
26687 wxColour
*arg2
= 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 char * kwnames
[] = {
26694 (char *) "self",(char *) "colBack", NULL
26697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26699 if (!SWIG_IsOK(res1
)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26702 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_Py_Void();
26720 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
= 0;
26722 wxListItem
*arg1
= (wxListItem
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 char * kwnames
[] = {
26731 (char *) "self",(char *) "font", NULL
26734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26736 if (!SWIG_IsOK(res1
)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26739 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26741 if (!SWIG_IsOK(res2
)) {
26742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26747 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 (arg1
)->SetFont((wxFont
const &)*arg2
);
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= SWIG_Py_Void();
26761 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26762 PyObject
*resultobj
= 0;
26763 wxListItem
*arg1
= (wxListItem
*) 0 ;
26767 PyObject
*swig_obj
[1] ;
26769 if (!args
) SWIG_fail
;
26770 swig_obj
[0] = args
;
26771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26772 if (!SWIG_IsOK(res1
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26775 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (long)(arg1
)->GetMask();
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= SWIG_From_long(static_cast< long >(result
));
26789 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26790 PyObject
*resultobj
= 0;
26791 wxListItem
*arg1
= (wxListItem
*) 0 ;
26795 PyObject
*swig_obj
[1] ;
26797 if (!args
) SWIG_fail
;
26798 swig_obj
[0] = args
;
26799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26800 if (!SWIG_IsOK(res1
)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26803 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (long)(arg1
)->GetId();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_From_long(static_cast< long >(result
));
26817 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26818 PyObject
*resultobj
= 0;
26819 wxListItem
*arg1
= (wxListItem
*) 0 ;
26823 PyObject
*swig_obj
[1] ;
26825 if (!args
) SWIG_fail
;
26826 swig_obj
[0] = args
;
26827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26828 if (!SWIG_IsOK(res1
)) {
26829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26831 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= (int)(arg1
)->GetColumn();
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= SWIG_From_int(static_cast< int >(result
));
26845 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26846 PyObject
*resultobj
= 0;
26847 wxListItem
*arg1
= (wxListItem
*) 0 ;
26851 PyObject
*swig_obj
[1] ;
26853 if (!args
) SWIG_fail
;
26854 swig_obj
[0] = args
;
26855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26856 if (!SWIG_IsOK(res1
)) {
26857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26859 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (long)(arg1
)->GetState();
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= SWIG_From_long(static_cast< long >(result
));
26873 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26874 PyObject
*resultobj
= 0;
26875 wxListItem
*arg1
= (wxListItem
*) 0 ;
26876 wxString
*result
= 0 ;
26879 PyObject
*swig_obj
[1] ;
26881 if (!args
) SWIG_fail
;
26882 swig_obj
[0] = args
;
26883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26887 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 wxString
const &_result_ref
= (arg1
)->GetText();
26892 result
= (wxString
*) &_result_ref
;
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26910 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26911 PyObject
*resultobj
= 0;
26912 wxListItem
*arg1
= (wxListItem
*) 0 ;
26916 PyObject
*swig_obj
[1] ;
26918 if (!args
) SWIG_fail
;
26919 swig_obj
[0] = args
;
26920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26921 if (!SWIG_IsOK(res1
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26924 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (int)(arg1
)->GetImage();
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_From_int(static_cast< int >(result
));
26938 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26939 PyObject
*resultobj
= 0;
26940 wxListItem
*arg1
= (wxListItem
*) 0 ;
26944 PyObject
*swig_obj
[1] ;
26946 if (!args
) SWIG_fail
;
26947 swig_obj
[0] = args
;
26948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26952 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= (long)(arg1
)->GetData();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_From_long(static_cast< long >(result
));
26966 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 PyObject
*resultobj
= 0;
26968 wxListItem
*arg1
= (wxListItem
*) 0 ;
26972 PyObject
*swig_obj
[1] ;
26974 if (!args
) SWIG_fail
;
26975 swig_obj
[0] = args
;
26976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26977 if (!SWIG_IsOK(res1
)) {
26978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26980 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (int)(arg1
)->GetWidth();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_From_int(static_cast< int >(result
));
26994 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26995 PyObject
*resultobj
= 0;
26996 wxListItem
*arg1
= (wxListItem
*) 0 ;
26997 wxListColumnFormat result
;
27000 PyObject
*swig_obj
[1] ;
27002 if (!args
) SWIG_fail
;
27003 swig_obj
[0] = args
;
27004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27008 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= SWIG_From_int(static_cast< int >(result
));
27022 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27023 PyObject
*resultobj
= 0;
27024 wxListItem
*arg1
= (wxListItem
*) 0 ;
27025 wxListItemAttr
*result
= 0 ;
27028 PyObject
*swig_obj
[1] ;
27030 if (!args
) SWIG_fail
;
27031 swig_obj
[0] = args
;
27032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27036 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27050 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27051 PyObject
*resultobj
= 0;
27052 wxListItem
*arg1
= (wxListItem
*) 0 ;
27056 PyObject
*swig_obj
[1] ;
27058 if (!args
) SWIG_fail
;
27059 swig_obj
[0] = args
;
27060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27061 if (!SWIG_IsOK(res1
)) {
27062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27064 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 result
= (bool)(arg1
)->HasAttributes();
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27080 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27081 PyObject
*resultobj
= 0;
27082 wxListItem
*arg1
= (wxListItem
*) 0 ;
27086 PyObject
*swig_obj
[1] ;
27088 if (!args
) SWIG_fail
;
27089 swig_obj
[0] = args
;
27090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27091 if (!SWIG_IsOK(res1
)) {
27092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27094 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27108 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27109 PyObject
*resultobj
= 0;
27110 wxListItem
*arg1
= (wxListItem
*) 0 ;
27114 PyObject
*swig_obj
[1] ;
27116 if (!args
) SWIG_fail
;
27117 swig_obj
[0] = args
;
27118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27119 if (!SWIG_IsOK(res1
)) {
27120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27122 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27136 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27137 PyObject
*resultobj
= 0;
27138 wxListItem
*arg1
= (wxListItem
*) 0 ;
27142 PyObject
*swig_obj
[1] ;
27144 if (!args
) SWIG_fail
;
27145 swig_obj
[0] = args
;
27146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27147 if (!SWIG_IsOK(res1
)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27150 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 result
= ((wxListItem
const *)arg1
)->GetFont();
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27164 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27165 PyObject
*resultobj
= 0;
27166 wxListItem
*arg1
= (wxListItem
*) 0 ;
27172 PyObject
*swig_obj
[2] ;
27174 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27179 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27180 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27181 if (!SWIG_IsOK(ecode2
)) {
27182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27184 arg2
= static_cast< long >(val2
);
27185 if (arg1
) (arg1
)->m_mask
= arg2
;
27187 resultobj
= SWIG_Py_Void();
27194 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27195 PyObject
*resultobj
= 0;
27196 wxListItem
*arg1
= (wxListItem
*) 0 ;
27200 PyObject
*swig_obj
[1] ;
27202 if (!args
) SWIG_fail
;
27203 swig_obj
[0] = args
;
27204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27205 if (!SWIG_IsOK(res1
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27208 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27209 result
= (long) ((arg1
)->m_mask
);
27210 resultobj
= SWIG_From_long(static_cast< long >(result
));
27217 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27218 PyObject
*resultobj
= 0;
27219 wxListItem
*arg1
= (wxListItem
*) 0 ;
27225 PyObject
*swig_obj
[2] ;
27227 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27229 if (!SWIG_IsOK(res1
)) {
27230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27232 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27233 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27234 if (!SWIG_IsOK(ecode2
)) {
27235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27237 arg2
= static_cast< long >(val2
);
27238 if (arg1
) (arg1
)->m_itemId
= arg2
;
27240 resultobj
= SWIG_Py_Void();
27247 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27248 PyObject
*resultobj
= 0;
27249 wxListItem
*arg1
= (wxListItem
*) 0 ;
27253 PyObject
*swig_obj
[1] ;
27255 if (!args
) SWIG_fail
;
27256 swig_obj
[0] = args
;
27257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27261 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27262 result
= (long) ((arg1
)->m_itemId
);
27263 resultobj
= SWIG_From_long(static_cast< long >(result
));
27270 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27271 PyObject
*resultobj
= 0;
27272 wxListItem
*arg1
= (wxListItem
*) 0 ;
27278 PyObject
*swig_obj
[2] ;
27280 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27285 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27286 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27287 if (!SWIG_IsOK(ecode2
)) {
27288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27290 arg2
= static_cast< int >(val2
);
27291 if (arg1
) (arg1
)->m_col
= arg2
;
27293 resultobj
= SWIG_Py_Void();
27300 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27301 PyObject
*resultobj
= 0;
27302 wxListItem
*arg1
= (wxListItem
*) 0 ;
27306 PyObject
*swig_obj
[1] ;
27308 if (!args
) SWIG_fail
;
27309 swig_obj
[0] = args
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27314 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27315 result
= (int) ((arg1
)->m_col
);
27316 resultobj
= SWIG_From_int(static_cast< int >(result
));
27323 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27324 PyObject
*resultobj
= 0;
27325 wxListItem
*arg1
= (wxListItem
*) 0 ;
27331 PyObject
*swig_obj
[2] ;
27333 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27338 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27339 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27340 if (!SWIG_IsOK(ecode2
)) {
27341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27343 arg2
= static_cast< long >(val2
);
27344 if (arg1
) (arg1
)->m_state
= arg2
;
27346 resultobj
= SWIG_Py_Void();
27353 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27354 PyObject
*resultobj
= 0;
27355 wxListItem
*arg1
= (wxListItem
*) 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_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27367 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27368 result
= (long) ((arg1
)->m_state
);
27369 resultobj
= SWIG_From_long(static_cast< long >(result
));
27376 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27377 PyObject
*resultobj
= 0;
27378 wxListItem
*arg1
= (wxListItem
*) 0 ;
27384 PyObject
*swig_obj
[2] ;
27386 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27388 if (!SWIG_IsOK(res1
)) {
27389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27391 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27392 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27393 if (!SWIG_IsOK(ecode2
)) {
27394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27396 arg2
= static_cast< long >(val2
);
27397 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27399 resultobj
= SWIG_Py_Void();
27406 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27407 PyObject
*resultobj
= 0;
27408 wxListItem
*arg1
= (wxListItem
*) 0 ;
27412 PyObject
*swig_obj
[1] ;
27414 if (!args
) SWIG_fail
;
27415 swig_obj
[0] = args
;
27416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27417 if (!SWIG_IsOK(res1
)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27420 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27421 result
= (long) ((arg1
)->m_stateMask
);
27422 resultobj
= SWIG_From_long(static_cast< long >(result
));
27429 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 PyObject
*resultobj
= 0;
27431 wxListItem
*arg1
= (wxListItem
*) 0 ;
27432 wxString
*arg2
= (wxString
*) 0 ;
27435 bool temp2
= false ;
27436 PyObject
*swig_obj
[2] ;
27438 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27440 if (!SWIG_IsOK(res1
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27443 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27445 arg2
= wxString_in_helper(swig_obj
[1]);
27446 if (arg2
== NULL
) SWIG_fail
;
27449 if (arg1
) (arg1
)->m_text
= *arg2
;
27451 resultobj
= SWIG_Py_Void();
27466 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27467 PyObject
*resultobj
= 0;
27468 wxListItem
*arg1
= (wxListItem
*) 0 ;
27469 wxString
*result
= 0 ;
27472 PyObject
*swig_obj
[1] ;
27474 if (!args
) SWIG_fail
;
27475 swig_obj
[0] = args
;
27476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27477 if (!SWIG_IsOK(res1
)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27480 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27481 result
= (wxString
*)& ((arg1
)->m_text
);
27484 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27486 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27495 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27496 PyObject
*resultobj
= 0;
27497 wxListItem
*arg1
= (wxListItem
*) 0 ;
27503 PyObject
*swig_obj
[2] ;
27505 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27507 if (!SWIG_IsOK(res1
)) {
27508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27510 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27511 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27512 if (!SWIG_IsOK(ecode2
)) {
27513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27515 arg2
= static_cast< int >(val2
);
27516 if (arg1
) (arg1
)->m_image
= arg2
;
27518 resultobj
= SWIG_Py_Void();
27525 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27526 PyObject
*resultobj
= 0;
27527 wxListItem
*arg1
= (wxListItem
*) 0 ;
27531 PyObject
*swig_obj
[1] ;
27533 if (!args
) SWIG_fail
;
27534 swig_obj
[0] = args
;
27535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27536 if (!SWIG_IsOK(res1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27539 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27540 result
= (int) ((arg1
)->m_image
);
27541 resultobj
= SWIG_From_int(static_cast< int >(result
));
27548 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27549 PyObject
*resultobj
= 0;
27550 wxListItem
*arg1
= (wxListItem
*) 0 ;
27556 PyObject
*swig_obj
[2] ;
27558 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27560 if (!SWIG_IsOK(res1
)) {
27561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27563 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27564 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27565 if (!SWIG_IsOK(ecode2
)) {
27566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27568 arg2
= static_cast< long >(val2
);
27569 if (arg1
) (arg1
)->m_data
= arg2
;
27571 resultobj
= SWIG_Py_Void();
27578 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxListItem
*arg1
= (wxListItem
*) 0 ;
27584 PyObject
*swig_obj
[1] ;
27586 if (!args
) SWIG_fail
;
27587 swig_obj
[0] = args
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27592 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27593 result
= (long) ((arg1
)->m_data
);
27594 resultobj
= SWIG_From_long(static_cast< long >(result
));
27601 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27602 PyObject
*resultobj
= 0;
27603 wxListItem
*arg1
= (wxListItem
*) 0 ;
27609 PyObject
*swig_obj
[2] ;
27611 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27616 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27617 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27618 if (!SWIG_IsOK(ecode2
)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27621 arg2
= static_cast< int >(val2
);
27622 if (arg1
) (arg1
)->m_format
= arg2
;
27624 resultobj
= SWIG_Py_Void();
27631 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27633 wxListItem
*arg1
= (wxListItem
*) 0 ;
27637 PyObject
*swig_obj
[1] ;
27639 if (!args
) SWIG_fail
;
27640 swig_obj
[0] = args
;
27641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27642 if (!SWIG_IsOK(res1
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27645 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27646 result
= (int) ((arg1
)->m_format
);
27647 resultobj
= SWIG_From_int(static_cast< int >(result
));
27654 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27655 PyObject
*resultobj
= 0;
27656 wxListItem
*arg1
= (wxListItem
*) 0 ;
27662 PyObject
*swig_obj
[2] ;
27664 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27669 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27670 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27671 if (!SWIG_IsOK(ecode2
)) {
27672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27674 arg2
= static_cast< int >(val2
);
27675 if (arg1
) (arg1
)->m_width
= arg2
;
27677 resultobj
= SWIG_Py_Void();
27684 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxListItem
*arg1
= (wxListItem
*) 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27698 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27699 result
= (int) ((arg1
)->m_width
);
27700 resultobj
= SWIG_From_int(static_cast< int >(result
));
27707 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27710 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27711 return SWIG_Py_Void();
27714 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27715 return SWIG_Python_InitShadowInstance(args
);
27718 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27719 PyObject
*resultobj
= 0;
27720 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27721 int arg2
= (int) 0 ;
27722 wxListEvent
*result
= 0 ;
27727 PyObject
* obj0
= 0 ;
27728 PyObject
* obj1
= 0 ;
27729 char * kwnames
[] = {
27730 (char *) "commandType",(char *) "id", NULL
27733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27736 if (!SWIG_IsOK(ecode1
)) {
27737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27739 arg1
= static_cast< wxEventType
>(val1
);
27742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27743 if (!SWIG_IsOK(ecode2
)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27746 arg2
= static_cast< int >(val2
);
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27761 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27762 PyObject
*resultobj
= 0;
27763 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27769 PyObject
*swig_obj
[2] ;
27771 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27773 if (!SWIG_IsOK(res1
)) {
27774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27776 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27777 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27778 if (!SWIG_IsOK(ecode2
)) {
27779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27781 arg2
= static_cast< int >(val2
);
27782 if (arg1
) (arg1
)->m_code
= arg2
;
27784 resultobj
= SWIG_Py_Void();
27791 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27792 PyObject
*resultobj
= 0;
27793 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27797 PyObject
*swig_obj
[1] ;
27799 if (!args
) SWIG_fail
;
27800 swig_obj
[0] = args
;
27801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27805 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27806 result
= (int) ((arg1
)->m_code
);
27807 resultobj
= SWIG_From_int(static_cast< int >(result
));
27814 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27815 PyObject
*resultobj
= 0;
27816 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27822 PyObject
*swig_obj
[2] ;
27824 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27826 if (!SWIG_IsOK(res1
)) {
27827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27829 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27830 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27831 if (!SWIG_IsOK(ecode2
)) {
27832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27834 arg2
= static_cast< long >(val2
);
27835 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27837 resultobj
= SWIG_Py_Void();
27844 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27845 PyObject
*resultobj
= 0;
27846 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27850 PyObject
*swig_obj
[1] ;
27852 if (!args
) SWIG_fail
;
27853 swig_obj
[0] = args
;
27854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27855 if (!SWIG_IsOK(res1
)) {
27856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27858 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27859 result
= (long) ((arg1
)->m_oldItemIndex
);
27860 resultobj
= SWIG_From_long(static_cast< long >(result
));
27867 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27868 PyObject
*resultobj
= 0;
27869 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27875 PyObject
*swig_obj
[2] ;
27877 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27879 if (!SWIG_IsOK(res1
)) {
27880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27882 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27883 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27884 if (!SWIG_IsOK(ecode2
)) {
27885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27887 arg2
= static_cast< long >(val2
);
27888 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27890 resultobj
= SWIG_Py_Void();
27897 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27898 PyObject
*resultobj
= 0;
27899 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27903 PyObject
*swig_obj
[1] ;
27905 if (!args
) SWIG_fail
;
27906 swig_obj
[0] = args
;
27907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27911 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27912 result
= (long) ((arg1
)->m_itemIndex
);
27913 resultobj
= SWIG_From_long(static_cast< long >(result
));
27920 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27921 PyObject
*resultobj
= 0;
27922 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27928 PyObject
*swig_obj
[2] ;
27930 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27935 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27936 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27937 if (!SWIG_IsOK(ecode2
)) {
27938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27940 arg2
= static_cast< int >(val2
);
27941 if (arg1
) (arg1
)->m_col
= arg2
;
27943 resultobj
= SWIG_Py_Void();
27950 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27951 PyObject
*resultobj
= 0;
27952 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27956 PyObject
*swig_obj
[1] ;
27958 if (!args
) SWIG_fail
;
27959 swig_obj
[0] = args
;
27960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27961 if (!SWIG_IsOK(res1
)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27964 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27965 result
= (int) ((arg1
)->m_col
);
27966 resultobj
= SWIG_From_int(static_cast< int >(result
));
27973 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27974 PyObject
*resultobj
= 0;
27975 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27976 wxPoint
*arg2
= (wxPoint
*) 0 ;
27981 PyObject
*swig_obj
[2] ;
27983 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27988 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27989 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27990 if (!SWIG_IsOK(res2
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27993 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27994 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27996 resultobj
= SWIG_Py_Void();
28003 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28004 PyObject
*resultobj
= 0;
28005 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28006 wxPoint
*result
= 0 ;
28009 PyObject
*swig_obj
[1] ;
28011 if (!args
) SWIG_fail
;
28012 swig_obj
[0] = args
;
28013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28017 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28018 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28026 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28027 PyObject
*resultobj
= 0;
28028 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28029 wxListItem
*result
= 0 ;
28032 PyObject
*swig_obj
[1] ;
28034 if (!args
) SWIG_fail
;
28035 swig_obj
[0] = args
;
28036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28037 if (!SWIG_IsOK(res1
)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28040 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28041 result
= (wxListItem
*)& ((arg1
)->m_item
);
28043 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28051 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28052 PyObject
*resultobj
= 0;
28053 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28057 PyObject
*swig_obj
[1] ;
28059 if (!args
) SWIG_fail
;
28060 swig_obj
[0] = args
;
28061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28062 if (!SWIG_IsOK(res1
)) {
28063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28065 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 result
= (int)(arg1
)->GetKeyCode();
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28072 resultobj
= SWIG_From_int(static_cast< int >(result
));
28079 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28080 PyObject
*resultobj
= 0;
28081 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28085 PyObject
*swig_obj
[1] ;
28087 if (!args
) SWIG_fail
;
28088 swig_obj
[0] = args
;
28089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28090 if (!SWIG_IsOK(res1
)) {
28091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28093 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28096 result
= (long)(arg1
)->GetIndex();
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= SWIG_From_long(static_cast< long >(result
));
28107 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28108 PyObject
*resultobj
= 0;
28109 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28113 PyObject
*swig_obj
[1] ;
28115 if (!args
) SWIG_fail
;
28116 swig_obj
[0] = args
;
28117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28118 if (!SWIG_IsOK(res1
)) {
28119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28121 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 result
= (int)(arg1
)->GetColumn();
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= SWIG_From_int(static_cast< int >(result
));
28135 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28136 PyObject
*resultobj
= 0;
28137 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28141 PyObject
*swig_obj
[1] ;
28143 if (!args
) SWIG_fail
;
28144 swig_obj
[0] = args
;
28145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28146 if (!SWIG_IsOK(res1
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28149 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 result
= (arg1
)->GetPoint();
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28163 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28164 PyObject
*resultobj
= 0;
28165 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28166 wxString
*result
= 0 ;
28169 PyObject
*swig_obj
[1] ;
28171 if (!args
) SWIG_fail
;
28172 swig_obj
[0] = args
;
28173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28174 if (!SWIG_IsOK(res1
)) {
28175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28177 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 wxString
const &_result_ref
= (arg1
)->GetLabel();
28182 result
= (wxString
*) &_result_ref
;
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28191 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28200 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28201 PyObject
*resultobj
= 0;
28202 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28203 wxString
*result
= 0 ;
28206 PyObject
*swig_obj
[1] ;
28208 if (!args
) SWIG_fail
;
28209 swig_obj
[0] = args
;
28210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28211 if (!SWIG_IsOK(res1
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28214 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 wxString
const &_result_ref
= (arg1
)->GetText();
28219 result
= (wxString
*) &_result_ref
;
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28228 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28237 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28238 PyObject
*resultobj
= 0;
28239 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28243 PyObject
*swig_obj
[1] ;
28245 if (!args
) SWIG_fail
;
28246 swig_obj
[0] = args
;
28247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28248 if (!SWIG_IsOK(res1
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28251 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (int)(arg1
)->GetImage();
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_From_int(static_cast< int >(result
));
28265 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28266 PyObject
*resultobj
= 0;
28267 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28271 PyObject
*swig_obj
[1] ;
28273 if (!args
) SWIG_fail
;
28274 swig_obj
[0] = args
;
28275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28276 if (!SWIG_IsOK(res1
)) {
28277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28279 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 result
= (long)(arg1
)->GetData();
28283 wxPyEndAllowThreads(__tstate
);
28284 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= SWIG_From_long(static_cast< long >(result
));
28293 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28294 PyObject
*resultobj
= 0;
28295 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28299 PyObject
*swig_obj
[1] ;
28301 if (!args
) SWIG_fail
;
28302 swig_obj
[0] = args
;
28303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28304 if (!SWIG_IsOK(res1
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28307 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (long)(arg1
)->GetMask();
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28314 resultobj
= SWIG_From_long(static_cast< long >(result
));
28321 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28322 PyObject
*resultobj
= 0;
28323 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28324 wxListItem
*result
= 0 ;
28327 PyObject
*swig_obj
[1] ;
28329 if (!args
) SWIG_fail
;
28330 swig_obj
[0] = args
;
28331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28332 if (!SWIG_IsOK(res1
)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28335 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28340 result
= (wxListItem
*) &_result_ref
;
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28352 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28353 PyObject
*resultobj
= 0;
28354 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28358 PyObject
*swig_obj
[1] ;
28360 if (!args
) SWIG_fail
;
28361 swig_obj
[0] = args
;
28362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28363 if (!SWIG_IsOK(res1
)) {
28364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28366 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (long)(arg1
)->GetCacheFrom();
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= SWIG_From_long(static_cast< long >(result
));
28380 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28381 PyObject
*resultobj
= 0;
28382 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28386 PyObject
*swig_obj
[1] ;
28388 if (!args
) SWIG_fail
;
28389 swig_obj
[0] = args
;
28390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28391 if (!SWIG_IsOK(res1
)) {
28392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28394 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 result
= (long)(arg1
)->GetCacheTo();
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_From_long(static_cast< long >(result
));
28408 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28409 PyObject
*resultobj
= 0;
28410 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28414 PyObject
*swig_obj
[1] ;
28416 if (!args
) SWIG_fail
;
28417 swig_obj
[0] = args
;
28418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28419 if (!SWIG_IsOK(res1
)) {
28420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28422 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28438 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
= 0;
28440 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28446 PyObject
* obj0
= 0 ;
28447 PyObject
* obj1
= 0 ;
28448 char * kwnames
[] = {
28449 (char *) "self",(char *) "editCancelled", NULL
28452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28454 if (!SWIG_IsOK(res1
)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28457 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28458 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28459 if (!SWIG_IsOK(ecode2
)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28462 arg2
= static_cast< bool >(val2
);
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 (arg1
)->SetEditCanceled(arg2
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_Py_Void();
28476 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28479 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28480 return SWIG_Py_Void();
28483 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28484 return SWIG_Python_InitShadowInstance(args
);
28487 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
= 0;
28489 wxWindow
*arg1
= (wxWindow
*) 0 ;
28490 int arg2
= (int) -1 ;
28491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28495 long arg5
= (long) wxLC_ICON
;
28496 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28497 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28498 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28499 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28500 wxPyListCtrl
*result
= 0 ;
28511 bool temp7
= false ;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj1
= 0 ;
28514 PyObject
* obj2
= 0 ;
28515 PyObject
* obj3
= 0 ;
28516 PyObject
* obj4
= 0 ;
28517 PyObject
* obj5
= 0 ;
28518 PyObject
* obj6
= 0 ;
28519 char * kwnames
[] = {
28520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28528 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28531 if (!SWIG_IsOK(ecode2
)) {
28532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28534 arg2
= static_cast< int >(val2
);
28539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28545 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28549 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28550 if (!SWIG_IsOK(ecode5
)) {
28551 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28553 arg5
= static_cast< long >(val5
);
28556 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28557 if (!SWIG_IsOK(res6
)) {
28558 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28563 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28567 arg7
= wxString_in_helper(obj6
);
28568 if (arg7
== NULL
) SWIG_fail
;
28573 if (!wxPyCheckForApp()) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28594 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28595 PyObject
*resultobj
= 0;
28596 wxPyListCtrl
*result
= 0 ;
28598 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28600 if (!wxPyCheckForApp()) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28613 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28614 PyObject
*resultobj
= 0;
28615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28616 wxWindow
*arg2
= (wxWindow
*) 0 ;
28617 int arg3
= (int) -1 ;
28618 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28619 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28620 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28621 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28622 long arg6
= (long) wxLC_ICON
;
28623 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28624 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28625 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28626 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28640 bool temp8
= false ;
28641 PyObject
* obj0
= 0 ;
28642 PyObject
* obj1
= 0 ;
28643 PyObject
* obj2
= 0 ;
28644 PyObject
* obj3
= 0 ;
28645 PyObject
* obj4
= 0 ;
28646 PyObject
* obj5
= 0 ;
28647 PyObject
* obj6
= 0 ;
28648 PyObject
* obj7
= 0 ;
28649 char * kwnames
[] = {
28650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28658 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28660 if (!SWIG_IsOK(res2
)) {
28661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28666 if (!SWIG_IsOK(ecode3
)) {
28667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28669 arg3
= static_cast< int >(val3
);
28674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28684 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28685 if (!SWIG_IsOK(ecode6
)) {
28686 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28688 arg6
= static_cast< long >(val6
);
28691 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28692 if (!SWIG_IsOK(res7
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28698 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28702 arg8
= wxString_in_helper(obj7
);
28703 if (arg8
== NULL
) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28730 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
= 0;
28732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28733 PyObject
*arg2
= (PyObject
*) 0 ;
28734 PyObject
*arg3
= (PyObject
*) 0 ;
28737 PyObject
* obj0
= 0 ;
28738 PyObject
* obj1
= 0 ;
28739 PyObject
* obj2
= 0 ;
28740 char * kwnames
[] = {
28741 (char *) "self",(char *) "self",(char *) "_class", NULL
28744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28746 if (!SWIG_IsOK(res1
)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28749 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_Py_Void();
28765 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
= 0;
28767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28769 wxListItem
*result
= 0 ;
28774 PyObject
* obj0
= 0 ;
28775 PyObject
* obj1
= 0 ;
28776 char * kwnames
[] = {
28777 (char *) "self",(char *) "col", NULL
28780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28782 if (!SWIG_IsOK(res1
)) {
28783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28785 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28787 if (!SWIG_IsOK(ecode2
)) {
28788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28790 arg2
= static_cast< int >(val2
);
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28798 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28806 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28807 PyObject
*resultobj
= 0;
28808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28810 wxListItem
*arg3
= 0 ;
28818 PyObject
* obj0
= 0 ;
28819 PyObject
* obj1
= 0 ;
28820 PyObject
* obj2
= 0 ;
28821 char * kwnames
[] = {
28822 (char *) "self",(char *) "col",(char *) "item", NULL
28825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28827 if (!SWIG_IsOK(res1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28832 if (!SWIG_IsOK(ecode2
)) {
28833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28835 arg2
= static_cast< int >(val2
);
28836 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28837 if (!SWIG_IsOK(res3
)) {
28838 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28843 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28859 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
= 0;
28861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "self",(char *) "col", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28879 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28881 if (!SWIG_IsOK(ecode2
)) {
28882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28884 arg2
= static_cast< int >(val2
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_From_int(static_cast< int >(result
));
28898 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
= 0;
28900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 PyObject
* obj1
= 0 ;
28912 PyObject
* obj2
= 0 ;
28913 char * kwnames
[] = {
28914 (char *) "self",(char *) "col",(char *) "width", NULL
28917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28919 if (!SWIG_IsOK(res1
)) {
28920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28922 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28924 if (!SWIG_IsOK(ecode2
)) {
28925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28927 arg2
= static_cast< int >(val2
);
28928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28929 if (!SWIG_IsOK(ecode3
)) {
28930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28932 arg3
= static_cast< int >(val3
);
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28948 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28949 PyObject
*resultobj
= 0;
28950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28954 PyObject
*swig_obj
[1] ;
28956 if (!args
) SWIG_fail
;
28957 swig_obj
[0] = args
;
28958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28959 if (!SWIG_IsOK(res1
)) {
28960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28962 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= SWIG_From_int(static_cast< int >(result
));
28976 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28977 PyObject
*resultobj
= 0;
28978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28982 PyObject
*swig_obj
[1] ;
28984 if (!args
) SWIG_fail
;
28985 swig_obj
[0] = args
;
28986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28987 if (!SWIG_IsOK(res1
)) {
28988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28990 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29004 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29005 PyObject
*resultobj
= 0;
29006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29007 wxTextCtrl
*result
= 0 ;
29010 PyObject
*swig_obj
[1] ;
29012 if (!args
) SWIG_fail
;
29013 swig_obj
[0] = args
;
29014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29015 if (!SWIG_IsOK(res1
)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29018 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= wxPyMake_wxObject(result
, 0);
29034 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
= 0;
29036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29038 int arg3
= (int) 0 ;
29039 wxListItem
*result
= 0 ;
29046 PyObject
* obj0
= 0 ;
29047 PyObject
* obj1
= 0 ;
29048 PyObject
* obj2
= 0 ;
29049 char * kwnames
[] = {
29050 (char *) "self",(char *) "itemId",(char *) "col", NULL
29053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29055 if (!SWIG_IsOK(res1
)) {
29056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29058 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29059 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29060 if (!SWIG_IsOK(ecode2
)) {
29061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29063 arg2
= static_cast< long >(val2
);
29065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29066 if (!SWIG_IsOK(ecode3
)) {
29067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29069 arg3
= static_cast< int >(val3
);
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29086 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
= 0;
29088 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29089 wxListItem
*arg2
= 0 ;
29095 PyObject
* obj0
= 0 ;
29096 PyObject
* obj1
= 0 ;
29097 char * kwnames
[] = {
29098 (char *) "self",(char *) "info", NULL
29101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29103 if (!SWIG_IsOK(res1
)) {
29104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29106 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29108 if (!SWIG_IsOK(res2
)) {
29109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29114 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 result
= (bool)(arg1
)->SetItem(*arg2
);
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29130 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
= 0;
29132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29135 wxString
*arg4
= 0 ;
29136 int arg5
= (int) -1 ;
29144 bool temp4
= false ;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 PyObject
* obj2
= 0 ;
29150 PyObject
* obj3
= 0 ;
29151 PyObject
* obj4
= 0 ;
29152 char * kwnames
[] = {
29153 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29158 if (!SWIG_IsOK(res1
)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29161 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29163 if (!SWIG_IsOK(ecode2
)) {
29164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29166 arg2
= static_cast< long >(val2
);
29167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29168 if (!SWIG_IsOK(ecode3
)) {
29169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29171 arg3
= static_cast< int >(val3
);
29173 arg4
= wxString_in_helper(obj3
);
29174 if (arg4
== NULL
) SWIG_fail
;
29178 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29179 if (!SWIG_IsOK(ecode5
)) {
29180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29182 arg5
= static_cast< int >(val5
);
29185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29186 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 resultobj
= SWIG_From_long(static_cast< long >(result
));
29205 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
= 0;
29207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29217 PyObject
* obj0
= 0 ;
29218 PyObject
* obj1
= 0 ;
29219 PyObject
* obj2
= 0 ;
29220 char * kwnames
[] = {
29221 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",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_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29229 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29230 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29231 if (!SWIG_IsOK(ecode2
)) {
29232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29234 arg2
= static_cast< long >(val2
);
29235 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29236 if (!SWIG_IsOK(ecode3
)) {
29237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29239 arg3
= static_cast< long >(val3
);
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29246 resultobj
= SWIG_From_int(static_cast< int >(result
));
29253 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29254 PyObject
*resultobj
= 0;
29255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 PyObject
* obj2
= 0 ;
29271 PyObject
* obj3
= 0 ;
29272 char * kwnames
[] = {
29273 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29278 if (!SWIG_IsOK(res1
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29281 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29282 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29283 if (!SWIG_IsOK(ecode2
)) {
29284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29286 arg2
= static_cast< long >(val2
);
29287 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29288 if (!SWIG_IsOK(ecode3
)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29291 arg3
= static_cast< long >(val3
);
29292 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29293 if (!SWIG_IsOK(ecode4
)) {
29294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29296 arg4
= static_cast< long >(val4
);
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29312 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
= 0;
29314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29317 int arg4
= (int) -1 ;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 PyObject
* obj2
= 0 ;
29330 PyObject
* obj3
= 0 ;
29331 char * kwnames
[] = {
29332 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29337 if (!SWIG_IsOK(res1
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29340 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29341 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29342 if (!SWIG_IsOK(ecode2
)) {
29343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29345 arg2
= static_cast< long >(val2
);
29346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29347 if (!SWIG_IsOK(ecode3
)) {
29348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29350 arg3
= static_cast< int >(val3
);
29352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29353 if (!SWIG_IsOK(ecode4
)) {
29354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29356 arg4
= static_cast< int >(val4
);
29359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29360 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29373 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29374 PyObject
*resultobj
= 0;
29375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29388 PyObject
* obj0
= 0 ;
29389 PyObject
* obj1
= 0 ;
29390 PyObject
* obj2
= 0 ;
29391 PyObject
* obj3
= 0 ;
29392 char * kwnames
[] = {
29393 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29398 if (!SWIG_IsOK(res1
)) {
29399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29401 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29402 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29403 if (!SWIG_IsOK(ecode2
)) {
29404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29406 arg2
= static_cast< long >(val2
);
29407 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29408 if (!SWIG_IsOK(ecode3
)) {
29409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29411 arg3
= static_cast< long >(val3
);
29412 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29413 if (!SWIG_IsOK(ecode4
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29416 arg4
= static_cast< int >(val4
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29432 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
= 0;
29434 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "item", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29454 if (!SWIG_IsOK(ecode2
)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29457 arg2
= static_cast< long >(val2
);
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29477 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
= 0;
29479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29481 wxString
*arg3
= 0 ;
29486 bool temp3
= false ;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 PyObject
* obj2
= 0 ;
29490 char * kwnames
[] = {
29491 (char *) "self",(char *) "item",(char *) "str", NULL
29494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29496 if (!SWIG_IsOK(res1
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29499 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29500 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29501 if (!SWIG_IsOK(ecode2
)) {
29502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29504 arg2
= static_cast< long >(val2
);
29506 arg3
= wxString_in_helper(obj2
);
29507 if (arg3
== NULL
) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= SWIG_Py_Void();
29531 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
= 0;
29533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29540 PyObject
* obj0
= 0 ;
29541 PyObject
* obj1
= 0 ;
29542 char * kwnames
[] = {
29543 (char *) "self",(char *) "item", NULL
29546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29548 if (!SWIG_IsOK(res1
)) {
29549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29551 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29553 if (!SWIG_IsOK(ecode2
)) {
29554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29556 arg2
= static_cast< long >(val2
);
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= SWIG_From_long(static_cast< long >(result
));
29570 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29571 PyObject
*resultobj
= 0;
29572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 char * kwnames
[] = {
29586 (char *) "self",(char *) "item",(char *) "data", NULL
29589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29591 if (!SWIG_IsOK(res1
)) {
29592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29594 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29595 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29596 if (!SWIG_IsOK(ecode2
)) {
29597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29599 arg2
= static_cast< long >(val2
);
29600 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29601 if (!SWIG_IsOK(ecode3
)) {
29602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29604 arg3
= static_cast< long >(val3
);
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29620 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29629 PyObject
* obj0
= 0 ;
29630 PyObject
* obj1
= 0 ;
29631 char * kwnames
[] = {
29632 (char *) "self",(char *) "item", NULL
29635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29637 if (!SWIG_IsOK(res1
)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29640 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29642 if (!SWIG_IsOK(ecode2
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29645 arg2
= static_cast< long >(val2
);
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29659 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29660 PyObject
*resultobj
= 0;
29661 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29663 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29671 PyObject
* obj0
= 0 ;
29672 PyObject
* obj1
= 0 ;
29673 PyObject
* obj2
= 0 ;
29674 char * kwnames
[] = {
29675 (char *) "self",(char *) "item",(char *) "code", NULL
29678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29683 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29684 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29685 if (!SWIG_IsOK(ecode2
)) {
29686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29688 arg2
= static_cast< long >(val2
);
29690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29691 if (!SWIG_IsOK(ecode3
)) {
29692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29694 arg3
= static_cast< int >(val3
);
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29699 wxPyEndAllowThreads(__tstate
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29709 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
= 0;
29711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29713 wxPoint
*arg3
= 0 ;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 PyObject
* obj2
= 0 ;
29723 char * kwnames
[] = {
29724 (char *) "self",(char *) "item",(char *) "pos", NULL
29727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29729 if (!SWIG_IsOK(res1
)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29732 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29733 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29734 if (!SWIG_IsOK(ecode2
)) {
29735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29737 arg2
= static_cast< long >(val2
);
29740 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29757 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29758 PyObject
*resultobj
= 0;
29759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29763 PyObject
*swig_obj
[1] ;
29765 if (!args
) SWIG_fail
;
29766 swig_obj
[0] = args
;
29767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29771 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= SWIG_From_int(static_cast< int >(result
));
29785 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29786 PyObject
*resultobj
= 0;
29787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29791 PyObject
*swig_obj
[1] ;
29793 if (!args
) SWIG_fail
;
29794 swig_obj
[0] = args
;
29795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29796 if (!SWIG_IsOK(res1
)) {
29797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29799 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29802 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= SWIG_From_int(static_cast< int >(result
));
29813 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29814 PyObject
*resultobj
= 0;
29815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29819 PyObject
*swig_obj
[1] ;
29821 if (!args
) SWIG_fail
;
29822 swig_obj
[0] = args
;
29823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29824 if (!SWIG_IsOK(res1
)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29827 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29841 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29842 PyObject
*resultobj
= 0;
29843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29845 bool arg3
= (bool) false ;
29852 PyObject
* obj0
= 0 ;
29853 PyObject
* obj1
= 0 ;
29854 PyObject
* obj2
= 0 ;
29855 char * kwnames
[] = {
29856 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29861 if (!SWIG_IsOK(res1
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29864 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29866 if (!SWIG_IsOK(ecode2
)) {
29867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29869 arg2
= static_cast< int >(val2
);
29871 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29872 if (!SWIG_IsOK(ecode3
)) {
29873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29875 arg3
= static_cast< bool >(val3
);
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 (arg1
)->SetItemSpacing(arg2
,arg3
);
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= SWIG_Py_Void();
29890 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29891 PyObject
*resultobj
= 0;
29892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29896 PyObject
*swig_obj
[1] ;
29898 if (!args
) SWIG_fail
;
29899 swig_obj
[0] = args
;
29900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29901 if (!SWIG_IsOK(res1
)) {
29902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29904 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= SWIG_From_int(static_cast< int >(result
));
29918 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29919 PyObject
*resultobj
= 0;
29920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29924 PyObject
*swig_obj
[1] ;
29926 if (!args
) SWIG_fail
;
29927 swig_obj
[0] = args
;
29928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29929 if (!SWIG_IsOK(res1
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29936 wxPyEndAllowThreads(__tstate
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29939 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29946 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
= 0;
29948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29949 wxColour
*arg2
= 0 ;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 char * kwnames
[] = {
29956 (char *) "self",(char *) "col", NULL
29959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29961 if (!SWIG_IsOK(res1
)) {
29962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29964 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_Py_Void();
29982 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29983 PyObject
*resultobj
= 0;
29984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29988 PyObject
*swig_obj
[1] ;
29990 if (!args
) SWIG_fail
;
29991 swig_obj
[0] = args
;
29992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29993 if (!SWIG_IsOK(res1
)) {
29994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29996 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= SWIG_From_long(static_cast< long >(result
));
30010 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
= 0;
30012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30014 bool arg3
= (bool) true ;
30021 PyObject
* obj0
= 0 ;
30022 PyObject
* obj1
= 0 ;
30023 PyObject
* obj2
= 0 ;
30024 char * kwnames
[] = {
30025 (char *) "self",(char *) "style",(char *) "add", NULL
30028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30030 if (!SWIG_IsOK(res1
)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30033 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30034 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30035 if (!SWIG_IsOK(ecode2
)) {
30036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30038 arg2
= static_cast< long >(val2
);
30040 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30041 if (!SWIG_IsOK(ecode3
)) {
30042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30044 arg3
= static_cast< bool >(val3
);
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 (arg1
)->SetSingleStyle(arg2
,arg3
);
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= SWIG_Py_Void();
30059 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
= 0;
30061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30063 int arg3
= (int) wxLIST_NEXT_ALL
;
30064 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30074 PyObject
* obj0
= 0 ;
30075 PyObject
* obj1
= 0 ;
30076 PyObject
* obj2
= 0 ;
30077 PyObject
* obj3
= 0 ;
30078 char * kwnames
[] = {
30079 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30084 if (!SWIG_IsOK(res1
)) {
30085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30087 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30088 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30089 if (!SWIG_IsOK(ecode2
)) {
30090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30092 arg2
= static_cast< long >(val2
);
30094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30095 if (!SWIG_IsOK(ecode3
)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30098 arg3
= static_cast< int >(val3
);
30101 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30102 if (!SWIG_IsOK(ecode4
)) {
30103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30105 arg4
= static_cast< int >(val4
);
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30110 wxPyEndAllowThreads(__tstate
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_From_long(static_cast< long >(result
));
30120 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
= 0;
30122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30124 wxImageList
*result
= 0 ;
30129 PyObject
* obj0
= 0 ;
30130 PyObject
* obj1
= 0 ;
30131 char * kwnames
[] = {
30132 (char *) "self",(char *) "which", NULL
30135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30137 if (!SWIG_IsOK(res1
)) {
30138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30140 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30142 if (!SWIG_IsOK(ecode2
)) {
30143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30145 arg2
= static_cast< int >(val2
);
30147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30148 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30149 wxPyEndAllowThreads(__tstate
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30153 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30161 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30162 PyObject
*resultobj
= 0;
30163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30164 wxImageList
*arg2
= (wxImageList
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 PyObject
* obj2
= 0 ;
30175 char * kwnames
[] = {
30176 (char *) "self",(char *) "imageList",(char *) "which", NULL
30179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30184 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30186 if (!SWIG_IsOK(res2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30189 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30191 if (!SWIG_IsOK(ecode3
)) {
30192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30194 arg3
= static_cast< int >(val3
);
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 (arg1
)->SetImageList(arg2
,arg3
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_Py_Void();
30208 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30211 wxImageList
*arg2
= (wxImageList
*) 0 ;
30218 PyObject
* obj0
= 0 ;
30219 PyObject
* obj1
= 0 ;
30220 PyObject
* obj2
= 0 ;
30221 char * kwnames
[] = {
30222 (char *) "self",(char *) "imageList",(char *) "which", NULL
30225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30227 if (!SWIG_IsOK(res1
)) {
30228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30230 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30231 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30232 if (!SWIG_IsOK(res2
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30236 if (!SWIG_IsOK(ecode3
)) {
30237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30239 arg3
= static_cast< int >(val3
);
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 (arg1
)->AssignImageList(arg2
,arg3
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= SWIG_Py_Void();
30253 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30254 PyObject
*resultobj
= 0;
30255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30259 PyObject
*swig_obj
[1] ;
30261 if (!args
) SWIG_fail
;
30262 swig_obj
[0] = args
;
30263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30264 if (!SWIG_IsOK(res1
)) {
30265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30267 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30283 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30284 PyObject
*resultobj
= 0;
30285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30289 PyObject
*swig_obj
[1] ;
30291 if (!args
) SWIG_fail
;
30292 swig_obj
[0] = args
;
30293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30294 if (!SWIG_IsOK(res1
)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30297 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30313 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
= 0;
30315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 char * kwnames
[] = {
30324 (char *) "self",(char *) "item", NULL
30327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30329 if (!SWIG_IsOK(res1
)) {
30330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30332 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30333 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30334 if (!SWIG_IsOK(ecode2
)) {
30335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30337 arg2
= static_cast< long >(val2
);
30339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 (arg1
)->RefreshItem(arg2
);
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= SWIG_Py_Void();
30351 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30352 PyObject
*resultobj
= 0;
30353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30362 PyObject
* obj0
= 0 ;
30363 PyObject
* obj1
= 0 ;
30364 PyObject
* obj2
= 0 ;
30365 char * kwnames
[] = {
30366 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30371 if (!SWIG_IsOK(res1
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30374 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30375 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30376 if (!SWIG_IsOK(ecode2
)) {
30377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30379 arg2
= static_cast< long >(val2
);
30380 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30381 if (!SWIG_IsOK(ecode3
)) {
30382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30384 arg3
= static_cast< long >(val3
);
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 (arg1
)->RefreshItems(arg2
,arg3
);
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 resultobj
= SWIG_Py_Void();
30398 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
= 0;
30400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30401 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30407 PyObject
* obj0
= 0 ;
30408 PyObject
* obj1
= 0 ;
30409 char * kwnames
[] = {
30410 (char *) "self",(char *) "flag", NULL
30413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30415 if (!SWIG_IsOK(res1
)) {
30416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30418 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30421 if (!SWIG_IsOK(ecode2
)) {
30422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30424 arg2
= static_cast< int >(val2
);
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 result
= (bool)(arg1
)->Arrange(arg2
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30441 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
= 0;
30443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30450 PyObject
* obj0
= 0 ;
30451 PyObject
* obj1
= 0 ;
30452 char * kwnames
[] = {
30453 (char *) "self",(char *) "item", NULL
30456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30458 if (!SWIG_IsOK(res1
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30461 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30462 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30463 if (!SWIG_IsOK(ecode2
)) {
30464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30466 arg2
= static_cast< long >(val2
);
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 result
= (bool)(arg1
)->DeleteItem(arg2
);
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30482 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30483 PyObject
*resultobj
= 0;
30484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30488 PyObject
*swig_obj
[1] ;
30490 if (!args
) SWIG_fail
;
30491 swig_obj
[0] = args
;
30492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30496 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (bool)(arg1
)->DeleteAllItems();
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30512 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
= 0;
30514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char * kwnames
[] = {
30524 (char *) "self",(char *) "col", NULL
30527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30534 if (!SWIG_IsOK(ecode2
)) {
30535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30537 arg2
= static_cast< int >(val2
);
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30553 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30554 PyObject
*resultobj
= 0;
30555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30559 PyObject
*swig_obj
[1] ;
30561 if (!args
) SWIG_fail
;
30562 swig_obj
[0] = args
;
30563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30567 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 result
= (bool)(arg1
)->DeleteAllColumns();
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30583 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30584 PyObject
*resultobj
= 0;
30585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30588 PyObject
*swig_obj
[1] ;
30590 if (!args
) SWIG_fail
;
30591 swig_obj
[0] = args
;
30592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30596 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 (arg1
)->ClearAll();
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= SWIG_Py_Void();
30610 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
= 0;
30612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 char * kwnames
[] = {
30621 (char *) "self",(char *) "item", NULL
30624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30626 if (!SWIG_IsOK(res1
)) {
30627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30629 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30630 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30631 if (!SWIG_IsOK(ecode2
)) {
30632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30634 arg2
= static_cast< long >(val2
);
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 (arg1
)->EditLabel(arg2
);
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30641 resultobj
= SWIG_Py_Void();
30648 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30649 PyObject
*resultobj
= 0;
30650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30657 PyObject
* obj0
= 0 ;
30658 PyObject
* obj1
= 0 ;
30659 char * kwnames
[] = {
30660 (char *) "self",(char *) "item", NULL
30663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30665 if (!SWIG_IsOK(res1
)) {
30666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30668 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30669 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30670 if (!SWIG_IsOK(ecode2
)) {
30671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30673 arg2
= static_cast< long >(val2
);
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30677 wxPyEndAllowThreads(__tstate
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30689 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
= 0;
30691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30693 wxString
*arg3
= 0 ;
30694 bool arg4
= (bool) false ;
30700 bool temp3
= false ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 PyObject
* obj3
= 0 ;
30707 char * kwnames
[] = {
30708 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30713 if (!SWIG_IsOK(res1
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30716 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30717 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30718 if (!SWIG_IsOK(ecode2
)) {
30719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30721 arg2
= static_cast< long >(val2
);
30723 arg3
= wxString_in_helper(obj2
);
30724 if (arg3
== NULL
) SWIG_fail
;
30728 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30729 if (!SWIG_IsOK(ecode4
)) {
30730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30732 arg4
= static_cast< bool >(val4
);
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30736 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30737 wxPyEndAllowThreads(__tstate
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30740 resultobj
= SWIG_From_long(static_cast< long >(result
));
30755 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
= 0;
30757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 PyObject
* obj2
= 0 ;
30770 char * kwnames
[] = {
30771 (char *) "self",(char *) "start",(char *) "data", NULL
30774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30776 if (!SWIG_IsOK(res1
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30779 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30781 if (!SWIG_IsOK(ecode2
)) {
30782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30784 arg2
= static_cast< long >(val2
);
30785 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30786 if (!SWIG_IsOK(ecode3
)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30789 arg3
= static_cast< long >(val3
);
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30796 resultobj
= SWIG_From_long(static_cast< long >(result
));
30803 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30804 PyObject
*resultobj
= 0;
30805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30807 wxPoint
*arg3
= 0 ;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 PyObject
* obj2
= 0 ;
30820 PyObject
* obj3
= 0 ;
30821 char * kwnames
[] = {
30822 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30827 if (!SWIG_IsOK(res1
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30832 if (!SWIG_IsOK(ecode2
)) {
30833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30835 arg2
= static_cast< long >(val2
);
30838 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30841 if (!SWIG_IsOK(ecode4
)) {
30842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30844 arg4
= static_cast< int >(val4
);
30846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30847 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= SWIG_From_long(static_cast< long >(result
));
30858 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
= 0;
30860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30861 wxPoint
*arg2
= 0 ;
30868 int res3
= SWIG_TMPOBJ
;
30869 PyObject
* obj0
= 0 ;
30870 PyObject
* obj1
= 0 ;
30871 char * kwnames
[] = {
30872 (char *) "self",(char *) "point", NULL
30876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30878 if (!SWIG_IsOK(res1
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30892 resultobj
= SWIG_From_long(static_cast< long >(result
));
30893 if (SWIG_IsTmpObj(res3
)) {
30894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30896 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30905 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
= 0;
30907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30908 wxPoint
*arg2
= 0 ;
30910 long *arg4
= (long *) 0 ;
30916 int res3
= SWIG_TMPOBJ
;
30918 int res4
= SWIG_TMPOBJ
;
30919 PyObject
* obj0
= 0 ;
30920 PyObject
* obj1
= 0 ;
30921 char * kwnames
[] = {
30922 (char *) "self",(char *) "point", NULL
30927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= SWIG_From_long(static_cast< long >(result
));
30944 if (SWIG_IsTmpObj(res3
)) {
30945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30947 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30950 if (SWIG_IsTmpObj(res4
)) {
30951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30953 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30962 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30963 PyObject
*resultobj
= 0;
30964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30965 wxListItem
*arg2
= 0 ;
30971 PyObject
* obj0
= 0 ;
30972 PyObject
* obj1
= 0 ;
30973 char * kwnames
[] = {
30974 (char *) "self",(char *) "info", NULL
30977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30979 if (!SWIG_IsOK(res1
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30982 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30984 if (!SWIG_IsOK(res2
)) {
30985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30990 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 result
= (long)(arg1
)->InsertItem(*arg2
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= SWIG_From_long(static_cast< long >(result
));
31004 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
= 0;
31006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31008 wxString
*arg3
= 0 ;
31009 int arg4
= (int) -1 ;
31015 bool temp3
= false ;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 PyObject
* obj2
= 0 ;
31021 PyObject
* obj3
= 0 ;
31022 char * kwnames
[] = {
31023 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31028 if (!SWIG_IsOK(res1
)) {
31029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31031 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31032 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31033 if (!SWIG_IsOK(ecode2
)) {
31034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31036 arg2
= static_cast< long >(val2
);
31038 arg3
= wxString_in_helper(obj2
);
31039 if (arg3
== NULL
) SWIG_fail
;
31043 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31044 if (!SWIG_IsOK(ecode4
)) {
31045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31047 arg4
= static_cast< int >(val4
);
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 resultobj
= SWIG_From_long(static_cast< long >(result
));
31070 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31071 PyObject
*resultobj
= 0;
31072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31082 PyObject
* obj0
= 0 ;
31083 PyObject
* obj1
= 0 ;
31084 PyObject
* obj2
= 0 ;
31085 char * kwnames
[] = {
31086 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31091 if (!SWIG_IsOK(res1
)) {
31092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31094 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31095 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31096 if (!SWIG_IsOK(ecode2
)) {
31097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31099 arg2
= static_cast< long >(val2
);
31100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31101 if (!SWIG_IsOK(ecode3
)) {
31102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31104 arg3
= static_cast< int >(val3
);
31106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31107 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31111 resultobj
= SWIG_From_long(static_cast< long >(result
));
31118 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
= 0;
31120 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31122 wxString
*arg3
= 0 ;
31129 bool temp3
= false ;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 PyObject
* obj2
= 0 ;
31135 PyObject
* obj3
= 0 ;
31136 char * kwnames
[] = {
31137 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31142 if (!SWIG_IsOK(res1
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31145 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31146 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31147 if (!SWIG_IsOK(ecode2
)) {
31148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31150 arg2
= static_cast< long >(val2
);
31152 arg3
= wxString_in_helper(obj2
);
31153 if (arg3
== NULL
) SWIG_fail
;
31156 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31157 if (!SWIG_IsOK(ecode4
)) {
31158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31160 arg4
= static_cast< int >(val4
);
31162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31163 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31164 wxPyEndAllowThreads(__tstate
);
31165 if (PyErr_Occurred()) SWIG_fail
;
31167 resultobj
= SWIG_From_long(static_cast< long >(result
));
31182 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31183 PyObject
*resultobj
= 0;
31184 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31186 wxListItem
*arg3
= 0 ;
31194 PyObject
* obj0
= 0 ;
31195 PyObject
* obj1
= 0 ;
31196 PyObject
* obj2
= 0 ;
31197 char * kwnames
[] = {
31198 (char *) "self",(char *) "col",(char *) "info", NULL
31201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31203 if (!SWIG_IsOK(res1
)) {
31204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31206 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31207 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31208 if (!SWIG_IsOK(ecode2
)) {
31209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31211 arg2
= static_cast< long >(val2
);
31212 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31213 if (!SWIG_IsOK(res3
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31219 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31226 resultobj
= SWIG_From_long(static_cast< long >(result
));
31233 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
= 0;
31235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31237 wxString
*arg3
= 0 ;
31238 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31239 int arg5
= (int) -1 ;
31245 bool temp3
= false ;
31250 PyObject
* obj0
= 0 ;
31251 PyObject
* obj1
= 0 ;
31252 PyObject
* obj2
= 0 ;
31253 PyObject
* obj3
= 0 ;
31254 PyObject
* obj4
= 0 ;
31255 char * kwnames
[] = {
31256 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31261 if (!SWIG_IsOK(res1
)) {
31262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31264 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31265 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31266 if (!SWIG_IsOK(ecode2
)) {
31267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31269 arg2
= static_cast< long >(val2
);
31271 arg3
= wxString_in_helper(obj2
);
31272 if (arg3
== NULL
) SWIG_fail
;
31276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31277 if (!SWIG_IsOK(ecode4
)) {
31278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31280 arg4
= static_cast< int >(val4
);
31283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31284 if (!SWIG_IsOK(ecode5
)) {
31285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31287 arg5
= static_cast< int >(val5
);
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= SWIG_From_long(static_cast< long >(result
));
31310 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
= 0;
31312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 PyObject
* obj1
= 0 ;
31320 char * kwnames
[] = {
31321 (char *) "self",(char *) "count", NULL
31324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31326 if (!SWIG_IsOK(res1
)) {
31327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31329 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31330 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31331 if (!SWIG_IsOK(ecode2
)) {
31332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31334 arg2
= static_cast< long >(val2
);
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 (arg1
)->SetItemCount(arg2
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= SWIG_Py_Void();
31348 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
= 0;
31350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31360 PyObject
* obj0
= 0 ;
31361 PyObject
* obj1
= 0 ;
31362 PyObject
* obj2
= 0 ;
31363 char * kwnames
[] = {
31364 (char *) "self",(char *) "dx",(char *) "dy", NULL
31367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31372 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31374 if (!SWIG_IsOK(ecode2
)) {
31375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31377 arg2
= static_cast< int >(val2
);
31378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31379 if (!SWIG_IsOK(ecode3
)) {
31380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31382 arg3
= static_cast< int >(val3
);
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31398 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
= 0;
31400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31402 wxColour
*arg3
= 0 ;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 PyObject
* obj2
= 0 ;
31411 char * kwnames
[] = {
31412 (char *) "self",(char *) "item",(char *) "col", NULL
31415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31417 if (!SWIG_IsOK(res1
)) {
31418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31420 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31421 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31422 if (!SWIG_IsOK(ecode2
)) {
31423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31425 arg2
= static_cast< long >(val2
);
31428 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31436 resultobj
= SWIG_Py_Void();
31443 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31444 PyObject
*resultobj
= 0;
31445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31452 PyObject
* obj0
= 0 ;
31453 PyObject
* obj1
= 0 ;
31454 char * kwnames
[] = {
31455 (char *) "self",(char *) "item", NULL
31458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31460 if (!SWIG_IsOK(res1
)) {
31461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31463 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31465 if (!SWIG_IsOK(ecode2
)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31468 arg2
= static_cast< long >(val2
);
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31471 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31475 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31482 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
= 0;
31484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31486 wxColour
*arg3
= 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 PyObject
* obj2
= 0 ;
31495 char * kwnames
[] = {
31496 (char *) "self",(char *) "item",(char *) "col", NULL
31499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31501 if (!SWIG_IsOK(res1
)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31504 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31505 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31506 if (!SWIG_IsOK(ecode2
)) {
31507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31509 arg2
= static_cast< long >(val2
);
31512 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_Py_Void();
31527 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
= 0;
31529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 char * kwnames
[] = {
31539 (char *) "self",(char *) "item", NULL
31542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31544 if (!SWIG_IsOK(res1
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31547 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31548 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31549 if (!SWIG_IsOK(ecode2
)) {
31550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31552 arg2
= static_cast< long >(val2
);
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31559 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31566 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31567 PyObject
*resultobj
= 0;
31568 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31577 PyObject
* obj0
= 0 ;
31578 PyObject
* obj1
= 0 ;
31579 PyObject
* obj2
= 0 ;
31580 char * kwnames
[] = {
31581 (char *) "self",(char *) "item",(char *) "f", NULL
31584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31586 if (!SWIG_IsOK(res1
)) {
31587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31589 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31590 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31591 if (!SWIG_IsOK(ecode2
)) {
31592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31594 arg2
= static_cast< long >(val2
);
31595 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31596 if (!SWIG_IsOK(res3
)) {
31597 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31602 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31609 resultobj
= SWIG_Py_Void();
31616 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31617 PyObject
*resultobj
= 0;
31618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31625 PyObject
* obj0
= 0 ;
31626 PyObject
* obj1
= 0 ;
31627 char * kwnames
[] = {
31628 (char *) "self",(char *) "item", NULL
31631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31633 if (!SWIG_IsOK(res1
)) {
31634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31636 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31637 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31638 if (!SWIG_IsOK(ecode2
)) {
31639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31641 arg2
= static_cast< long >(val2
);
31643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31644 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31645 wxPyEndAllowThreads(__tstate
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31648 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31655 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
= 0;
31657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31658 PyObject
*arg2
= (PyObject
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 char * kwnames
[] = {
31665 (char *) "self",(char *) "func", NULL
31668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31670 if (!SWIG_IsOK(res1
)) {
31671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31673 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31690 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31691 PyObject
*resultobj
= 0;
31692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31693 wxWindow
*result
= 0 ;
31696 PyObject
*swig_obj
[1] ;
31698 if (!args
) SWIG_fail
;
31699 swig_obj
[0] = args
;
31700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31701 if (!SWIG_IsOK(res1
)) {
31702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31704 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31712 resultobj
= wxPyMake_wxObject(result
, 0);
31720 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= 0;
31722 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31723 SwigValueWrapper
<wxVisualAttributes
> result
;
31726 PyObject
* obj0
= 0 ;
31727 char * kwnames
[] = {
31728 (char *) "variant", NULL
31731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31734 if (!SWIG_IsOK(ecode1
)) {
31735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31737 arg1
= static_cast< wxWindowVariant
>(val1
);
31740 if (!wxPyCheckForApp()) SWIG_fail
;
31741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31742 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31746 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31753 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31756 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31757 return SWIG_Py_Void();
31760 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31761 return SWIG_Python_InitShadowInstance(args
);
31764 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
= 0;
31766 wxWindow
*arg1
= (wxWindow
*) 0 ;
31767 int arg2
= (int) -1 ;
31768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31772 long arg5
= (long) wxLC_REPORT
;
31773 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31774 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31775 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31776 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31777 wxListView
*result
= 0 ;
31788 bool temp7
= false ;
31789 PyObject
* obj0
= 0 ;
31790 PyObject
* obj1
= 0 ;
31791 PyObject
* obj2
= 0 ;
31792 PyObject
* obj3
= 0 ;
31793 PyObject
* obj4
= 0 ;
31794 PyObject
* obj5
= 0 ;
31795 PyObject
* obj6
= 0 ;
31796 char * kwnames
[] = {
31797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31802 if (!SWIG_IsOK(res1
)) {
31803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31808 if (!SWIG_IsOK(ecode2
)) {
31809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31811 arg2
= static_cast< int >(val2
);
31816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31826 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31827 if (!SWIG_IsOK(ecode5
)) {
31828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31830 arg5
= static_cast< long >(val5
);
31833 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31834 if (!SWIG_IsOK(res6
)) {
31835 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31840 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31844 arg7
= wxString_in_helper(obj6
);
31845 if (arg7
== NULL
) SWIG_fail
;
31850 if (!wxPyCheckForApp()) SWIG_fail
;
31851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31852 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31871 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31872 PyObject
*resultobj
= 0;
31873 wxListView
*result
= 0 ;
31875 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31877 if (!wxPyCheckForApp()) SWIG_fail
;
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 result
= (wxListView
*)new wxListView();
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31890 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
= 0;
31892 wxListView
*arg1
= (wxListView
*) 0 ;
31893 wxWindow
*arg2
= (wxWindow
*) 0 ;
31894 int arg3
= (int) -1 ;
31895 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31896 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31897 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31898 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31899 long arg6
= (long) wxLC_REPORT
;
31900 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31901 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31902 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31903 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31917 bool temp8
= false ;
31918 PyObject
* obj0
= 0 ;
31919 PyObject
* obj1
= 0 ;
31920 PyObject
* obj2
= 0 ;
31921 PyObject
* obj3
= 0 ;
31922 PyObject
* obj4
= 0 ;
31923 PyObject
* obj5
= 0 ;
31924 PyObject
* obj6
= 0 ;
31925 PyObject
* obj7
= 0 ;
31926 char * kwnames
[] = {
31927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31932 if (!SWIG_IsOK(res1
)) {
31933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31935 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31937 if (!SWIG_IsOK(res2
)) {
31938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31943 if (!SWIG_IsOK(ecode3
)) {
31944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31946 arg3
= static_cast< int >(val3
);
31951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31961 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31962 if (!SWIG_IsOK(ecode6
)) {
31963 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31965 arg6
= static_cast< long >(val6
);
31968 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31969 if (!SWIG_IsOK(res7
)) {
31970 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31975 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31979 arg8
= wxString_in_helper(obj7
);
31980 if (arg8
== NULL
) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32007 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
= 0;
32009 wxListView
*arg1
= (wxListView
*) 0 ;
32011 bool arg3
= (bool) true ;
32018 PyObject
* obj0
= 0 ;
32019 PyObject
* obj1
= 0 ;
32020 PyObject
* obj2
= 0 ;
32021 char * kwnames
[] = {
32022 (char *) "self",(char *) "n",(char *) "on", NULL
32025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32027 if (!SWIG_IsOK(res1
)) {
32028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32030 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32031 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32032 if (!SWIG_IsOK(ecode2
)) {
32033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32035 arg2
= static_cast< long >(val2
);
32037 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32038 if (!SWIG_IsOK(ecode3
)) {
32039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32041 arg3
= static_cast< bool >(val3
);
32044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32045 (arg1
)->Select(arg2
,arg3
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32049 resultobj
= SWIG_Py_Void();
32056 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32057 PyObject
*resultobj
= 0;
32058 wxListView
*arg1
= (wxListView
*) 0 ;
32064 PyObject
* obj0
= 0 ;
32065 PyObject
* obj1
= 0 ;
32066 char * kwnames
[] = {
32067 (char *) "self",(char *) "index", NULL
32070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32072 if (!SWIG_IsOK(res1
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32075 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32076 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32077 if (!SWIG_IsOK(ecode2
)) {
32078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32080 arg2
= static_cast< long >(val2
);
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32083 (arg1
)->Focus(arg2
);
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32087 resultobj
= SWIG_Py_Void();
32094 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32095 PyObject
*resultobj
= 0;
32096 wxListView
*arg1
= (wxListView
*) 0 ;
32100 PyObject
*swig_obj
[1] ;
32102 if (!args
) SWIG_fail
;
32103 swig_obj
[0] = args
;
32104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32105 if (!SWIG_IsOK(res1
)) {
32106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32108 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 resultobj
= SWIG_From_long(static_cast< long >(result
));
32122 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32123 PyObject
*resultobj
= 0;
32124 wxListView
*arg1
= (wxListView
*) 0 ;
32131 PyObject
* obj0
= 0 ;
32132 PyObject
* obj1
= 0 ;
32133 char * kwnames
[] = {
32134 (char *) "self",(char *) "item", NULL
32137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32142 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32143 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32144 if (!SWIG_IsOK(ecode2
)) {
32145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32147 arg2
= static_cast< long >(val2
);
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 resultobj
= SWIG_From_long(static_cast< long >(result
));
32161 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32162 PyObject
*resultobj
= 0;
32163 wxListView
*arg1
= (wxListView
*) 0 ;
32167 PyObject
*swig_obj
[1] ;
32169 if (!args
) SWIG_fail
;
32170 swig_obj
[0] = args
;
32171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32172 if (!SWIG_IsOK(res1
)) {
32173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32175 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32178 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32179 wxPyEndAllowThreads(__tstate
);
32180 if (PyErr_Occurred()) SWIG_fail
;
32182 resultobj
= SWIG_From_long(static_cast< long >(result
));
32189 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32190 PyObject
*resultobj
= 0;
32191 wxListView
*arg1
= (wxListView
*) 0 ;
32198 PyObject
* obj0
= 0 ;
32199 PyObject
* obj1
= 0 ;
32200 char * kwnames
[] = {
32201 (char *) "self",(char *) "index", NULL
32204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32206 if (!SWIG_IsOK(res1
)) {
32207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32209 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32210 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32211 if (!SWIG_IsOK(ecode2
)) {
32212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32214 arg2
= static_cast< long >(val2
);
32216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32217 result
= (bool)(arg1
)->IsSelected(arg2
);
32218 wxPyEndAllowThreads(__tstate
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32230 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
= 0;
32232 wxListView
*arg1
= (wxListView
*) 0 ;
32241 PyObject
* obj0
= 0 ;
32242 PyObject
* obj1
= 0 ;
32243 PyObject
* obj2
= 0 ;
32244 char * kwnames
[] = {
32245 (char *) "self",(char *) "col",(char *) "image", NULL
32248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32250 if (!SWIG_IsOK(res1
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32253 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32255 if (!SWIG_IsOK(ecode2
)) {
32256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32258 arg2
= static_cast< int >(val2
);
32259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32260 if (!SWIG_IsOK(ecode3
)) {
32261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32263 arg3
= static_cast< int >(val3
);
32265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32266 (arg1
)->SetColumnImage(arg2
,arg3
);
32267 wxPyEndAllowThreads(__tstate
);
32268 if (PyErr_Occurred()) SWIG_fail
;
32270 resultobj
= SWIG_Py_Void();
32277 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32278 PyObject
*resultobj
= 0;
32279 wxListView
*arg1
= (wxListView
*) 0 ;
32285 PyObject
* obj0
= 0 ;
32286 PyObject
* obj1
= 0 ;
32287 char * kwnames
[] = {
32288 (char *) "self",(char *) "col", NULL
32291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32293 if (!SWIG_IsOK(res1
)) {
32294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32296 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32298 if (!SWIG_IsOK(ecode2
)) {
32299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32301 arg2
= static_cast< int >(val2
);
32303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 (arg1
)->ClearColumnImage(arg2
);
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 resultobj
= SWIG_Py_Void();
32315 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32318 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32319 return SWIG_Py_Void();
32322 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32323 return SWIG_Python_InitShadowInstance(args
);
32326 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32327 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32332 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32333 PyObject
*pyobj
= 0;
32337 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32339 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32346 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32347 PyObject
*resultobj
= 0;
32348 wxTreeItemId
*result
= 0 ;
32350 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32353 result
= (wxTreeItemId
*)new wxTreeItemId();
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32364 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32365 PyObject
*resultobj
= 0;
32366 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32369 PyObject
*swig_obj
[1] ;
32371 if (!args
) SWIG_fail
;
32372 swig_obj
[0] = args
;
32373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32374 if (!SWIG_IsOK(res1
)) {
32375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32377 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32385 resultobj
= SWIG_Py_Void();
32392 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32393 PyObject
*resultobj
= 0;
32394 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32398 PyObject
*swig_obj
[1] ;
32400 if (!args
) SWIG_fail
;
32401 swig_obj
[0] = args
;
32402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32403 if (!SWIG_IsOK(res1
)) {
32404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32406 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32422 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32423 PyObject
*resultobj
= 0;
32424 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32425 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32431 PyObject
* obj0
= 0 ;
32432 PyObject
* obj1
= 0 ;
32433 char * kwnames
[] = {
32434 (char *) "self",(char *) "other", NULL
32437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32439 if (!SWIG_IsOK(res1
)) {
32440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32442 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32444 if (!SWIG_IsOK(res2
)) {
32445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32447 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32463 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32464 PyObject
*resultobj
= 0;
32465 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32466 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32472 PyObject
* obj0
= 0 ;
32473 PyObject
* obj1
= 0 ;
32474 char * kwnames
[] = {
32475 (char *) "self",(char *) "other", NULL
32478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32480 if (!SWIG_IsOK(res1
)) {
32481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32483 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32485 if (!SWIG_IsOK(res2
)) {
32486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32488 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32504 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32505 PyObject
*resultobj
= 0;
32506 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32507 void *arg2
= (void *) 0 ;
32511 PyObject
*swig_obj
[2] ;
32513 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32515 if (!SWIG_IsOK(res1
)) {
32516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32518 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32519 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32520 if (!SWIG_IsOK(res2
)) {
32521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32523 if (arg1
) (arg1
)->m_pItem
= arg2
;
32525 resultobj
= SWIG_Py_Void();
32532 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32533 PyObject
*resultobj
= 0;
32534 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32538 PyObject
*swig_obj
[1] ;
32540 if (!args
) SWIG_fail
;
32541 swig_obj
[0] = args
;
32542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32543 if (!SWIG_IsOK(res1
)) {
32544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32546 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32547 result
= (void *) ((arg1
)->m_pItem
);
32548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32555 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32558 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32559 return SWIG_Py_Void();
32562 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32563 return SWIG_Python_InitShadowInstance(args
);
32566 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
= 0;
32568 PyObject
*arg1
= (PyObject
*) NULL
;
32569 wxPyTreeItemData
*result
= 0 ;
32570 PyObject
* obj0
= 0 ;
32571 char * kwnames
[] = {
32572 (char *) "obj", NULL
32575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32592 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32593 PyObject
*resultobj
= 0;
32594 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32597 PyObject
*swig_obj
[1] ;
32599 if (!args
) SWIG_fail
;
32600 swig_obj
[0] = args
;
32601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32602 if (!SWIG_IsOK(res1
)) {
32603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32605 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32613 resultobj
= SWIG_Py_Void();
32620 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32621 PyObject
*resultobj
= 0;
32622 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32623 PyObject
*result
= 0 ;
32626 PyObject
*swig_obj
[1] ;
32628 if (!args
) SWIG_fail
;
32629 swig_obj
[0] = args
;
32630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32631 if (!SWIG_IsOK(res1
)) {
32632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32634 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 result
= (PyObject
*)(arg1
)->GetData();
32638 wxPyEndAllowThreads(__tstate
);
32639 if (PyErr_Occurred()) SWIG_fail
;
32641 resultobj
= result
;
32648 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32649 PyObject
*resultobj
= 0;
32650 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32651 PyObject
*arg2
= (PyObject
*) 0 ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 char * kwnames
[] = {
32657 (char *) "self",(char *) "obj", NULL
32660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32662 if (!SWIG_IsOK(res1
)) {
32663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32665 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32669 (arg1
)->SetData(arg2
);
32670 wxPyEndAllowThreads(__tstate
);
32671 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= SWIG_Py_Void();
32680 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32681 PyObject
*resultobj
= 0;
32682 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32683 wxTreeItemId
*result
= 0 ;
32686 PyObject
*swig_obj
[1] ;
32688 if (!args
) SWIG_fail
;
32689 swig_obj
[0] = args
;
32690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32691 if (!SWIG_IsOK(res1
)) {
32692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32694 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32699 result
= (wxTreeItemId
*) &_result_ref
;
32701 wxPyEndAllowThreads(__tstate
);
32702 if (PyErr_Occurred()) SWIG_fail
;
32704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32711 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
= 0;
32713 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32714 wxTreeItemId
*arg2
= 0 ;
32719 PyObject
* obj0
= 0 ;
32720 PyObject
* obj1
= 0 ;
32721 char * kwnames
[] = {
32722 (char *) "self",(char *) "id", NULL
32725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32727 if (!SWIG_IsOK(res1
)) {
32728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32730 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32732 if (!SWIG_IsOK(res2
)) {
32733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32738 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= SWIG_Py_Void();
32752 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32753 PyObject
*resultobj
= 0;
32754 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32757 PyObject
*swig_obj
[1] ;
32759 if (!args
) SWIG_fail
;
32760 swig_obj
[0] = args
;
32761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32765 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 wxPyTreeItemData_Destroy(arg1
);
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32772 resultobj
= SWIG_Py_Void();
32779 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32782 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32783 return SWIG_Py_Void();
32786 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32787 return SWIG_Python_InitShadowInstance(args
);
32790 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32793 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32794 if (!SWIG_IsOK(res
)) {
32795 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32800 wxTreeItemId
* temp
;
32801 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32802 wxNullTreeItemId
= *temp
;
32803 if (SWIG_IsNewObj(res
)) delete temp
;
32812 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32813 PyObject
*pyobj
= 0;
32815 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32820 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32821 PyObject
*resultobj
= 0;
32822 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32823 int arg2
= (int) 0 ;
32824 wxTreeEvent
*result
= 0 ;
32830 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32832 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32833 if (!SWIG_IsOK(ecode1
)) {
32834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32836 arg1
= static_cast< wxEventType
>(val1
);
32839 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32840 if (!SWIG_IsOK(ecode2
)) {
32841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32843 arg2
= static_cast< int >(val2
);
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32848 wxPyEndAllowThreads(__tstate
);
32849 if (PyErr_Occurred()) SWIG_fail
;
32851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32858 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32859 PyObject
*resultobj
= 0;
32861 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32862 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32863 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32864 wxTreeEvent
*result
= 0 ;
32872 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32873 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32874 if (!SWIG_IsOK(ecode1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32877 arg1
= static_cast< wxEventType
>(val1
);
32878 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32879 if (!SWIG_IsOK(res2
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32882 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32884 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32885 if (!SWIG_IsOK(res3
)) {
32886 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32891 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32895 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32896 wxPyEndAllowThreads(__tstate
);
32897 if (PyErr_Occurred()) SWIG_fail
;
32899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32906 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32910 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32912 if ((argc
>= 0) && (argc
<= 2)) {
32917 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32918 _v
= SWIG_CheckState(res
);
32921 if (!_v
) goto check_1
;
32923 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
32927 if ((argc
>= 2) && (argc
<= 3)) {
32928 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
32932 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
32937 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32938 PyObject
*resultobj
= 0;
32939 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32940 wxTreeItemId result
;
32943 PyObject
*swig_obj
[1] ;
32945 if (!args
) SWIG_fail
;
32946 swig_obj
[0] = args
;
32947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32948 if (!SWIG_IsOK(res1
)) {
32949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32951 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32954 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32955 wxPyEndAllowThreads(__tstate
);
32956 if (PyErr_Occurred()) SWIG_fail
;
32958 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32965 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32966 PyObject
*resultobj
= 0;
32967 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32968 wxTreeItemId
*arg2
= 0 ;
32973 PyObject
* obj0
= 0 ;
32974 PyObject
* obj1
= 0 ;
32975 char * kwnames
[] = {
32976 (char *) "self",(char *) "item", NULL
32979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32981 if (!SWIG_IsOK(res1
)) {
32982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32984 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32986 if (!SWIG_IsOK(res2
)) {
32987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32992 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32996 wxPyEndAllowThreads(__tstate
);
32997 if (PyErr_Occurred()) SWIG_fail
;
32999 resultobj
= SWIG_Py_Void();
33006 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33007 PyObject
*resultobj
= 0;
33008 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33009 wxTreeItemId result
;
33012 PyObject
*swig_obj
[1] ;
33014 if (!args
) SWIG_fail
;
33015 swig_obj
[0] = args
;
33016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33017 if (!SWIG_IsOK(res1
)) {
33018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33020 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33024 wxPyEndAllowThreads(__tstate
);
33025 if (PyErr_Occurred()) SWIG_fail
;
33027 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33034 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33035 PyObject
*resultobj
= 0;
33036 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33037 wxTreeItemId
*arg2
= 0 ;
33042 PyObject
* obj0
= 0 ;
33043 PyObject
* obj1
= 0 ;
33044 char * kwnames
[] = {
33045 (char *) "self",(char *) "item", NULL
33048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33050 if (!SWIG_IsOK(res1
)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33053 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33055 if (!SWIG_IsOK(res2
)) {
33056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33061 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33064 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33065 wxPyEndAllowThreads(__tstate
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33068 resultobj
= SWIG_Py_Void();
33075 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33076 PyObject
*resultobj
= 0;
33077 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33081 PyObject
*swig_obj
[1] ;
33083 if (!args
) SWIG_fail
;
33084 swig_obj
[0] = args
;
33085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33086 if (!SWIG_IsOK(res1
)) {
33087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33089 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33103 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
= 0;
33105 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33106 wxPoint
*arg2
= 0 ;
33110 PyObject
* obj0
= 0 ;
33111 PyObject
* obj1
= 0 ;
33112 char * kwnames
[] = {
33113 (char *) "self",(char *) "pt", NULL
33116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33118 if (!SWIG_IsOK(res1
)) {
33119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33121 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= SWIG_Py_Void();
33139 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33140 PyObject
*resultobj
= 0;
33141 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33142 wxKeyEvent
*result
= 0 ;
33145 PyObject
*swig_obj
[1] ;
33147 if (!args
) SWIG_fail
;
33148 swig_obj
[0] = args
;
33149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33150 if (!SWIG_IsOK(res1
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33153 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33158 result
= (wxKeyEvent
*) &_result_ref
;
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33170 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33171 PyObject
*resultobj
= 0;
33172 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33176 PyObject
*swig_obj
[1] ;
33178 if (!args
) SWIG_fail
;
33179 swig_obj
[0] = args
;
33180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33181 if (!SWIG_IsOK(res1
)) {
33182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33184 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_From_int(static_cast< int >(result
));
33198 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
= 0;
33200 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33201 wxKeyEvent
*arg2
= 0 ;
33206 PyObject
* obj0
= 0 ;
33207 PyObject
* obj1
= 0 ;
33208 char * kwnames
[] = {
33209 (char *) "self",(char *) "evt", NULL
33212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33214 if (!SWIG_IsOK(res1
)) {
33215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33217 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33219 if (!SWIG_IsOK(res2
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33225 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33228 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33229 wxPyEndAllowThreads(__tstate
);
33230 if (PyErr_Occurred()) SWIG_fail
;
33232 resultobj
= SWIG_Py_Void();
33239 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33240 PyObject
*resultobj
= 0;
33241 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33242 wxString
*result
= 0 ;
33245 PyObject
*swig_obj
[1] ;
33247 if (!args
) SWIG_fail
;
33248 swig_obj
[0] = args
;
33249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33250 if (!SWIG_IsOK(res1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33253 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33258 result
= (wxString
*) &_result_ref
;
33260 wxPyEndAllowThreads(__tstate
);
33261 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33267 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33276 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33277 PyObject
*resultobj
= 0;
33278 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33279 wxString
*arg2
= 0 ;
33282 bool temp2
= false ;
33283 PyObject
* obj0
= 0 ;
33284 PyObject
* obj1
= 0 ;
33285 char * kwnames
[] = {
33286 (char *) "self",(char *) "label", NULL
33289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33291 if (!SWIG_IsOK(res1
)) {
33292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33294 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33296 arg2
= wxString_in_helper(obj1
);
33297 if (arg2
== NULL
) SWIG_fail
;
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 (arg1
)->SetLabel((wxString
const &)*arg2
);
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 resultobj
= SWIG_Py_Void();
33321 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33322 PyObject
*resultobj
= 0;
33323 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33327 PyObject
*swig_obj
[1] ;
33329 if (!args
) SWIG_fail
;
33330 swig_obj
[0] = args
;
33331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33332 if (!SWIG_IsOK(res1
)) {
33333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33335 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33338 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33351 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33352 PyObject
*resultobj
= 0;
33353 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33359 PyObject
* obj0
= 0 ;
33360 PyObject
* obj1
= 0 ;
33361 char * kwnames
[] = {
33362 (char *) "self",(char *) "editCancelled", NULL
33365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33367 if (!SWIG_IsOK(res1
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33370 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33371 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33372 if (!SWIG_IsOK(ecode2
)) {
33373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33375 arg2
= static_cast< bool >(val2
);
33377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33378 (arg1
)->SetEditCanceled(arg2
);
33379 wxPyEndAllowThreads(__tstate
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= SWIG_Py_Void();
33389 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33390 PyObject
*resultobj
= 0;
33391 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33392 wxString
*arg2
= 0 ;
33395 bool temp2
= false ;
33396 PyObject
* obj0
= 0 ;
33397 PyObject
* obj1
= 0 ;
33398 char * kwnames
[] = {
33399 (char *) "self",(char *) "toolTip", NULL
33402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33404 if (!SWIG_IsOK(res1
)) {
33405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33407 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33409 arg2
= wxString_in_helper(obj1
);
33410 if (arg2
== NULL
) SWIG_fail
;
33414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33415 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= SWIG_Py_Void();
33434 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33435 PyObject
*resultobj
= 0;
33436 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33440 PyObject
*swig_obj
[1] ;
33442 if (!args
) SWIG_fail
;
33443 swig_obj
[0] = args
;
33444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33445 if (!SWIG_IsOK(res1
)) {
33446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33448 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 result
= (arg1
)->GetToolTip();
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33468 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33471 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33472 return SWIG_Py_Void();
33475 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33476 return SWIG_Python_InitShadowInstance(args
);
33479 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33480 PyObject
*resultobj
= 0;
33481 wxWindow
*arg1
= (wxWindow
*) 0 ;
33482 int arg2
= (int) -1 ;
33483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33487 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33488 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33489 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33490 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33491 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33492 wxPyTreeCtrl
*result
= 0 ;
33503 bool temp7
= false ;
33504 PyObject
* obj0
= 0 ;
33505 PyObject
* obj1
= 0 ;
33506 PyObject
* obj2
= 0 ;
33507 PyObject
* obj3
= 0 ;
33508 PyObject
* obj4
= 0 ;
33509 PyObject
* obj5
= 0 ;
33510 PyObject
* obj6
= 0 ;
33511 char * kwnames
[] = {
33512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33520 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33523 if (!SWIG_IsOK(ecode2
)) {
33524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33526 arg2
= static_cast< int >(val2
);
33531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33537 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33541 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33542 if (!SWIG_IsOK(ecode5
)) {
33543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33545 arg5
= static_cast< long >(val5
);
33548 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33549 if (!SWIG_IsOK(res6
)) {
33550 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33555 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33559 arg7
= wxString_in_helper(obj6
);
33560 if (arg7
== NULL
) SWIG_fail
;
33565 if (!wxPyCheckForApp()) SWIG_fail
;
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33586 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33587 PyObject
*resultobj
= 0;
33588 wxPyTreeCtrl
*result
= 0 ;
33590 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33592 if (!wxPyCheckForApp()) SWIG_fail
;
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33595 wxPyEndAllowThreads(__tstate
);
33596 if (PyErr_Occurred()) SWIG_fail
;
33598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33605 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33606 PyObject
*resultobj
= 0;
33607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33608 wxWindow
*arg2
= (wxWindow
*) 0 ;
33609 int arg3
= (int) -1 ;
33610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33614 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33615 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33616 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33617 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33618 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33632 bool temp8
= false ;
33633 PyObject
* obj0
= 0 ;
33634 PyObject
* obj1
= 0 ;
33635 PyObject
* obj2
= 0 ;
33636 PyObject
* obj3
= 0 ;
33637 PyObject
* obj4
= 0 ;
33638 PyObject
* obj5
= 0 ;
33639 PyObject
* obj6
= 0 ;
33640 PyObject
* obj7
= 0 ;
33641 char * kwnames
[] = {
33642 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33647 if (!SWIG_IsOK(res1
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33650 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33652 if (!SWIG_IsOK(res2
)) {
33653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33658 if (!SWIG_IsOK(ecode3
)) {
33659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33661 arg3
= static_cast< int >(val3
);
33666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33676 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33677 if (!SWIG_IsOK(ecode6
)) {
33678 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33680 arg6
= static_cast< long >(val6
);
33683 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33684 if (!SWIG_IsOK(res7
)) {
33685 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33690 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33694 arg8
= wxString_in_helper(obj7
);
33695 if (arg8
== NULL
) SWIG_fail
;
33700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33702 wxPyEndAllowThreads(__tstate
);
33703 if (PyErr_Occurred()) SWIG_fail
;
33706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33722 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33723 PyObject
*resultobj
= 0;
33724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33725 PyObject
*arg2
= (PyObject
*) 0 ;
33726 PyObject
*arg3
= (PyObject
*) 0 ;
33729 PyObject
* obj0
= 0 ;
33730 PyObject
* obj1
= 0 ;
33731 PyObject
* obj2
= 0 ;
33732 char * kwnames
[] = {
33733 (char *) "self",(char *) "self",(char *) "_class", NULL
33736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33738 if (!SWIG_IsOK(res1
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33741 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33746 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33750 resultobj
= SWIG_Py_Void();
33757 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33758 PyObject
*resultobj
= 0;
33759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33760 unsigned int result
;
33763 PyObject
*swig_obj
[1] ;
33765 if (!args
) SWIG_fail
;
33766 swig_obj
[0] = args
;
33767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33771 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33785 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33786 PyObject
*resultobj
= 0;
33787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33788 unsigned int result
;
33791 PyObject
*swig_obj
[1] ;
33793 if (!args
) SWIG_fail
;
33794 swig_obj
[0] = args
;
33795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33796 if (!SWIG_IsOK(res1
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33799 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33806 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33813 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33814 PyObject
*resultobj
= 0;
33815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33816 unsigned int arg2
;
33819 unsigned int val2
;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 char * kwnames
[] = {
33824 (char *) "self",(char *) "indent", NULL
33827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33829 if (!SWIG_IsOK(res1
)) {
33830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33832 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33833 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33834 if (!SWIG_IsOK(ecode2
)) {
33835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33837 arg2
= static_cast< unsigned int >(val2
);
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 (arg1
)->SetIndent(arg2
);
33841 wxPyEndAllowThreads(__tstate
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33844 resultobj
= SWIG_Py_Void();
33851 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33852 PyObject
*resultobj
= 0;
33853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33854 unsigned int result
;
33857 PyObject
*swig_obj
[1] ;
33859 if (!args
) SWIG_fail
;
33860 swig_obj
[0] = args
;
33861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33862 if (!SWIG_IsOK(res1
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33865 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33869 wxPyEndAllowThreads(__tstate
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33872 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33879 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33880 PyObject
*resultobj
= 0;
33881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33882 unsigned int arg2
;
33885 unsigned int val2
;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 char * kwnames
[] = {
33890 (char *) "self",(char *) "spacing", NULL
33893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33895 if (!SWIG_IsOK(res1
)) {
33896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33898 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33899 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33900 if (!SWIG_IsOK(ecode2
)) {
33901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33903 arg2
= static_cast< unsigned int >(val2
);
33905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33906 (arg1
)->SetSpacing(arg2
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33910 resultobj
= SWIG_Py_Void();
33917 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33918 PyObject
*resultobj
= 0;
33919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33920 wxImageList
*result
= 0 ;
33923 PyObject
*swig_obj
[1] ;
33925 if (!args
) SWIG_fail
;
33926 swig_obj
[0] = args
;
33927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33928 if (!SWIG_IsOK(res1
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33931 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33947 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33948 PyObject
*resultobj
= 0;
33949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33950 wxImageList
*result
= 0 ;
33953 PyObject
*swig_obj
[1] ;
33955 if (!args
) SWIG_fail
;
33956 swig_obj
[0] = args
;
33957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33958 if (!SWIG_IsOK(res1
)) {
33959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33961 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33965 wxPyEndAllowThreads(__tstate
);
33966 if (PyErr_Occurred()) SWIG_fail
;
33969 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33977 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33978 PyObject
*resultobj
= 0;
33979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33980 wxImageList
*arg2
= (wxImageList
*) 0 ;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char * kwnames
[] = {
33988 (char *) "self",(char *) "imageList", NULL
33991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33993 if (!SWIG_IsOK(res1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33996 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33998 if (!SWIG_IsOK(res2
)) {
33999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34001 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 (arg1
)->SetImageList(arg2
);
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34008 resultobj
= SWIG_Py_Void();
34015 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34016 PyObject
*resultobj
= 0;
34017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34018 wxImageList
*arg2
= (wxImageList
*) 0 ;
34023 PyObject
* obj0
= 0 ;
34024 PyObject
* obj1
= 0 ;
34025 char * kwnames
[] = {
34026 (char *) "self",(char *) "imageList", NULL
34029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34031 if (!SWIG_IsOK(res1
)) {
34032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34034 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34036 if (!SWIG_IsOK(res2
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34039 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 (arg1
)->SetStateImageList(arg2
);
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= SWIG_Py_Void();
34053 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
= 0;
34055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34056 wxImageList
*arg2
= (wxImageList
*) 0 ;
34060 PyObject
* obj0
= 0 ;
34061 PyObject
* obj1
= 0 ;
34062 char * kwnames
[] = {
34063 (char *) "self",(char *) "imageList", NULL
34066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34071 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34072 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34073 if (!SWIG_IsOK(res2
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 (arg1
)->AssignImageList(arg2
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 resultobj
= SWIG_Py_Void();
34089 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
= 0;
34091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34092 wxImageList
*arg2
= (wxImageList
*) 0 ;
34096 PyObject
* obj0
= 0 ;
34097 PyObject
* obj1
= 0 ;
34098 char * kwnames
[] = {
34099 (char *) "self",(char *) "imageList", NULL
34102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34108 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34109 if (!SWIG_IsOK(res2
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 (arg1
)->AssignStateImageList(arg2
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= SWIG_Py_Void();
34125 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
= 0;
34127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34128 wxTreeItemId
*arg2
= 0 ;
34134 PyObject
* obj0
= 0 ;
34135 PyObject
* obj1
= 0 ;
34136 char * kwnames
[] = {
34137 (char *) "self",(char *) "item", NULL
34140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34142 if (!SWIG_IsOK(res1
)) {
34143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34145 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34147 if (!SWIG_IsOK(res2
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34153 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34173 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
= 0;
34175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34176 wxTreeItemId
*arg2
= 0 ;
34177 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34185 PyObject
* obj0
= 0 ;
34186 PyObject
* obj1
= 0 ;
34187 PyObject
* obj2
= 0 ;
34188 char * kwnames
[] = {
34189 (char *) "self",(char *) "item",(char *) "which", NULL
34192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34194 if (!SWIG_IsOK(res1
)) {
34195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34197 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34199 if (!SWIG_IsOK(res2
)) {
34200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34208 if (!SWIG_IsOK(ecode3
)) {
34209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34211 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= SWIG_From_int(static_cast< int >(result
));
34226 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34227 PyObject
*resultobj
= 0;
34228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34229 wxTreeItemId
*arg2
= 0 ;
34230 wxPyTreeItemData
*result
= 0 ;
34235 PyObject
* obj0
= 0 ;
34236 PyObject
* obj1
= 0 ;
34237 char * kwnames
[] = {
34238 (char *) "self",(char *) "item", NULL
34241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34243 if (!SWIG_IsOK(res1
)) {
34244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34246 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34248 if (!SWIG_IsOK(res2
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34254 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34268 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
= 0;
34270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34271 wxTreeItemId
*arg2
= 0 ;
34272 PyObject
*result
= 0 ;
34277 PyObject
* obj0
= 0 ;
34278 PyObject
* obj1
= 0 ;
34279 char * kwnames
[] = {
34280 (char *) "self",(char *) "item", NULL
34283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34285 if (!SWIG_IsOK(res1
)) {
34286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34288 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34290 if (!SWIG_IsOK(res2
)) {
34291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34296 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34299 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34300 wxPyEndAllowThreads(__tstate
);
34301 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= result
;
34310 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34311 PyObject
*resultobj
= 0;
34312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34313 wxTreeItemId
*arg2
= 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "item", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34332 if (!SWIG_IsOK(res2
)) {
34333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34338 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34352 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
= 0;
34354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34355 wxTreeItemId
*arg2
= 0 ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 char * kwnames
[] = {
34364 (char *) "self",(char *) "item", NULL
34367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34369 if (!SWIG_IsOK(res1
)) {
34370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34372 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34374 if (!SWIG_IsOK(res2
)) {
34375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34380 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34394 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
= 0;
34396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34397 wxTreeItemId
*arg2
= 0 ;
34403 PyObject
* obj0
= 0 ;
34404 PyObject
* obj1
= 0 ;
34405 char * kwnames
[] = {
34406 (char *) "self",(char *) "item", NULL
34409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34411 if (!SWIG_IsOK(res1
)) {
34412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34414 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34416 if (!SWIG_IsOK(res2
)) {
34417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34422 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34429 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34436 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
= 0;
34438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34439 wxTreeItemId
*arg2
= 0 ;
34440 wxString
*arg3
= 0 ;
34445 bool temp3
= false ;
34446 PyObject
* obj0
= 0 ;
34447 PyObject
* obj1
= 0 ;
34448 PyObject
* obj2
= 0 ;
34449 char * kwnames
[] = {
34450 (char *) "self",(char *) "item",(char *) "text", NULL
34453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34455 if (!SWIG_IsOK(res1
)) {
34456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34458 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34460 if (!SWIG_IsOK(res2
)) {
34461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34466 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34468 arg3
= wxString_in_helper(obj2
);
34469 if (arg3
== NULL
) SWIG_fail
;
34473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34474 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34475 wxPyEndAllowThreads(__tstate
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34478 resultobj
= SWIG_Py_Void();
34493 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34494 PyObject
*resultobj
= 0;
34495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34496 wxTreeItemId
*arg2
= 0 ;
34498 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34507 PyObject
* obj0
= 0 ;
34508 PyObject
* obj1
= 0 ;
34509 PyObject
* obj2
= 0 ;
34510 PyObject
* obj3
= 0 ;
34511 char * kwnames
[] = {
34512 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34517 if (!SWIG_IsOK(res1
)) {
34518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34520 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34522 if (!SWIG_IsOK(res2
)) {
34523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34528 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34530 if (!SWIG_IsOK(ecode3
)) {
34531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34533 arg3
= static_cast< int >(val3
);
34535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34536 if (!SWIG_IsOK(ecode4
)) {
34537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34539 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34544 wxPyEndAllowThreads(__tstate
);
34545 if (PyErr_Occurred()) SWIG_fail
;
34547 resultobj
= SWIG_Py_Void();
34554 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34555 PyObject
*resultobj
= 0;
34556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34557 wxTreeItemId
*arg2
= 0 ;
34558 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 PyObject
* obj1
= 0 ;
34566 PyObject
* obj2
= 0 ;
34567 char * kwnames
[] = {
34568 (char *) "self",(char *) "item",(char *) "data", NULL
34571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34573 if (!SWIG_IsOK(res1
)) {
34574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34576 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34578 if (!SWIG_IsOK(res2
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34584 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34585 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34586 if (!SWIG_IsOK(res3
)) {
34587 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34591 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= SWIG_Py_Void();
34602 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34603 PyObject
*resultobj
= 0;
34604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34605 wxTreeItemId
*arg2
= 0 ;
34606 PyObject
*arg3
= (PyObject
*) 0 ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 PyObject
* obj2
= 0 ;
34614 char * kwnames
[] = {
34615 (char *) "self",(char *) "item",(char *) "obj", NULL
34618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34620 if (!SWIG_IsOK(res1
)) {
34621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34623 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34625 if (!SWIG_IsOK(res2
)) {
34626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34631 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= SWIG_Py_Void();
34646 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34647 PyObject
*resultobj
= 0;
34648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34649 wxTreeItemId
*arg2
= 0 ;
34650 bool arg3
= (bool) true ;
34657 PyObject
* obj0
= 0 ;
34658 PyObject
* obj1
= 0 ;
34659 PyObject
* obj2
= 0 ;
34660 char * kwnames
[] = {
34661 (char *) "self",(char *) "item",(char *) "has", NULL
34664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34666 if (!SWIG_IsOK(res1
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34671 if (!SWIG_IsOK(res2
)) {
34672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34679 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34680 if (!SWIG_IsOK(ecode3
)) {
34681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34683 arg3
= static_cast< bool >(val3
);
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= SWIG_Py_Void();
34698 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
= 0;
34700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34701 wxTreeItemId
*arg2
= 0 ;
34702 bool arg3
= (bool) true ;
34709 PyObject
* obj0
= 0 ;
34710 PyObject
* obj1
= 0 ;
34711 PyObject
* obj2
= 0 ;
34712 char * kwnames
[] = {
34713 (char *) "self",(char *) "item",(char *) "bold", NULL
34716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemBold" "', 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_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34729 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34731 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34732 if (!SWIG_IsOK(ecode3
)) {
34733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34735 arg3
= static_cast< bool >(val3
);
34738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34739 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34740 wxPyEndAllowThreads(__tstate
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34743 resultobj
= SWIG_Py_Void();
34750 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34751 PyObject
*resultobj
= 0;
34752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34753 wxTreeItemId
*arg2
= 0 ;
34754 bool arg3
= (bool) true ;
34761 PyObject
* obj0
= 0 ;
34762 PyObject
* obj1
= 0 ;
34763 PyObject
* obj2
= 0 ;
34764 char * kwnames
[] = {
34765 (char *) "self",(char *) "item",(char *) "highlight", NULL
34768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34770 if (!SWIG_IsOK(res1
)) {
34771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34775 if (!SWIG_IsOK(res2
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34781 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34783 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34784 if (!SWIG_IsOK(ecode3
)) {
34785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34787 arg3
= static_cast< bool >(val3
);
34790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34791 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34792 wxPyEndAllowThreads(__tstate
);
34793 if (PyErr_Occurred()) SWIG_fail
;
34795 resultobj
= SWIG_Py_Void();
34802 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34803 PyObject
*resultobj
= 0;
34804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34805 wxTreeItemId
*arg2
= 0 ;
34806 wxColour
*arg3
= 0 ;
34812 PyObject
* obj0
= 0 ;
34813 PyObject
* obj1
= 0 ;
34814 PyObject
* obj2
= 0 ;
34815 char * kwnames
[] = {
34816 (char *) "self",(char *) "item",(char *) "col", NULL
34819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34821 if (!SWIG_IsOK(res1
)) {
34822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34824 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34826 if (!SWIG_IsOK(res2
)) {
34827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34832 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34835 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34839 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34840 wxPyEndAllowThreads(__tstate
);
34841 if (PyErr_Occurred()) SWIG_fail
;
34843 resultobj
= SWIG_Py_Void();
34850 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
= 0;
34852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34853 wxTreeItemId
*arg2
= 0 ;
34854 wxColour
*arg3
= 0 ;
34860 PyObject
* obj0
= 0 ;
34861 PyObject
* obj1
= 0 ;
34862 PyObject
* obj2
= 0 ;
34863 char * kwnames
[] = {
34864 (char *) "self",(char *) "item",(char *) "col", NULL
34867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34869 if (!SWIG_IsOK(res1
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34872 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34874 if (!SWIG_IsOK(res2
)) {
34875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34880 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34883 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= SWIG_Py_Void();
34898 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
= 0;
34900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34901 wxTreeItemId
*arg2
= 0 ;
34909 PyObject
* obj0
= 0 ;
34910 PyObject
* obj1
= 0 ;
34911 PyObject
* obj2
= 0 ;
34912 char * kwnames
[] = {
34913 (char *) "self",(char *) "item",(char *) "font", NULL
34916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34918 if (!SWIG_IsOK(res1
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34923 if (!SWIG_IsOK(res2
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34929 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34930 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34931 if (!SWIG_IsOK(res3
)) {
34932 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34937 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34940 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34941 wxPyEndAllowThreads(__tstate
);
34942 if (PyErr_Occurred()) SWIG_fail
;
34944 resultobj
= SWIG_Py_Void();
34951 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34952 PyObject
*resultobj
= 0;
34953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34954 wxTreeItemId
*arg2
= 0 ;
34960 PyObject
* obj0
= 0 ;
34961 PyObject
* obj1
= 0 ;
34962 char * kwnames
[] = {
34963 (char *) "self",(char *) "item", NULL
34966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34968 if (!SWIG_IsOK(res1
)) {
34969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34973 if (!SWIG_IsOK(res2
)) {
34974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34979 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34982 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34983 wxPyEndAllowThreads(__tstate
);
34984 if (PyErr_Occurred()) SWIG_fail
;
34987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34995 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34996 PyObject
*resultobj
= 0;
34997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34998 wxTreeItemId
*arg2
= 0 ;
35004 PyObject
* obj0
= 0 ;
35005 PyObject
* obj1
= 0 ;
35006 char * kwnames
[] = {
35007 (char *) "self",(char *) "item", NULL
35010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35012 if (!SWIG_IsOK(res1
)) {
35013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35015 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35017 if (!SWIG_IsOK(res2
)) {
35018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35023 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35027 wxPyEndAllowThreads(__tstate
);
35028 if (PyErr_Occurred()) SWIG_fail
;
35031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35039 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35040 PyObject
*resultobj
= 0;
35041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35042 wxTreeItemId
*arg2
= 0 ;
35048 PyObject
* obj0
= 0 ;
35049 PyObject
* obj1
= 0 ;
35050 char * kwnames
[] = {
35051 (char *) "self",(char *) "item", NULL
35054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35056 if (!SWIG_IsOK(res1
)) {
35057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35059 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35061 if (!SWIG_IsOK(res2
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35067 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35070 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35071 wxPyEndAllowThreads(__tstate
);
35072 if (PyErr_Occurred()) SWIG_fail
;
35075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35083 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
= 0;
35085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35086 wxTreeItemId
*arg2
= 0 ;
35092 PyObject
* obj0
= 0 ;
35093 PyObject
* obj1
= 0 ;
35094 char * kwnames
[] = {
35095 (char *) "self",(char *) "item", NULL
35098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35100 if (!SWIG_IsOK(res1
)) {
35101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35103 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35105 if (!SWIG_IsOK(res2
)) {
35106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35111 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35114 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35115 wxPyEndAllowThreads(__tstate
);
35116 if (PyErr_Occurred()) SWIG_fail
;
35119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35127 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35128 PyObject
*resultobj
= 0;
35129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35130 wxTreeItemId
*arg2
= 0 ;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 char * kwnames
[] = {
35139 (char *) "self",(char *) "item", NULL
35142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35144 if (!SWIG_IsOK(res1
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35147 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35149 if (!SWIG_IsOK(res2
)) {
35150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35155 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35171 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
= 0;
35173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35174 wxTreeItemId
*arg2
= 0 ;
35175 bool arg3
= (bool) true ;
35183 PyObject
* obj0
= 0 ;
35184 PyObject
* obj1
= 0 ;
35185 PyObject
* obj2
= 0 ;
35186 char * kwnames
[] = {
35187 (char *) "self",(char *) "item",(char *) "recursively", NULL
35190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35192 if (!SWIG_IsOK(res1
)) {
35193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35195 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35197 if (!SWIG_IsOK(res2
)) {
35198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35203 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35205 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35206 if (!SWIG_IsOK(ecode3
)) {
35207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35209 arg3
= static_cast< bool >(val3
);
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35217 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35224 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35225 PyObject
*resultobj
= 0;
35226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35227 wxTreeItemId result
;
35230 PyObject
*swig_obj
[1] ;
35232 if (!args
) SWIG_fail
;
35233 swig_obj
[0] = args
;
35234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35235 if (!SWIG_IsOK(res1
)) {
35236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35238 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35241 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35242 wxPyEndAllowThreads(__tstate
);
35243 if (PyErr_Occurred()) SWIG_fail
;
35245 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35252 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35253 PyObject
*resultobj
= 0;
35254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35255 wxTreeItemId result
;
35258 PyObject
*swig_obj
[1] ;
35260 if (!args
) SWIG_fail
;
35261 swig_obj
[0] = args
;
35262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35263 if (!SWIG_IsOK(res1
)) {
35264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35266 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35280 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35281 PyObject
*resultobj
= 0;
35282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35283 PyObject
*result
= 0 ;
35286 PyObject
*swig_obj
[1] ;
35288 if (!args
) SWIG_fail
;
35289 swig_obj
[0] = args
;
35290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35291 if (!SWIG_IsOK(res1
)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35294 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= result
;
35308 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35309 PyObject
*resultobj
= 0;
35310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35311 wxTreeItemId
*arg2
= 0 ;
35312 wxTreeItemId result
;
35317 PyObject
* obj0
= 0 ;
35318 PyObject
* obj1
= 0 ;
35319 char * kwnames
[] = {
35320 (char *) "self",(char *) "item", NULL
35323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35325 if (!SWIG_IsOK(res1
)) {
35326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35328 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35329 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35330 if (!SWIG_IsOK(res2
)) {
35331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35336 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35339 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35340 wxPyEndAllowThreads(__tstate
);
35341 if (PyErr_Occurred()) SWIG_fail
;
35343 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35350 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35351 PyObject
*resultobj
= 0;
35352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35353 wxTreeItemId
*arg2
= 0 ;
35354 PyObject
*result
= 0 ;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 char * kwnames
[] = {
35362 (char *) "self",(char *) "item", NULL
35365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35367 if (!SWIG_IsOK(res1
)) {
35368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35370 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35372 if (!SWIG_IsOK(res2
)) {
35373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35378 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35381 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35382 wxPyEndAllowThreads(__tstate
);
35383 if (PyErr_Occurred()) SWIG_fail
;
35385 resultobj
= result
;
35392 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35393 PyObject
*resultobj
= 0;
35394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35395 wxTreeItemId
*arg2
= 0 ;
35396 void *arg3
= (void *) 0 ;
35397 PyObject
*result
= 0 ;
35403 PyObject
* obj0
= 0 ;
35404 PyObject
* obj1
= 0 ;
35405 PyObject
* obj2
= 0 ;
35406 char * kwnames
[] = {
35407 (char *) "self",(char *) "item",(char *) "cookie", NULL
35410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35412 if (!SWIG_IsOK(res1
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35415 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35417 if (!SWIG_IsOK(res2
)) {
35418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35423 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35424 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35425 if (!SWIG_IsOK(res3
)) {
35426 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35430 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 resultobj
= result
;
35441 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35442 PyObject
*resultobj
= 0;
35443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35444 wxTreeItemId
*arg2
= 0 ;
35445 wxTreeItemId result
;
35450 PyObject
* obj0
= 0 ;
35451 PyObject
* obj1
= 0 ;
35452 char * kwnames
[] = {
35453 (char *) "self",(char *) "item", NULL
35456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35458 if (!SWIG_IsOK(res1
)) {
35459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35461 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35463 if (!SWIG_IsOK(res2
)) {
35464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35469 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35472 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35476 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35483 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35484 PyObject
*resultobj
= 0;
35485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35486 wxTreeItemId
*arg2
= 0 ;
35487 wxTreeItemId result
;
35492 PyObject
* obj0
= 0 ;
35493 PyObject
* obj1
= 0 ;
35494 char * kwnames
[] = {
35495 (char *) "self",(char *) "item", NULL
35498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35500 if (!SWIG_IsOK(res1
)) {
35501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35503 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35505 if (!SWIG_IsOK(res2
)) {
35506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35511 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35514 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35515 wxPyEndAllowThreads(__tstate
);
35516 if (PyErr_Occurred()) SWIG_fail
;
35518 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35525 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35526 PyObject
*resultobj
= 0;
35527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35528 wxTreeItemId
*arg2
= 0 ;
35529 wxTreeItemId result
;
35534 PyObject
* obj0
= 0 ;
35535 PyObject
* obj1
= 0 ;
35536 char * kwnames
[] = {
35537 (char *) "self",(char *) "item", NULL
35540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35542 if (!SWIG_IsOK(res1
)) {
35543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35545 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35547 if (!SWIG_IsOK(res2
)) {
35548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35553 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35556 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35567 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35568 PyObject
*resultobj
= 0;
35569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35570 wxTreeItemId result
;
35573 PyObject
*swig_obj
[1] ;
35575 if (!args
) SWIG_fail
;
35576 swig_obj
[0] = args
;
35577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35578 if (!SWIG_IsOK(res1
)) {
35579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35581 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35584 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35585 wxPyEndAllowThreads(__tstate
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35588 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35595 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= 0;
35597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35598 wxTreeItemId
*arg2
= 0 ;
35599 wxTreeItemId result
;
35604 PyObject
* obj0
= 0 ;
35605 PyObject
* obj1
= 0 ;
35606 char * kwnames
[] = {
35607 (char *) "self",(char *) "item", NULL
35610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35612 if (!SWIG_IsOK(res1
)) {
35613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35615 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35617 if (!SWIG_IsOK(res2
)) {
35618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35623 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35627 wxPyEndAllowThreads(__tstate
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35630 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35637 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
= 0;
35639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35640 wxTreeItemId
*arg2
= 0 ;
35641 wxTreeItemId result
;
35646 PyObject
* obj0
= 0 ;
35647 PyObject
* obj1
= 0 ;
35648 char * kwnames
[] = {
35649 (char *) "self",(char *) "item", NULL
35652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35654 if (!SWIG_IsOK(res1
)) {
35655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35657 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35659 if (!SWIG_IsOK(res2
)) {
35660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35665 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35679 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35682 wxString
*arg2
= 0 ;
35683 int arg3
= (int) -1 ;
35684 int arg4
= (int) -1 ;
35685 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35686 wxTreeItemId result
;
35689 bool temp2
= false ;
35695 PyObject
* obj0
= 0 ;
35696 PyObject
* obj1
= 0 ;
35697 PyObject
* obj2
= 0 ;
35698 PyObject
* obj3
= 0 ;
35699 PyObject
* obj4
= 0 ;
35700 char * kwnames
[] = {
35701 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35706 if (!SWIG_IsOK(res1
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35709 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35711 arg2
= wxString_in_helper(obj1
);
35712 if (arg2
== NULL
) SWIG_fail
;
35716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35717 if (!SWIG_IsOK(ecode3
)) {
35718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35720 arg3
= static_cast< int >(val3
);
35723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35724 if (!SWIG_IsOK(ecode4
)) {
35725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35727 arg4
= static_cast< int >(val4
);
35730 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35731 if (!SWIG_IsOK(res5
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35756 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35757 PyObject
*resultobj
= 0;
35758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35759 wxTreeItemId
*arg2
= 0 ;
35760 wxString
*arg3
= 0 ;
35761 int arg4
= (int) -1 ;
35762 int arg5
= (int) -1 ;
35763 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35764 wxTreeItemId result
;
35769 bool temp3
= false ;
35775 PyObject
* obj0
= 0 ;
35776 PyObject
* obj1
= 0 ;
35777 PyObject
* obj2
= 0 ;
35778 PyObject
* obj3
= 0 ;
35779 PyObject
* obj4
= 0 ;
35780 PyObject
* obj5
= 0 ;
35781 char * kwnames
[] = {
35782 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35787 if (!SWIG_IsOK(res1
)) {
35788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35790 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35792 if (!SWIG_IsOK(res2
)) {
35793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35798 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35800 arg3
= wxString_in_helper(obj2
);
35801 if (arg3
== NULL
) SWIG_fail
;
35805 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35806 if (!SWIG_IsOK(ecode4
)) {
35807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35809 arg4
= static_cast< int >(val4
);
35812 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35813 if (!SWIG_IsOK(ecode5
)) {
35814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35816 arg5
= static_cast< int >(val5
);
35819 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35820 if (!SWIG_IsOK(res6
)) {
35821 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35830 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35845 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35846 PyObject
*resultobj
= 0;
35847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35848 wxTreeItemId
*arg2
= 0 ;
35849 wxTreeItemId
*arg3
= 0 ;
35850 wxString
*arg4
= 0 ;
35851 int arg5
= (int) -1 ;
35852 int arg6
= (int) -1 ;
35853 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35854 wxTreeItemId result
;
35861 bool temp4
= false ;
35867 PyObject
* obj0
= 0 ;
35868 PyObject
* obj1
= 0 ;
35869 PyObject
* obj2
= 0 ;
35870 PyObject
* obj3
= 0 ;
35871 PyObject
* obj4
= 0 ;
35872 PyObject
* obj5
= 0 ;
35873 PyObject
* obj6
= 0 ;
35874 char * kwnames
[] = {
35875 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35880 if (!SWIG_IsOK(res1
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35885 if (!SWIG_IsOK(res2
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35892 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35893 if (!SWIG_IsOK(res3
)) {
35894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35899 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35901 arg4
= wxString_in_helper(obj3
);
35902 if (arg4
== NULL
) SWIG_fail
;
35906 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35907 if (!SWIG_IsOK(ecode5
)) {
35908 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35910 arg5
= static_cast< int >(val5
);
35913 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35914 if (!SWIG_IsOK(ecode6
)) {
35915 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35917 arg6
= static_cast< int >(val6
);
35920 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35921 if (!SWIG_IsOK(res7
)) {
35922 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35927 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35928 wxPyEndAllowThreads(__tstate
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35931 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35946 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35947 PyObject
*resultobj
= 0;
35948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35949 wxTreeItemId
*arg2
= 0 ;
35951 wxString
*arg4
= 0 ;
35952 int arg5
= (int) -1 ;
35953 int arg6
= (int) -1 ;
35954 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35955 wxTreeItemId result
;
35962 bool temp4
= false ;
35968 PyObject
* obj0
= 0 ;
35969 PyObject
* obj1
= 0 ;
35970 PyObject
* obj2
= 0 ;
35971 PyObject
* obj3
= 0 ;
35972 PyObject
* obj4
= 0 ;
35973 PyObject
* obj5
= 0 ;
35974 PyObject
* obj6
= 0 ;
35975 char * kwnames
[] = {
35976 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35981 if (!SWIG_IsOK(res1
)) {
35982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35984 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35986 if (!SWIG_IsOK(res2
)) {
35987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35992 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35993 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35994 if (!SWIG_IsOK(ecode3
)) {
35995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35997 arg3
= static_cast< size_t >(val3
);
35999 arg4
= wxString_in_helper(obj3
);
36000 if (arg4
== NULL
) SWIG_fail
;
36004 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36005 if (!SWIG_IsOK(ecode5
)) {
36006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36008 arg5
= static_cast< int >(val5
);
36011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36012 if (!SWIG_IsOK(ecode6
)) {
36013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36015 arg6
= static_cast< int >(val6
);
36018 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36019 if (!SWIG_IsOK(res7
)) {
36020 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36025 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36026 wxPyEndAllowThreads(__tstate
);
36027 if (PyErr_Occurred()) SWIG_fail
;
36029 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36044 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
= 0;
36046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36047 wxTreeItemId
*arg2
= 0 ;
36048 wxString
*arg3
= 0 ;
36049 int arg4
= (int) -1 ;
36050 int arg5
= (int) -1 ;
36051 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36052 wxTreeItemId result
;
36057 bool temp3
= false ;
36063 PyObject
* obj0
= 0 ;
36064 PyObject
* obj1
= 0 ;
36065 PyObject
* obj2
= 0 ;
36066 PyObject
* obj3
= 0 ;
36067 PyObject
* obj4
= 0 ;
36068 PyObject
* obj5
= 0 ;
36069 char * kwnames
[] = {
36070 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36075 if (!SWIG_IsOK(res1
)) {
36076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36078 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36080 if (!SWIG_IsOK(res2
)) {
36081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36086 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36088 arg3
= wxString_in_helper(obj2
);
36089 if (arg3
== NULL
) SWIG_fail
;
36093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36094 if (!SWIG_IsOK(ecode4
)) {
36095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36097 arg4
= static_cast< int >(val4
);
36100 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36101 if (!SWIG_IsOK(ecode5
)) {
36102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36104 arg5
= static_cast< int >(val5
);
36107 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36108 if (!SWIG_IsOK(res6
)) {
36109 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36114 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36115 wxPyEndAllowThreads(__tstate
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36118 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36133 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36134 PyObject
*resultobj
= 0;
36135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36136 wxTreeItemId
*arg2
= 0 ;
36141 PyObject
* obj0
= 0 ;
36142 PyObject
* obj1
= 0 ;
36143 char * kwnames
[] = {
36144 (char *) "self",(char *) "item", NULL
36147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36149 if (!SWIG_IsOK(res1
)) {
36150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36152 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36154 if (!SWIG_IsOK(res2
)) {
36155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36160 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36163 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36164 wxPyEndAllowThreads(__tstate
);
36165 if (PyErr_Occurred()) SWIG_fail
;
36167 resultobj
= SWIG_Py_Void();
36174 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
= 0;
36176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36177 wxTreeItemId
*arg2
= 0 ;
36182 PyObject
* obj0
= 0 ;
36183 PyObject
* obj1
= 0 ;
36184 char * kwnames
[] = {
36185 (char *) "self",(char *) "item", NULL
36188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36190 if (!SWIG_IsOK(res1
)) {
36191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36193 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36195 if (!SWIG_IsOK(res2
)) {
36196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36201 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_Py_Void();
36215 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36216 PyObject
*resultobj
= 0;
36217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36220 PyObject
*swig_obj
[1] ;
36222 if (!args
) SWIG_fail
;
36223 swig_obj
[0] = args
;
36224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36225 if (!SWIG_IsOK(res1
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36228 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36231 (arg1
)->DeleteAllItems();
36232 wxPyEndAllowThreads(__tstate
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36235 resultobj
= SWIG_Py_Void();
36242 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36243 PyObject
*resultobj
= 0;
36244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36245 wxTreeItemId
*arg2
= 0 ;
36250 PyObject
* obj0
= 0 ;
36251 PyObject
* obj1
= 0 ;
36252 char * kwnames
[] = {
36253 (char *) "self",(char *) "item", NULL
36256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36258 if (!SWIG_IsOK(res1
)) {
36259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36261 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36263 if (!SWIG_IsOK(res2
)) {
36264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36269 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36272 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36273 wxPyEndAllowThreads(__tstate
);
36274 if (PyErr_Occurred()) SWIG_fail
;
36276 resultobj
= SWIG_Py_Void();
36283 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36284 PyObject
*resultobj
= 0;
36285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36286 wxTreeItemId
*arg2
= 0 ;
36291 PyObject
* obj0
= 0 ;
36292 PyObject
* obj1
= 0 ;
36293 char * kwnames
[] = {
36294 (char *) "self",(char *) "item", NULL
36297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36299 if (!SWIG_IsOK(res1
)) {
36300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36302 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36304 if (!SWIG_IsOK(res2
)) {
36305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36310 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36313 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36314 wxPyEndAllowThreads(__tstate
);
36315 if (PyErr_Occurred()) SWIG_fail
;
36317 resultobj
= SWIG_Py_Void();
36324 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36325 PyObject
*resultobj
= 0;
36326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36329 PyObject
*swig_obj
[1] ;
36331 if (!args
) SWIG_fail
;
36332 swig_obj
[0] = args
;
36333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36334 if (!SWIG_IsOK(res1
)) {
36335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36340 (arg1
)->ExpandAll();
36341 wxPyEndAllowThreads(__tstate
);
36342 if (PyErr_Occurred()) SWIG_fail
;
36344 resultobj
= SWIG_Py_Void();
36351 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36352 PyObject
*resultobj
= 0;
36353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36354 wxTreeItemId
*arg2
= 0 ;
36359 PyObject
* obj0
= 0 ;
36360 PyObject
* obj1
= 0 ;
36361 char * kwnames
[] = {
36362 (char *) "self",(char *) "item", NULL
36365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36367 if (!SWIG_IsOK(res1
)) {
36368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36370 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36372 if (!SWIG_IsOK(res2
)) {
36373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36378 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36381 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36382 wxPyEndAllowThreads(__tstate
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 resultobj
= SWIG_Py_Void();
36392 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
= 0;
36394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36395 wxTreeItemId
*arg2
= 0 ;
36400 PyObject
* obj0
= 0 ;
36401 PyObject
* obj1
= 0 ;
36402 char * kwnames
[] = {
36403 (char *) "self",(char *) "item", NULL
36406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36408 if (!SWIG_IsOK(res1
)) {
36409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36411 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36413 if (!SWIG_IsOK(res2
)) {
36414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36419 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36422 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36423 wxPyEndAllowThreads(__tstate
);
36424 if (PyErr_Occurred()) SWIG_fail
;
36426 resultobj
= SWIG_Py_Void();
36433 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
= 0;
36435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36436 wxTreeItemId
*arg2
= 0 ;
36441 PyObject
* obj0
= 0 ;
36442 PyObject
* obj1
= 0 ;
36443 char * kwnames
[] = {
36444 (char *) "self",(char *) "item", NULL
36447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36449 if (!SWIG_IsOK(res1
)) {
36450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36452 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36454 if (!SWIG_IsOK(res2
)) {
36455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36460 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36463 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36464 wxPyEndAllowThreads(__tstate
);
36465 if (PyErr_Occurred()) SWIG_fail
;
36467 resultobj
= SWIG_Py_Void();
36474 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36475 PyObject
*resultobj
= 0;
36476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36479 PyObject
*swig_obj
[1] ;
36481 if (!args
) SWIG_fail
;
36482 swig_obj
[0] = args
;
36483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36484 if (!SWIG_IsOK(res1
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36487 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36490 (arg1
)->Unselect();
36491 wxPyEndAllowThreads(__tstate
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36494 resultobj
= SWIG_Py_Void();
36501 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36502 PyObject
*resultobj
= 0;
36503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36504 wxTreeItemId
*arg2
= 0 ;
36509 PyObject
* obj0
= 0 ;
36510 PyObject
* obj1
= 0 ;
36511 char * kwnames
[] = {
36512 (char *) "self",(char *) "item", NULL
36515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36517 if (!SWIG_IsOK(res1
)) {
36518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36520 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36522 if (!SWIG_IsOK(res2
)) {
36523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36528 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36531 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36532 wxPyEndAllowThreads(__tstate
);
36533 if (PyErr_Occurred()) SWIG_fail
;
36535 resultobj
= SWIG_Py_Void();
36542 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36543 PyObject
*resultobj
= 0;
36544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36547 PyObject
*swig_obj
[1] ;
36549 if (!args
) SWIG_fail
;
36550 swig_obj
[0] = args
;
36551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36552 if (!SWIG_IsOK(res1
)) {
36553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36555 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 (arg1
)->UnselectAll();
36559 wxPyEndAllowThreads(__tstate
);
36560 if (PyErr_Occurred()) SWIG_fail
;
36562 resultobj
= SWIG_Py_Void();
36569 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36570 PyObject
*resultobj
= 0;
36571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36572 wxTreeItemId
*arg2
= 0 ;
36573 bool arg3
= (bool) true ;
36580 PyObject
* obj0
= 0 ;
36581 PyObject
* obj1
= 0 ;
36582 PyObject
* obj2
= 0 ;
36583 char * kwnames
[] = {
36584 (char *) "self",(char *) "item",(char *) "select", NULL
36587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36589 if (!SWIG_IsOK(res1
)) {
36590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36592 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36594 if (!SWIG_IsOK(res2
)) {
36595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36600 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36603 if (!SWIG_IsOK(ecode3
)) {
36604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36606 arg3
= static_cast< bool >(val3
);
36609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36610 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36611 wxPyEndAllowThreads(__tstate
);
36612 if (PyErr_Occurred()) SWIG_fail
;
36614 resultobj
= SWIG_Py_Void();
36621 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36622 PyObject
*resultobj
= 0;
36623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36624 wxTreeItemId
*arg2
= 0 ;
36629 PyObject
* obj0
= 0 ;
36630 PyObject
* obj1
= 0 ;
36631 char * kwnames
[] = {
36632 (char *) "self",(char *) "item", NULL
36635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36637 if (!SWIG_IsOK(res1
)) {
36638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36640 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36642 if (!SWIG_IsOK(res2
)) {
36643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36648 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36651 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36652 wxPyEndAllowThreads(__tstate
);
36653 if (PyErr_Occurred()) SWIG_fail
;
36655 resultobj
= SWIG_Py_Void();
36662 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36663 PyObject
*resultobj
= 0;
36664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36665 wxTreeItemId
*arg2
= 0 ;
36670 PyObject
* obj0
= 0 ;
36671 PyObject
* obj1
= 0 ;
36672 char * kwnames
[] = {
36673 (char *) "self",(char *) "item", NULL
36676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36678 if (!SWIG_IsOK(res1
)) {
36679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36681 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36683 if (!SWIG_IsOK(res2
)) {
36684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36689 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36692 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36693 wxPyEndAllowThreads(__tstate
);
36694 if (PyErr_Occurred()) SWIG_fail
;
36696 resultobj
= SWIG_Py_Void();
36703 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36704 PyObject
*resultobj
= 0;
36705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36706 wxTreeItemId
*arg2
= 0 ;
36711 PyObject
* obj0
= 0 ;
36712 PyObject
* obj1
= 0 ;
36713 char * kwnames
[] = {
36714 (char *) "self",(char *) "item", NULL
36717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36719 if (!SWIG_IsOK(res1
)) {
36720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36722 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36724 if (!SWIG_IsOK(res2
)) {
36725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36730 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36733 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36734 wxPyEndAllowThreads(__tstate
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36737 resultobj
= SWIG_Py_Void();
36744 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36745 PyObject
*resultobj
= 0;
36746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36747 wxTreeItemId
*arg2
= 0 ;
36752 PyObject
* obj0
= 0 ;
36753 PyObject
* obj1
= 0 ;
36754 char * kwnames
[] = {
36755 (char *) "self",(char *) "item", NULL
36758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36760 if (!SWIG_IsOK(res1
)) {
36761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36763 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36765 if (!SWIG_IsOK(res2
)) {
36766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36771 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36774 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36775 wxPyEndAllowThreads(__tstate
);
36776 if (PyErr_Occurred()) SWIG_fail
;
36778 resultobj
= SWIG_Py_Void();
36785 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36786 PyObject
*resultobj
= 0;
36787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36788 wxTextCtrl
*result
= 0 ;
36791 PyObject
*swig_obj
[1] ;
36793 if (!args
) SWIG_fail
;
36794 swig_obj
[0] = args
;
36795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36796 if (!SWIG_IsOK(res1
)) {
36797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36799 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36802 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36807 resultobj
= wxPyMake_wxObject(result
, 0);
36815 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36816 PyObject
*resultobj
= 0;
36817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36818 wxTreeItemId
*arg2
= 0 ;
36823 PyObject
* obj0
= 0 ;
36824 PyObject
* obj1
= 0 ;
36825 char * kwnames
[] = {
36826 (char *) "self",(char *) "item", NULL
36829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36831 if (!SWIG_IsOK(res1
)) {
36832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36834 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36836 if (!SWIG_IsOK(res2
)) {
36837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36842 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= SWIG_Py_Void();
36856 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
= 0;
36858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36859 wxPoint
*arg2
= 0 ;
36861 wxTreeItemId result
;
36866 int res3
= SWIG_TMPOBJ
;
36867 PyObject
* obj0
= 0 ;
36868 PyObject
* obj1
= 0 ;
36869 char * kwnames
[] = {
36870 (char *) "self",(char *) "point", NULL
36874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36876 if (!SWIG_IsOK(res1
)) {
36877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36886 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36887 wxPyEndAllowThreads(__tstate
);
36888 if (PyErr_Occurred()) SWIG_fail
;
36890 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36891 if (SWIG_IsTmpObj(res3
)) {
36892 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36894 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36903 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36904 PyObject
*resultobj
= 0;
36905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36906 wxTreeItemId
*arg2
= 0 ;
36907 bool arg3
= (bool) false ;
36908 PyObject
*result
= 0 ;
36915 PyObject
* obj0
= 0 ;
36916 PyObject
* obj1
= 0 ;
36917 PyObject
* obj2
= 0 ;
36918 char * kwnames
[] = {
36919 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetBoundingRect" "', 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_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36935 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36937 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36938 if (!SWIG_IsOK(ecode3
)) {
36939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36941 arg3
= static_cast< bool >(val3
);
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36946 wxPyEndAllowThreads(__tstate
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36949 resultobj
= result
;
36956 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36957 PyObject
*resultobj
= 0;
36958 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36959 SwigValueWrapper
<wxVisualAttributes
> result
;
36962 PyObject
* obj0
= 0 ;
36963 char * kwnames
[] = {
36964 (char *) "variant", NULL
36967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36969 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36970 if (!SWIG_IsOK(ecode1
)) {
36971 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36973 arg1
= static_cast< wxWindowVariant
>(val1
);
36976 if (!wxPyCheckForApp()) SWIG_fail
;
36977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36978 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36979 wxPyEndAllowThreads(__tstate
);
36980 if (PyErr_Occurred()) SWIG_fail
;
36982 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36989 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36990 PyObject
*resultobj
= 0;
36991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36997 PyObject
* obj0
= 0 ;
36998 PyObject
* obj1
= 0 ;
36999 char * kwnames
[] = {
37000 (char *) "self",(char *) "q", NULL
37003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37005 if (!SWIG_IsOK(res1
)) {
37006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37008 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37009 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37010 if (!SWIG_IsOK(ecode2
)) {
37011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37013 arg2
= static_cast< bool >(val2
);
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 (arg1
)->SetQuickBestSize(arg2
);
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= SWIG_Py_Void();
37027 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37028 PyObject
*resultobj
= 0;
37029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37033 PyObject
*swig_obj
[1] ;
37035 if (!args
) SWIG_fail
;
37036 swig_obj
[0] = args
;
37037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37038 if (!SWIG_IsOK(res1
)) {
37039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37041 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37044 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37045 wxPyEndAllowThreads(__tstate
);
37046 if (PyErr_Occurred()) SWIG_fail
;
37049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37057 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37060 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37061 return SWIG_Py_Void();
37064 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37065 return SWIG_Python_InitShadowInstance(args
);
37068 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37069 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37074 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37075 PyObject
*pyobj
= 0;
37079 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37081 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37088 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37089 PyObject
*resultobj
= 0;
37090 wxWindow
*arg1
= (wxWindow
*) 0 ;
37091 int arg2
= (int) (int)-1 ;
37092 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37093 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37094 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37095 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37096 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37097 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37098 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37099 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37101 int arg8
= (int) 0 ;
37102 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37103 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37104 wxGenericDirCtrl
*result
= 0 ;
37109 bool temp3
= false ;
37114 bool temp7
= false ;
37117 bool temp9
= false ;
37118 PyObject
* obj0
= 0 ;
37119 PyObject
* obj1
= 0 ;
37120 PyObject
* obj2
= 0 ;
37121 PyObject
* obj3
= 0 ;
37122 PyObject
* obj4
= 0 ;
37123 PyObject
* obj5
= 0 ;
37124 PyObject
* obj6
= 0 ;
37125 PyObject
* obj7
= 0 ;
37126 PyObject
* obj8
= 0 ;
37127 char * kwnames
[] = {
37128 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37133 if (!SWIG_IsOK(res1
)) {
37134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37136 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37139 if (!SWIG_IsOK(ecode2
)) {
37140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37142 arg2
= static_cast< int >(val2
);
37146 arg3
= wxString_in_helper(obj2
);
37147 if (arg3
== NULL
) SWIG_fail
;
37154 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37160 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37164 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37165 if (!SWIG_IsOK(ecode6
)) {
37166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37168 arg6
= static_cast< long >(val6
);
37172 arg7
= wxString_in_helper(obj6
);
37173 if (arg7
== NULL
) SWIG_fail
;
37178 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37179 if (!SWIG_IsOK(ecode8
)) {
37180 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37182 arg8
= static_cast< int >(val8
);
37186 arg9
= wxString_in_helper(obj8
);
37187 if (arg9
== NULL
) SWIG_fail
;
37192 if (!wxPyCheckForApp()) SWIG_fail
;
37193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37194 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37195 wxPyEndAllowThreads(__tstate
);
37196 if (PyErr_Occurred()) SWIG_fail
;
37198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37229 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37230 PyObject
*resultobj
= 0;
37231 wxGenericDirCtrl
*result
= 0 ;
37233 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37235 if (!wxPyCheckForApp()) SWIG_fail
;
37236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37237 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37238 wxPyEndAllowThreads(__tstate
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37248 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37249 PyObject
*resultobj
= 0;
37250 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37251 wxWindow
*arg2
= (wxWindow
*) 0 ;
37252 int arg3
= (int) (int)-1 ;
37253 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37254 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37255 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37256 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37257 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37258 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37259 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37260 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37261 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37262 int arg9
= (int) 0 ;
37263 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37264 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37272 bool temp4
= false ;
37277 bool temp8
= false ;
37280 bool temp10
= false ;
37281 PyObject
* obj0
= 0 ;
37282 PyObject
* obj1
= 0 ;
37283 PyObject
* obj2
= 0 ;
37284 PyObject
* obj3
= 0 ;
37285 PyObject
* obj4
= 0 ;
37286 PyObject
* obj5
= 0 ;
37287 PyObject
* obj6
= 0 ;
37288 PyObject
* obj7
= 0 ;
37289 PyObject
* obj8
= 0 ;
37290 PyObject
* obj9
= 0 ;
37291 char * kwnames
[] = {
37292 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37297 if (!SWIG_IsOK(res1
)) {
37298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37300 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37302 if (!SWIG_IsOK(res2
)) {
37303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37305 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37308 if (!SWIG_IsOK(ecode3
)) {
37309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37311 arg3
= static_cast< int >(val3
);
37315 arg4
= wxString_in_helper(obj3
);
37316 if (arg4
== NULL
) SWIG_fail
;
37323 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37329 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37333 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37334 if (!SWIG_IsOK(ecode7
)) {
37335 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37337 arg7
= static_cast< long >(val7
);
37341 arg8
= wxString_in_helper(obj7
);
37342 if (arg8
== NULL
) SWIG_fail
;
37347 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37348 if (!SWIG_IsOK(ecode9
)) {
37349 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37351 arg9
= static_cast< int >(val9
);
37355 arg10
= wxString_in_helper(obj9
);
37356 if (arg10
== NULL
) SWIG_fail
;
37361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37399 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37400 PyObject
*resultobj
= 0;
37401 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37402 wxString
*arg2
= 0 ;
37406 bool temp2
= false ;
37407 PyObject
* obj0
= 0 ;
37408 PyObject
* obj1
= 0 ;
37409 char * kwnames
[] = {
37410 (char *) "self",(char *) "path", NULL
37413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37415 if (!SWIG_IsOK(res1
)) {
37416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37418 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37420 arg2
= wxString_in_helper(obj1
);
37421 if (arg2
== NULL
) SWIG_fail
;
37425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37426 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37447 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37448 PyObject
*resultobj
= 0;
37449 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37450 wxString
*arg2
= 0 ;
37454 bool temp2
= false ;
37455 PyObject
* obj0
= 0 ;
37456 PyObject
* obj1
= 0 ;
37457 char * kwnames
[] = {
37458 (char *) "self",(char *) "path", NULL
37461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37463 if (!SWIG_IsOK(res1
)) {
37464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37466 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37468 arg2
= wxString_in_helper(obj1
);
37469 if (arg2
== NULL
) SWIG_fail
;
37473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37474 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37475 wxPyEndAllowThreads(__tstate
);
37476 if (PyErr_Occurred()) SWIG_fail
;
37479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37495 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37496 PyObject
*resultobj
= 0;
37497 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37501 PyObject
*swig_obj
[1] ;
37503 if (!args
) SWIG_fail
;
37504 swig_obj
[0] = args
;
37505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37506 if (!SWIG_IsOK(res1
)) {
37507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37509 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37512 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37513 wxPyEndAllowThreads(__tstate
);
37514 if (PyErr_Occurred()) SWIG_fail
;
37518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37529 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
= 0;
37531 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37532 wxString
*arg2
= 0 ;
37535 bool temp2
= false ;
37536 PyObject
* obj0
= 0 ;
37537 PyObject
* obj1
= 0 ;
37538 char * kwnames
[] = {
37539 (char *) "self",(char *) "path", NULL
37542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37544 if (!SWIG_IsOK(res1
)) {
37545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37547 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37549 arg2
= wxString_in_helper(obj1
);
37550 if (arg2
== NULL
) SWIG_fail
;
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37559 resultobj
= SWIG_Py_Void();
37574 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37575 PyObject
*resultobj
= 0;
37576 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37580 PyObject
*swig_obj
[1] ;
37582 if (!args
) SWIG_fail
;
37583 swig_obj
[0] = args
;
37584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37585 if (!SWIG_IsOK(res1
)) {
37586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37588 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37591 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37592 wxPyEndAllowThreads(__tstate
);
37593 if (PyErr_Occurred()) SWIG_fail
;
37597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37608 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37609 PyObject
*resultobj
= 0;
37610 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37614 PyObject
*swig_obj
[1] ;
37616 if (!args
) SWIG_fail
;
37617 swig_obj
[0] = args
;
37618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37619 if (!SWIG_IsOK(res1
)) {
37620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37622 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37625 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37626 wxPyEndAllowThreads(__tstate
);
37627 if (PyErr_Occurred()) SWIG_fail
;
37631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37642 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37643 PyObject
*resultobj
= 0;
37644 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37645 wxString
*arg2
= 0 ;
37648 bool temp2
= false ;
37649 PyObject
* obj0
= 0 ;
37650 PyObject
* obj1
= 0 ;
37651 char * kwnames
[] = {
37652 (char *) "self",(char *) "path", NULL
37655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37657 if (!SWIG_IsOK(res1
)) {
37658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37660 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37662 arg2
= wxString_in_helper(obj1
);
37663 if (arg2
== NULL
) SWIG_fail
;
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 (arg1
)->SetPath((wxString
const &)*arg2
);
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37672 resultobj
= SWIG_Py_Void();
37687 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37688 PyObject
*resultobj
= 0;
37689 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37695 PyObject
* obj0
= 0 ;
37696 PyObject
* obj1
= 0 ;
37697 char * kwnames
[] = {
37698 (char *) "self",(char *) "show", NULL
37701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37703 if (!SWIG_IsOK(res1
)) {
37704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37706 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37707 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37708 if (!SWIG_IsOK(ecode2
)) {
37709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37711 arg2
= static_cast< bool >(val2
);
37713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37714 (arg1
)->ShowHidden(arg2
);
37715 wxPyEndAllowThreads(__tstate
);
37716 if (PyErr_Occurred()) SWIG_fail
;
37718 resultobj
= SWIG_Py_Void();
37725 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37726 PyObject
*resultobj
= 0;
37727 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37731 PyObject
*swig_obj
[1] ;
37733 if (!args
) SWIG_fail
;
37734 swig_obj
[0] = args
;
37735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37736 if (!SWIG_IsOK(res1
)) {
37737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37739 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37742 result
= (bool)(arg1
)->GetShowHidden();
37743 wxPyEndAllowThreads(__tstate
);
37744 if (PyErr_Occurred()) SWIG_fail
;
37747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37755 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37756 PyObject
*resultobj
= 0;
37757 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37761 PyObject
*swig_obj
[1] ;
37763 if (!args
) SWIG_fail
;
37764 swig_obj
[0] = args
;
37765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37766 if (!SWIG_IsOK(res1
)) {
37767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37769 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37773 wxPyEndAllowThreads(__tstate
);
37774 if (PyErr_Occurred()) SWIG_fail
;
37778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37789 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37790 PyObject
*resultobj
= 0;
37791 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37792 wxString
*arg2
= 0 ;
37795 bool temp2
= false ;
37796 PyObject
* obj0
= 0 ;
37797 PyObject
* obj1
= 0 ;
37798 char * kwnames
[] = {
37799 (char *) "self",(char *) "filter", NULL
37802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37804 if (!SWIG_IsOK(res1
)) {
37805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37807 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37809 arg2
= wxString_in_helper(obj1
);
37810 if (arg2
== NULL
) SWIG_fail
;
37814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37815 (arg1
)->SetFilter((wxString
const &)*arg2
);
37816 wxPyEndAllowThreads(__tstate
);
37817 if (PyErr_Occurred()) SWIG_fail
;
37819 resultobj
= SWIG_Py_Void();
37834 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37835 PyObject
*resultobj
= 0;
37836 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37840 PyObject
*swig_obj
[1] ;
37842 if (!args
) SWIG_fail
;
37843 swig_obj
[0] = args
;
37844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37845 if (!SWIG_IsOK(res1
)) {
37846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37848 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37851 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37852 wxPyEndAllowThreads(__tstate
);
37853 if (PyErr_Occurred()) SWIG_fail
;
37855 resultobj
= SWIG_From_int(static_cast< int >(result
));
37862 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37863 PyObject
*resultobj
= 0;
37864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37870 PyObject
* obj0
= 0 ;
37871 PyObject
* obj1
= 0 ;
37872 char * kwnames
[] = {
37873 (char *) "self",(char *) "n", NULL
37876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37878 if (!SWIG_IsOK(res1
)) {
37879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37881 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37883 if (!SWIG_IsOK(ecode2
)) {
37884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37886 arg2
= static_cast< int >(val2
);
37888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37889 (arg1
)->SetFilterIndex(arg2
);
37890 wxPyEndAllowThreads(__tstate
);
37891 if (PyErr_Occurred()) SWIG_fail
;
37893 resultobj
= SWIG_Py_Void();
37900 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37901 PyObject
*resultobj
= 0;
37902 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37903 wxTreeItemId result
;
37906 PyObject
*swig_obj
[1] ;
37908 if (!args
) SWIG_fail
;
37909 swig_obj
[0] = args
;
37910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37911 if (!SWIG_IsOK(res1
)) {
37912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37914 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37917 result
= (arg1
)->GetRootId();
37918 wxPyEndAllowThreads(__tstate
);
37919 if (PyErr_Occurred()) SWIG_fail
;
37921 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37928 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37929 PyObject
*resultobj
= 0;
37930 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37931 wxPyTreeCtrl
*result
= 0 ;
37934 PyObject
*swig_obj
[1] ;
37936 if (!args
) SWIG_fail
;
37937 swig_obj
[0] = args
;
37938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37939 if (!SWIG_IsOK(res1
)) {
37940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37942 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37945 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37946 wxPyEndAllowThreads(__tstate
);
37947 if (PyErr_Occurred()) SWIG_fail
;
37950 resultobj
= wxPyMake_wxObject(result
, 0);
37958 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37959 PyObject
*resultobj
= 0;
37960 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37961 wxDirFilterListCtrl
*result
= 0 ;
37964 PyObject
*swig_obj
[1] ;
37966 if (!args
) SWIG_fail
;
37967 swig_obj
[0] = args
;
37968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37969 if (!SWIG_IsOK(res1
)) {
37970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37972 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37986 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37987 PyObject
*resultobj
= 0;
37988 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37989 wxTreeItemId arg2
;
37990 wxString
*arg3
= 0 ;
37992 wxTreeItemId result
;
37997 bool temp3
= false ;
37999 int res4
= SWIG_TMPOBJ
;
38000 PyObject
* obj0
= 0 ;
38001 PyObject
* obj1
= 0 ;
38002 PyObject
* obj2
= 0 ;
38003 char * kwnames
[] = {
38004 (char *) "self",(char *) "parentId",(char *) "path", NULL
38008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38010 if (!SWIG_IsOK(res1
)) {
38011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38013 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38016 if (!SWIG_IsOK(res2
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38022 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38024 if (SWIG_IsNewObj(res2
)) delete temp
;
38028 arg3
= wxString_in_helper(obj2
);
38029 if (arg3
== NULL
) SWIG_fail
;
38033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38034 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38035 wxPyEndAllowThreads(__tstate
);
38036 if (PyErr_Occurred()) SWIG_fail
;
38038 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38039 if (SWIG_IsTmpObj(res4
)) {
38040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38042 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38059 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38060 PyObject
*resultobj
= 0;
38061 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38064 PyObject
*swig_obj
[1] ;
38066 if (!args
) SWIG_fail
;
38067 swig_obj
[0] = args
;
38068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38069 if (!SWIG_IsOK(res1
)) {
38070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38072 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38075 (arg1
)->DoResize();
38076 wxPyEndAllowThreads(__tstate
);
38077 if (PyErr_Occurred()) SWIG_fail
;
38079 resultobj
= SWIG_Py_Void();
38086 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38087 PyObject
*resultobj
= 0;
38088 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38091 PyObject
*swig_obj
[1] ;
38093 if (!args
) SWIG_fail
;
38094 swig_obj
[0] = args
;
38095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38096 if (!SWIG_IsOK(res1
)) {
38097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38099 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 (arg1
)->ReCreateTree();
38103 wxPyEndAllowThreads(__tstate
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38106 resultobj
= SWIG_Py_Void();
38113 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38116 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38117 return SWIG_Py_Void();
38120 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38121 return SWIG_Python_InitShadowInstance(args
);
38124 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38125 PyObject
*resultobj
= 0;
38126 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38127 int arg2
= (int) (int)-1 ;
38128 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38129 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38130 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38131 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38132 long arg5
= (long) 0 ;
38133 wxDirFilterListCtrl
*result
= 0 ;
38142 PyObject
* obj0
= 0 ;
38143 PyObject
* obj1
= 0 ;
38144 PyObject
* obj2
= 0 ;
38145 PyObject
* obj3
= 0 ;
38146 PyObject
* obj4
= 0 ;
38147 char * kwnames
[] = {
38148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38153 if (!SWIG_IsOK(res1
)) {
38154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38156 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38159 if (!SWIG_IsOK(ecode2
)) {
38160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38162 arg2
= static_cast< int >(val2
);
38167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38177 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38178 if (!SWIG_IsOK(ecode5
)) {
38179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38181 arg5
= static_cast< long >(val5
);
38184 if (!wxPyCheckForApp()) SWIG_fail
;
38185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38186 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38187 wxPyEndAllowThreads(__tstate
);
38188 if (PyErr_Occurred()) SWIG_fail
;
38190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38197 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38198 PyObject
*resultobj
= 0;
38199 wxDirFilterListCtrl
*result
= 0 ;
38201 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38203 if (!wxPyCheckForApp()) SWIG_fail
;
38204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38205 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38206 wxPyEndAllowThreads(__tstate
);
38207 if (PyErr_Occurred()) SWIG_fail
;
38209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38216 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38217 PyObject
*resultobj
= 0;
38218 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38219 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38220 int arg3
= (int) (int)-1 ;
38221 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38222 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38223 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38224 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38225 long arg6
= (long) 0 ;
38237 PyObject
* obj0
= 0 ;
38238 PyObject
* obj1
= 0 ;
38239 PyObject
* obj2
= 0 ;
38240 PyObject
* obj3
= 0 ;
38241 PyObject
* obj4
= 0 ;
38242 PyObject
* obj5
= 0 ;
38243 char * kwnames
[] = {
38244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38249 if (!SWIG_IsOK(res1
)) {
38250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38252 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38254 if (!SWIG_IsOK(res2
)) {
38255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38257 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38260 if (!SWIG_IsOK(ecode3
)) {
38261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38263 arg3
= static_cast< int >(val3
);
38268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38278 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38279 if (!SWIG_IsOK(ecode6
)) {
38280 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38282 arg6
= static_cast< long >(val6
);
38285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38287 wxPyEndAllowThreads(__tstate
);
38288 if (PyErr_Occurred()) SWIG_fail
;
38291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38299 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38300 PyObject
*resultobj
= 0;
38301 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38302 wxString
*arg2
= 0 ;
38306 bool temp2
= false ;
38309 PyObject
* obj0
= 0 ;
38310 PyObject
* obj1
= 0 ;
38311 PyObject
* obj2
= 0 ;
38312 char * kwnames
[] = {
38313 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38318 if (!SWIG_IsOK(res1
)) {
38319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38321 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38323 arg2
= wxString_in_helper(obj1
);
38324 if (arg2
== NULL
) SWIG_fail
;
38327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38328 if (!SWIG_IsOK(ecode3
)) {
38329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38331 arg3
= static_cast< int >(val3
);
38333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38334 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38335 wxPyEndAllowThreads(__tstate
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= SWIG_Py_Void();
38353 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38356 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38357 return SWIG_Py_Void();
38360 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38361 return SWIG_Python_InitShadowInstance(args
);
38364 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38365 PyObject
*resultobj
= 0;
38366 wxWindow
*arg1
= (wxWindow
*) 0 ;
38367 int arg2
= (int) (int)-1 ;
38368 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38369 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38370 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38371 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38372 long arg5
= (long) 0 ;
38373 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38374 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38375 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38377 wxPyControl
*result
= 0 ;
38388 bool temp7
= false ;
38389 PyObject
* obj0
= 0 ;
38390 PyObject
* obj1
= 0 ;
38391 PyObject
* obj2
= 0 ;
38392 PyObject
* obj3
= 0 ;
38393 PyObject
* obj4
= 0 ;
38394 PyObject
* obj5
= 0 ;
38395 PyObject
* obj6
= 0 ;
38396 char * kwnames
[] = {
38397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38402 if (!SWIG_IsOK(res1
)) {
38403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38408 if (!SWIG_IsOK(ecode2
)) {
38409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38411 arg2
= static_cast< int >(val2
);
38416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38426 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38427 if (!SWIG_IsOK(ecode5
)) {
38428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38430 arg5
= static_cast< long >(val5
);
38433 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38434 if (!SWIG_IsOK(res6
)) {
38435 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38440 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38444 arg7
= wxString_in_helper(obj6
);
38445 if (arg7
== NULL
) SWIG_fail
;
38450 if (!wxPyCheckForApp()) SWIG_fail
;
38451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38452 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38453 wxPyEndAllowThreads(__tstate
);
38454 if (PyErr_Occurred()) SWIG_fail
;
38456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38471 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38472 PyObject
*resultobj
= 0;
38473 wxPyControl
*result
= 0 ;
38475 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38477 if (!wxPyCheckForApp()) SWIG_fail
;
38478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38479 result
= (wxPyControl
*)new wxPyControl();
38480 wxPyEndAllowThreads(__tstate
);
38481 if (PyErr_Occurred()) SWIG_fail
;
38483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38490 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38491 PyObject
*resultobj
= 0;
38492 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38493 PyObject
*arg2
= (PyObject
*) 0 ;
38494 PyObject
*arg3
= (PyObject
*) 0 ;
38497 PyObject
* obj0
= 0 ;
38498 PyObject
* obj1
= 0 ;
38499 PyObject
* obj2
= 0 ;
38500 char * kwnames
[] = {
38501 (char *) "self",(char *) "self",(char *) "_class", NULL
38504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38506 if (!SWIG_IsOK(res1
)) {
38507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38509 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38514 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38515 wxPyEndAllowThreads(__tstate
);
38516 if (PyErr_Occurred()) SWIG_fail
;
38518 resultobj
= SWIG_Py_Void();
38525 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38526 PyObject
*resultobj
= 0;
38527 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38532 PyObject
* obj0
= 0 ;
38533 PyObject
* obj1
= 0 ;
38534 char * kwnames
[] = {
38535 (char *) "self",(char *) "size", NULL
38538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38540 if (!SWIG_IsOK(res1
)) {
38541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38543 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38550 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38551 wxPyEndAllowThreads(__tstate
);
38552 if (PyErr_Occurred()) SWIG_fail
;
38554 resultobj
= SWIG_Py_Void();
38561 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38562 PyObject
*resultobj
= 0;
38563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38564 wxDC
*arg2
= (wxDC
*) 0 ;
38570 PyObject
* obj0
= 0 ;
38571 PyObject
* obj1
= 0 ;
38572 char * kwnames
[] = {
38573 (char *) "self",(char *) "dc", NULL
38576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38578 if (!SWIG_IsOK(res1
)) {
38579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38581 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38583 if (!SWIG_IsOK(res2
)) {
38584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38586 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38589 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38590 wxPyEndAllowThreads(__tstate
);
38591 if (PyErr_Occurred()) SWIG_fail
;
38594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38602 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38603 PyObject
*resultobj
= 0;
38604 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38619 PyObject
* obj0
= 0 ;
38620 PyObject
* obj1
= 0 ;
38621 PyObject
* obj2
= 0 ;
38622 PyObject
* obj3
= 0 ;
38623 PyObject
* obj4
= 0 ;
38624 char * kwnames
[] = {
38625 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38630 if (!SWIG_IsOK(res1
)) {
38631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38633 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38635 if (!SWIG_IsOK(ecode2
)) {
38636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38638 arg2
= static_cast< int >(val2
);
38639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38640 if (!SWIG_IsOK(ecode3
)) {
38641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38643 arg3
= static_cast< int >(val3
);
38644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38645 if (!SWIG_IsOK(ecode4
)) {
38646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38648 arg4
= static_cast< int >(val4
);
38649 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38650 if (!SWIG_IsOK(ecode5
)) {
38651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38653 arg5
= static_cast< int >(val5
);
38655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38656 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38657 wxPyEndAllowThreads(__tstate
);
38658 if (PyErr_Occurred()) SWIG_fail
;
38660 resultobj
= SWIG_Py_Void();
38667 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38668 PyObject
*resultobj
= 0;
38669 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38674 int arg6
= (int) wxSIZE_AUTO
;
38687 PyObject
* obj0
= 0 ;
38688 PyObject
* obj1
= 0 ;
38689 PyObject
* obj2
= 0 ;
38690 PyObject
* obj3
= 0 ;
38691 PyObject
* obj4
= 0 ;
38692 PyObject
* obj5
= 0 ;
38693 char * kwnames
[] = {
38694 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38699 if (!SWIG_IsOK(res1
)) {
38700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38702 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38704 if (!SWIG_IsOK(ecode2
)) {
38705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38707 arg2
= static_cast< int >(val2
);
38708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38709 if (!SWIG_IsOK(ecode3
)) {
38710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38712 arg3
= static_cast< int >(val3
);
38713 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38714 if (!SWIG_IsOK(ecode4
)) {
38715 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38717 arg4
= static_cast< int >(val4
);
38718 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38719 if (!SWIG_IsOK(ecode5
)) {
38720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38722 arg5
= static_cast< int >(val5
);
38724 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38725 if (!SWIG_IsOK(ecode6
)) {
38726 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38728 arg6
= static_cast< int >(val6
);
38731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38732 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38733 wxPyEndAllowThreads(__tstate
);
38734 if (PyErr_Occurred()) SWIG_fail
;
38736 resultobj
= SWIG_Py_Void();
38743 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38744 PyObject
*resultobj
= 0;
38745 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38754 PyObject
* obj0
= 0 ;
38755 PyObject
* obj1
= 0 ;
38756 PyObject
* obj2
= 0 ;
38757 char * kwnames
[] = {
38758 (char *) "self",(char *) "width",(char *) "height", NULL
38761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38763 if (!SWIG_IsOK(res1
)) {
38764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38766 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38768 if (!SWIG_IsOK(ecode2
)) {
38769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38771 arg2
= static_cast< int >(val2
);
38772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38773 if (!SWIG_IsOK(ecode3
)) {
38774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38776 arg3
= static_cast< int >(val3
);
38778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38779 (arg1
)->DoSetClientSize(arg2
,arg3
);
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38783 resultobj
= SWIG_Py_Void();
38790 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38791 PyObject
*resultobj
= 0;
38792 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38801 PyObject
* obj0
= 0 ;
38802 PyObject
* obj1
= 0 ;
38803 PyObject
* obj2
= 0 ;
38804 char * kwnames
[] = {
38805 (char *) "self",(char *) "x",(char *) "y", NULL
38808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38810 if (!SWIG_IsOK(res1
)) {
38811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38813 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38815 if (!SWIG_IsOK(ecode2
)) {
38816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38818 arg2
= static_cast< int >(val2
);
38819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38820 if (!SWIG_IsOK(ecode3
)) {
38821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38823 arg3
= static_cast< int >(val3
);
38825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38826 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38827 wxPyEndAllowThreads(__tstate
);
38828 if (PyErr_Occurred()) SWIG_fail
;
38830 resultobj
= SWIG_Py_Void();
38837 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38838 PyObject
*resultobj
= 0;
38839 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38840 int *arg2
= (int *) 0 ;
38841 int *arg3
= (int *) 0 ;
38845 int res2
= SWIG_TMPOBJ
;
38847 int res3
= SWIG_TMPOBJ
;
38848 PyObject
*swig_obj
[1] ;
38852 if (!args
) SWIG_fail
;
38853 swig_obj
[0] = args
;
38854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38855 if (!SWIG_IsOK(res1
)) {
38856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38858 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38861 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38862 wxPyEndAllowThreads(__tstate
);
38863 if (PyErr_Occurred()) SWIG_fail
;
38865 resultobj
= SWIG_Py_Void();
38866 if (SWIG_IsTmpObj(res2
)) {
38867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38869 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38872 if (SWIG_IsTmpObj(res3
)) {
38873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38875 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38884 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38885 PyObject
*resultobj
= 0;
38886 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38887 int *arg2
= (int *) 0 ;
38888 int *arg3
= (int *) 0 ;
38892 int res2
= SWIG_TMPOBJ
;
38894 int res3
= SWIG_TMPOBJ
;
38895 PyObject
*swig_obj
[1] ;
38899 if (!args
) SWIG_fail
;
38900 swig_obj
[0] = args
;
38901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38902 if (!SWIG_IsOK(res1
)) {
38903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38905 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38908 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38909 wxPyEndAllowThreads(__tstate
);
38910 if (PyErr_Occurred()) SWIG_fail
;
38912 resultobj
= SWIG_Py_Void();
38913 if (SWIG_IsTmpObj(res2
)) {
38914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38916 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38919 if (SWIG_IsTmpObj(res3
)) {
38920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38922 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38931 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38932 PyObject
*resultobj
= 0;
38933 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38934 int *arg2
= (int *) 0 ;
38935 int *arg3
= (int *) 0 ;
38939 int res2
= SWIG_TMPOBJ
;
38941 int res3
= SWIG_TMPOBJ
;
38942 PyObject
*swig_obj
[1] ;
38946 if (!args
) SWIG_fail
;
38947 swig_obj
[0] = args
;
38948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38949 if (!SWIG_IsOK(res1
)) {
38950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38952 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38955 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38956 wxPyEndAllowThreads(__tstate
);
38957 if (PyErr_Occurred()) SWIG_fail
;
38959 resultobj
= SWIG_Py_Void();
38960 if (SWIG_IsTmpObj(res2
)) {
38961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38963 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38966 if (SWIG_IsTmpObj(res3
)) {
38967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38969 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38978 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38979 PyObject
*resultobj
= 0;
38980 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38984 PyObject
*swig_obj
[1] ;
38986 if (!args
) SWIG_fail
;
38987 swig_obj
[0] = args
;
38988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38989 if (!SWIG_IsOK(res1
)) {
38990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38992 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38995 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38996 wxPyEndAllowThreads(__tstate
);
38997 if (PyErr_Occurred()) SWIG_fail
;
38999 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39006 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39007 PyObject
*resultobj
= 0;
39008 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39012 PyObject
*swig_obj
[1] ;
39014 if (!args
) SWIG_fail
;
39015 swig_obj
[0] = args
;
39016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39017 if (!SWIG_IsOK(res1
)) {
39018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39020 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39023 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39024 wxPyEndAllowThreads(__tstate
);
39025 if (PyErr_Occurred()) SWIG_fail
;
39027 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39034 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39035 PyObject
*resultobj
= 0;
39036 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39037 SwigValueWrapper
<wxVisualAttributes
> result
;
39040 PyObject
*swig_obj
[1] ;
39042 if (!args
) SWIG_fail
;
39043 swig_obj
[0] = args
;
39044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39045 if (!SWIG_IsOK(res1
)) {
39046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39048 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39051 result
= (arg1
)->GetDefaultAttributes();
39052 wxPyEndAllowThreads(__tstate
);
39053 if (PyErr_Occurred()) SWIG_fail
;
39055 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39062 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39063 PyObject
*resultobj
= 0;
39064 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39067 PyObject
*swig_obj
[1] ;
39069 if (!args
) SWIG_fail
;
39070 swig_obj
[0] = args
;
39071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39072 if (!SWIG_IsOK(res1
)) {
39073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39075 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39078 (arg1
)->OnInternalIdle();
39079 wxPyEndAllowThreads(__tstate
);
39080 if (PyErr_Occurred()) SWIG_fail
;
39082 resultobj
= SWIG_Py_Void();
39089 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39092 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39093 return SWIG_Py_Void();
39096 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39097 return SWIG_Python_InitShadowInstance(args
);
39100 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39101 PyObject
*resultobj
= 0;
39102 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39103 int arg2
= (int) 0 ;
39104 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39105 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39106 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39107 wxHelpEvent
*result
= 0 ;
39115 PyObject
* obj0
= 0 ;
39116 PyObject
* obj1
= 0 ;
39117 PyObject
* obj2
= 0 ;
39118 PyObject
* obj3
= 0 ;
39119 char * kwnames
[] = {
39120 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39125 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39126 if (!SWIG_IsOK(ecode1
)) {
39127 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39129 arg1
= static_cast< wxEventType
>(val1
);
39132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39133 if (!SWIG_IsOK(ecode2
)) {
39134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39136 arg2
= static_cast< int >(val2
);
39141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39146 if (!SWIG_IsOK(ecode4
)) {
39147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39149 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39153 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39154 wxPyEndAllowThreads(__tstate
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39164 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39165 PyObject
*resultobj
= 0;
39166 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39170 PyObject
*swig_obj
[1] ;
39172 if (!args
) SWIG_fail
;
39173 swig_obj
[0] = args
;
39174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39175 if (!SWIG_IsOK(res1
)) {
39176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39178 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39181 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39182 wxPyEndAllowThreads(__tstate
);
39183 if (PyErr_Occurred()) SWIG_fail
;
39185 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39192 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39193 PyObject
*resultobj
= 0;
39194 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39195 wxPoint
*arg2
= 0 ;
39199 PyObject
* obj0
= 0 ;
39200 PyObject
* obj1
= 0 ;
39201 char * kwnames
[] = {
39202 (char *) "self",(char *) "pos", NULL
39205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39207 if (!SWIG_IsOK(res1
)) {
39208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39210 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39217 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39218 wxPyEndAllowThreads(__tstate
);
39219 if (PyErr_Occurred()) SWIG_fail
;
39221 resultobj
= SWIG_Py_Void();
39228 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39229 PyObject
*resultobj
= 0;
39230 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39231 wxString
*result
= 0 ;
39234 PyObject
*swig_obj
[1] ;
39236 if (!args
) SWIG_fail
;
39237 swig_obj
[0] = args
;
39238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39239 if (!SWIG_IsOK(res1
)) {
39240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39242 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39246 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39247 result
= (wxString
*) &_result_ref
;
39249 wxPyEndAllowThreads(__tstate
);
39250 if (PyErr_Occurred()) SWIG_fail
;
39254 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39256 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39265 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39266 PyObject
*resultobj
= 0;
39267 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39268 wxString
*arg2
= 0 ;
39271 bool temp2
= false ;
39272 PyObject
* obj0
= 0 ;
39273 PyObject
* obj1
= 0 ;
39274 char * kwnames
[] = {
39275 (char *) "self",(char *) "link", NULL
39278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39280 if (!SWIG_IsOK(res1
)) {
39281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39283 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39285 arg2
= wxString_in_helper(obj1
);
39286 if (arg2
== NULL
) SWIG_fail
;
39290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39291 (arg1
)->SetLink((wxString
const &)*arg2
);
39292 wxPyEndAllowThreads(__tstate
);
39293 if (PyErr_Occurred()) SWIG_fail
;
39295 resultobj
= SWIG_Py_Void();
39310 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39311 PyObject
*resultobj
= 0;
39312 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39313 wxString
*result
= 0 ;
39316 PyObject
*swig_obj
[1] ;
39318 if (!args
) SWIG_fail
;
39319 swig_obj
[0] = args
;
39320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39321 if (!SWIG_IsOK(res1
)) {
39322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39324 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39329 result
= (wxString
*) &_result_ref
;
39331 wxPyEndAllowThreads(__tstate
);
39332 if (PyErr_Occurred()) SWIG_fail
;
39336 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39338 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39347 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39348 PyObject
*resultobj
= 0;
39349 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39350 wxString
*arg2
= 0 ;
39353 bool temp2
= false ;
39354 PyObject
* obj0
= 0 ;
39355 PyObject
* obj1
= 0 ;
39356 char * kwnames
[] = {
39357 (char *) "self",(char *) "target", NULL
39360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39362 if (!SWIG_IsOK(res1
)) {
39363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39365 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39367 arg2
= wxString_in_helper(obj1
);
39368 if (arg2
== NULL
) SWIG_fail
;
39372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39373 (arg1
)->SetTarget((wxString
const &)*arg2
);
39374 wxPyEndAllowThreads(__tstate
);
39375 if (PyErr_Occurred()) SWIG_fail
;
39377 resultobj
= SWIG_Py_Void();
39392 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39393 PyObject
*resultobj
= 0;
39394 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39395 wxHelpEvent::Origin result
;
39398 PyObject
*swig_obj
[1] ;
39400 if (!args
) SWIG_fail
;
39401 swig_obj
[0] = args
;
39402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39403 if (!SWIG_IsOK(res1
)) {
39404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39406 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39409 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39410 wxPyEndAllowThreads(__tstate
);
39411 if (PyErr_Occurred()) SWIG_fail
;
39413 resultobj
= SWIG_From_int(static_cast< int >(result
));
39420 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39421 PyObject
*resultobj
= 0;
39422 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39423 wxHelpEvent::Origin arg2
;
39428 PyObject
* obj0
= 0 ;
39429 PyObject
* obj1
= 0 ;
39430 char * kwnames
[] = {
39431 (char *) "self",(char *) "origin", NULL
39434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39436 if (!SWIG_IsOK(res1
)) {
39437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39439 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39441 if (!SWIG_IsOK(ecode2
)) {
39442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39444 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39447 (arg1
)->SetOrigin(arg2
);
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39451 resultobj
= SWIG_Py_Void();
39458 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39461 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39462 return SWIG_Py_Void();
39465 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39466 return SWIG_Python_InitShadowInstance(args
);
39469 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39470 PyObject
*resultobj
= 0;
39471 wxWindow
*arg1
= (wxWindow
*) NULL
;
39472 bool arg2
= (bool) true ;
39473 wxContextHelp
*result
= 0 ;
39478 PyObject
* obj0
= 0 ;
39479 PyObject
* obj1
= 0 ;
39480 char * kwnames
[] = {
39481 (char *) "window",(char *) "doNow", NULL
39484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39487 if (!SWIG_IsOK(res1
)) {
39488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39490 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39493 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39494 if (!SWIG_IsOK(ecode2
)) {
39495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39497 arg2
= static_cast< bool >(val2
);
39500 if (!wxPyCheckForApp()) SWIG_fail
;
39501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39502 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39503 wxPyEndAllowThreads(__tstate
);
39504 if (PyErr_Occurred()) SWIG_fail
;
39506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39513 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39514 PyObject
*resultobj
= 0;
39515 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39518 PyObject
*swig_obj
[1] ;
39520 if (!args
) SWIG_fail
;
39521 swig_obj
[0] = args
;
39522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39523 if (!SWIG_IsOK(res1
)) {
39524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39526 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39531 wxPyEndAllowThreads(__tstate
);
39532 if (PyErr_Occurred()) SWIG_fail
;
39534 resultobj
= SWIG_Py_Void();
39541 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39542 PyObject
*resultobj
= 0;
39543 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39544 wxWindow
*arg2
= (wxWindow
*) NULL
;
39550 PyObject
* obj0
= 0 ;
39551 PyObject
* obj1
= 0 ;
39552 char * kwnames
[] = {
39553 (char *) "self",(char *) "window", NULL
39556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39558 if (!SWIG_IsOK(res1
)) {
39559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39561 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39564 if (!SWIG_IsOK(res2
)) {
39565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39567 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39571 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39572 wxPyEndAllowThreads(__tstate
);
39573 if (PyErr_Occurred()) SWIG_fail
;
39576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39584 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39585 PyObject
*resultobj
= 0;
39586 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39590 PyObject
*swig_obj
[1] ;
39592 if (!args
) SWIG_fail
;
39593 swig_obj
[0] = args
;
39594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39595 if (!SWIG_IsOK(res1
)) {
39596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39598 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39601 result
= (bool)(arg1
)->EndContextHelp();
39602 wxPyEndAllowThreads(__tstate
);
39603 if (PyErr_Occurred()) SWIG_fail
;
39606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39614 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39617 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39618 return SWIG_Py_Void();
39621 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39622 return SWIG_Python_InitShadowInstance(args
);
39625 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39626 PyObject
*resultobj
= 0;
39627 wxWindow
*arg1
= (wxWindow
*) 0 ;
39628 int arg2
= (int) wxID_CONTEXT_HELP
;
39629 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39630 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39631 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39632 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39633 long arg5
= (long) wxBU_AUTODRAW
;
39634 wxContextHelpButton
*result
= 0 ;
39643 PyObject
* obj0
= 0 ;
39644 PyObject
* obj1
= 0 ;
39645 PyObject
* obj2
= 0 ;
39646 PyObject
* obj3
= 0 ;
39647 PyObject
* obj4
= 0 ;
39648 char * kwnames
[] = {
39649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39654 if (!SWIG_IsOK(res1
)) {
39655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39657 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39660 if (!SWIG_IsOK(ecode2
)) {
39661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39663 arg2
= static_cast< int >(val2
);
39668 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39674 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39678 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39679 if (!SWIG_IsOK(ecode5
)) {
39680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39682 arg5
= static_cast< long >(val5
);
39685 if (!wxPyCheckForApp()) SWIG_fail
;
39686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39687 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39688 wxPyEndAllowThreads(__tstate
);
39689 if (PyErr_Occurred()) SWIG_fail
;
39691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39698 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39701 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39702 return SWIG_Py_Void();
39705 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39706 return SWIG_Python_InitShadowInstance(args
);
39709 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39710 PyObject
*resultobj
= 0;
39711 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39714 PyObject
*swig_obj
[1] ;
39716 if (!args
) SWIG_fail
;
39717 swig_obj
[0] = args
;
39718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39719 if (!SWIG_IsOK(res1
)) {
39720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39722 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39727 wxPyEndAllowThreads(__tstate
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39730 resultobj
= SWIG_Py_Void();
39737 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39738 PyObject
*resultobj
= 0;
39739 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39740 wxHelpProvider
*result
= 0 ;
39742 PyObject
* obj0
= 0 ;
39743 char * kwnames
[] = {
39744 (char *) "helpProvider", NULL
39747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39748 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39749 if (!SWIG_IsOK(res1
)) {
39750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39754 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39755 wxPyEndAllowThreads(__tstate
);
39756 if (PyErr_Occurred()) SWIG_fail
;
39758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39765 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39766 PyObject
*resultobj
= 0;
39767 wxHelpProvider
*result
= 0 ;
39769 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39772 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39773 wxPyEndAllowThreads(__tstate
);
39774 if (PyErr_Occurred()) SWIG_fail
;
39776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39783 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39784 PyObject
*resultobj
= 0;
39785 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39786 wxWindow
*arg2
= (wxWindow
*) 0 ;
39792 PyObject
* obj0
= 0 ;
39793 PyObject
* obj1
= 0 ;
39794 char * kwnames
[] = {
39795 (char *) "self",(char *) "window", NULL
39798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39800 if (!SWIG_IsOK(res1
)) {
39801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39803 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39805 if (!SWIG_IsOK(res2
)) {
39806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39808 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39811 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39812 wxPyEndAllowThreads(__tstate
);
39813 if (PyErr_Occurred()) SWIG_fail
;
39817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39828 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39829 PyObject
*resultobj
= 0;
39830 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39831 wxWindow
*arg2
= (wxWindow
*) 0 ;
39837 PyObject
* obj0
= 0 ;
39838 PyObject
* obj1
= 0 ;
39839 char * kwnames
[] = {
39840 (char *) "self",(char *) "window", NULL
39843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39845 if (!SWIG_IsOK(res1
)) {
39846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39848 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39850 if (!SWIG_IsOK(res2
)) {
39851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39853 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39856 result
= (bool)(arg1
)->ShowHelp(arg2
);
39857 wxPyEndAllowThreads(__tstate
);
39858 if (PyErr_Occurred()) SWIG_fail
;
39861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39869 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39870 PyObject
*resultobj
= 0;
39871 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39872 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39873 wxPoint
*arg3
= 0 ;
39874 wxHelpEvent::Origin arg4
;
39883 PyObject
* obj0
= 0 ;
39884 PyObject
* obj1
= 0 ;
39885 PyObject
* obj2
= 0 ;
39886 PyObject
* obj3
= 0 ;
39887 char * kwnames
[] = {
39888 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39893 if (!SWIG_IsOK(res1
)) {
39894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39896 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39897 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39898 if (!SWIG_IsOK(res2
)) {
39899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39901 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39904 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39907 if (!SWIG_IsOK(ecode4
)) {
39908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39910 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39913 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39914 wxPyEndAllowThreads(__tstate
);
39915 if (PyErr_Occurred()) SWIG_fail
;
39918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39926 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39927 PyObject
*resultobj
= 0;
39928 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39929 wxWindow
*arg2
= (wxWindow
*) 0 ;
39930 wxString
*arg3
= 0 ;
39935 bool temp3
= false ;
39936 PyObject
* obj0
= 0 ;
39937 PyObject
* obj1
= 0 ;
39938 PyObject
* obj2
= 0 ;
39939 char * kwnames
[] = {
39940 (char *) "self",(char *) "window",(char *) "text", NULL
39943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39945 if (!SWIG_IsOK(res1
)) {
39946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39948 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39950 if (!SWIG_IsOK(res2
)) {
39951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39953 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39955 arg3
= wxString_in_helper(obj2
);
39956 if (arg3
== NULL
) SWIG_fail
;
39960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39961 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39962 wxPyEndAllowThreads(__tstate
);
39963 if (PyErr_Occurred()) SWIG_fail
;
39965 resultobj
= SWIG_Py_Void();
39980 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39981 PyObject
*resultobj
= 0;
39982 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39984 wxString
*arg3
= 0 ;
39989 bool temp3
= false ;
39990 PyObject
* obj0
= 0 ;
39991 PyObject
* obj1
= 0 ;
39992 PyObject
* obj2
= 0 ;
39993 char * kwnames
[] = {
39994 (char *) "self",(char *) "id",(char *) "text", NULL
39997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39999 if (!SWIG_IsOK(res1
)) {
40000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40002 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40004 if (!SWIG_IsOK(ecode2
)) {
40005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40007 arg2
= static_cast< int >(val2
);
40009 arg3
= wxString_in_helper(obj2
);
40010 if (arg3
== NULL
) SWIG_fail
;
40014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40015 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40016 wxPyEndAllowThreads(__tstate
);
40017 if (PyErr_Occurred()) SWIG_fail
;
40019 resultobj
= SWIG_Py_Void();
40034 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40035 PyObject
*resultobj
= 0;
40036 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40037 wxWindow
*arg2
= (wxWindow
*) 0 ;
40042 PyObject
* obj0
= 0 ;
40043 PyObject
* obj1
= 0 ;
40044 char * kwnames
[] = {
40045 (char *) "self",(char *) "window", NULL
40048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40050 if (!SWIG_IsOK(res1
)) {
40051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40053 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40055 if (!SWIG_IsOK(res2
)) {
40056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40058 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40061 (arg1
)->RemoveHelp(arg2
);
40062 wxPyEndAllowThreads(__tstate
);
40063 if (PyErr_Occurred()) SWIG_fail
;
40065 resultobj
= SWIG_Py_Void();
40072 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40073 PyObject
*resultobj
= 0;
40074 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40077 PyObject
*swig_obj
[1] ;
40079 if (!args
) SWIG_fail
;
40080 swig_obj
[0] = args
;
40081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40082 if (!SWIG_IsOK(res1
)) {
40083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40085 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40088 wxHelpProvider_Destroy(arg1
);
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40092 resultobj
= SWIG_Py_Void();
40099 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40102 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40103 return SWIG_Py_Void();
40106 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40107 PyObject
*resultobj
= 0;
40108 wxSimpleHelpProvider
*result
= 0 ;
40110 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40113 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40114 wxPyEndAllowThreads(__tstate
);
40115 if (PyErr_Occurred()) SWIG_fail
;
40117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40124 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40127 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40128 return SWIG_Py_Void();
40131 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40132 return SWIG_Python_InitShadowInstance(args
);
40135 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40136 PyObject
*resultobj
= 0;
40137 wxBitmap
*arg1
= 0 ;
40138 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40139 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40140 wxGenericDragImage
*result
= 0 ;
40145 PyObject
* obj0
= 0 ;
40146 PyObject
* obj1
= 0 ;
40147 char * kwnames
[] = {
40148 (char *) "image",(char *) "cursor", NULL
40151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40152 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40153 if (!SWIG_IsOK(res1
)) {
40154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40159 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40162 if (!SWIG_IsOK(res2
)) {
40163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40168 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40171 if (!wxPyCheckForApp()) SWIG_fail
;
40172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40173 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40174 wxPyEndAllowThreads(__tstate
);
40175 if (PyErr_Occurred()) SWIG_fail
;
40177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40184 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40185 PyObject
*resultobj
= 0;
40187 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40188 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40189 wxGenericDragImage
*result
= 0 ;
40194 PyObject
* obj0
= 0 ;
40195 PyObject
* obj1
= 0 ;
40196 char * kwnames
[] = {
40197 (char *) "image",(char *) "cursor", NULL
40200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40201 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40202 if (!SWIG_IsOK(res1
)) {
40203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40208 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40211 if (!SWIG_IsOK(res2
)) {
40212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40217 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40220 if (!wxPyCheckForApp()) SWIG_fail
;
40221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40222 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40223 wxPyEndAllowThreads(__tstate
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40233 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40234 PyObject
*resultobj
= 0;
40235 wxString
*arg1
= 0 ;
40236 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40237 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40238 wxGenericDragImage
*result
= 0 ;
40239 bool temp1
= false ;
40242 PyObject
* obj0
= 0 ;
40243 PyObject
* obj1
= 0 ;
40244 char * kwnames
[] = {
40245 (char *) "str",(char *) "cursor", NULL
40248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40250 arg1
= wxString_in_helper(obj0
);
40251 if (arg1
== NULL
) SWIG_fail
;
40255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40256 if (!SWIG_IsOK(res2
)) {
40257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40262 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40265 if (!wxPyCheckForApp()) SWIG_fail
;
40266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40267 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40268 wxPyEndAllowThreads(__tstate
);
40269 if (PyErr_Occurred()) SWIG_fail
;
40271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40286 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40287 PyObject
*resultobj
= 0;
40288 wxPyTreeCtrl
*arg1
= 0 ;
40289 wxTreeItemId
*arg2
= 0 ;
40290 wxGenericDragImage
*result
= 0 ;
40295 PyObject
* obj0
= 0 ;
40296 PyObject
* obj1
= 0 ;
40297 char * kwnames
[] = {
40298 (char *) "treeCtrl",(char *) "id", NULL
40301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40302 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40303 if (!SWIG_IsOK(res1
)) {
40304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40309 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40311 if (!SWIG_IsOK(res2
)) {
40312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40317 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40319 if (!wxPyCheckForApp()) SWIG_fail
;
40320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40321 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40322 wxPyEndAllowThreads(__tstate
);
40323 if (PyErr_Occurred()) SWIG_fail
;
40325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40332 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40333 PyObject
*resultobj
= 0;
40334 wxPyListCtrl
*arg1
= 0 ;
40336 wxGenericDragImage
*result
= 0 ;
40341 PyObject
* obj0
= 0 ;
40342 PyObject
* obj1
= 0 ;
40343 char * kwnames
[] = {
40344 (char *) "listCtrl",(char *) "id", NULL
40347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40348 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40349 if (!SWIG_IsOK(res1
)) {
40350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40355 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40356 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40357 if (!SWIG_IsOK(ecode2
)) {
40358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40360 arg2
= static_cast< long >(val2
);
40362 if (!wxPyCheckForApp()) SWIG_fail
;
40363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40364 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40365 wxPyEndAllowThreads(__tstate
);
40366 if (PyErr_Occurred()) SWIG_fail
;
40368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40375 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40376 PyObject
*resultobj
= 0;
40377 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40380 PyObject
*swig_obj
[1] ;
40382 if (!args
) SWIG_fail
;
40383 swig_obj
[0] = args
;
40384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40385 if (!SWIG_IsOK(res1
)) {
40386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40388 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40393 wxPyEndAllowThreads(__tstate
);
40394 if (PyErr_Occurred()) SWIG_fail
;
40396 resultobj
= SWIG_Py_Void();
40403 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40404 PyObject
*resultobj
= 0;
40405 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40406 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40411 PyObject
* obj0
= 0 ;
40412 PyObject
* obj1
= 0 ;
40413 char * kwnames
[] = {
40414 (char *) "self",(char *) "bitmap", NULL
40417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40419 if (!SWIG_IsOK(res1
)) {
40420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40422 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40424 if (!SWIG_IsOK(res2
)) {
40425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40427 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40430 (arg1
)->SetBackingBitmap(arg2
);
40431 wxPyEndAllowThreads(__tstate
);
40432 if (PyErr_Occurred()) SWIG_fail
;
40434 resultobj
= SWIG_Py_Void();
40441 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40442 PyObject
*resultobj
= 0;
40443 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40444 wxPoint
*arg2
= 0 ;
40445 wxWindow
*arg3
= (wxWindow
*) 0 ;
40446 bool arg4
= (bool) false ;
40447 wxRect
*arg5
= (wxRect
*) NULL
;
40458 PyObject
* obj0
= 0 ;
40459 PyObject
* obj1
= 0 ;
40460 PyObject
* obj2
= 0 ;
40461 PyObject
* obj3
= 0 ;
40462 PyObject
* obj4
= 0 ;
40463 char * kwnames
[] = {
40464 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40469 if (!SWIG_IsOK(res1
)) {
40470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40472 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40475 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40477 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40478 if (!SWIG_IsOK(res3
)) {
40479 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40481 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40483 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40484 if (!SWIG_IsOK(ecode4
)) {
40485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40487 arg4
= static_cast< bool >(val4
);
40490 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40491 if (!SWIG_IsOK(res5
)) {
40492 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40494 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40498 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40499 wxPyEndAllowThreads(__tstate
);
40500 if (PyErr_Occurred()) SWIG_fail
;
40503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40511 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40512 PyObject
*resultobj
= 0;
40513 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40514 wxPoint
*arg2
= 0 ;
40515 wxWindow
*arg3
= (wxWindow
*) 0 ;
40516 wxWindow
*arg4
= (wxWindow
*) 0 ;
40525 PyObject
* obj0
= 0 ;
40526 PyObject
* obj1
= 0 ;
40527 PyObject
* obj2
= 0 ;
40528 PyObject
* obj3
= 0 ;
40529 char * kwnames
[] = {
40530 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40535 if (!SWIG_IsOK(res1
)) {
40536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40538 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40541 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40543 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40544 if (!SWIG_IsOK(res3
)) {
40545 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40547 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40548 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40549 if (!SWIG_IsOK(res4
)) {
40550 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40552 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40555 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40556 wxPyEndAllowThreads(__tstate
);
40557 if (PyErr_Occurred()) SWIG_fail
;
40560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40568 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40569 PyObject
*resultobj
= 0;
40570 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40574 PyObject
*swig_obj
[1] ;
40576 if (!args
) SWIG_fail
;
40577 swig_obj
[0] = args
;
40578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40579 if (!SWIG_IsOK(res1
)) {
40580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40582 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40585 result
= (bool)(arg1
)->EndDrag();
40586 wxPyEndAllowThreads(__tstate
);
40587 if (PyErr_Occurred()) SWIG_fail
;
40590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40598 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40599 PyObject
*resultobj
= 0;
40600 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40601 wxPoint
*arg2
= 0 ;
40606 PyObject
* obj0
= 0 ;
40607 PyObject
* obj1
= 0 ;
40608 char * kwnames
[] = {
40609 (char *) "self",(char *) "pt", NULL
40612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40614 if (!SWIG_IsOK(res1
)) {
40615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40617 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40624 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40625 wxPyEndAllowThreads(__tstate
);
40626 if (PyErr_Occurred()) SWIG_fail
;
40629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40637 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40638 PyObject
*resultobj
= 0;
40639 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40643 PyObject
*swig_obj
[1] ;
40645 if (!args
) SWIG_fail
;
40646 swig_obj
[0] = args
;
40647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40648 if (!SWIG_IsOK(res1
)) {
40649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40651 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40654 result
= (bool)(arg1
)->Show();
40655 wxPyEndAllowThreads(__tstate
);
40656 if (PyErr_Occurred()) SWIG_fail
;
40659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40667 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40668 PyObject
*resultobj
= 0;
40669 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40673 PyObject
*swig_obj
[1] ;
40675 if (!args
) SWIG_fail
;
40676 swig_obj
[0] = args
;
40677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40678 if (!SWIG_IsOK(res1
)) {
40679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40681 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40684 result
= (bool)(arg1
)->Hide();
40685 wxPyEndAllowThreads(__tstate
);
40686 if (PyErr_Occurred()) SWIG_fail
;
40689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40697 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40698 PyObject
*resultobj
= 0;
40699 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40700 wxPoint
*arg2
= 0 ;
40705 PyObject
* obj0
= 0 ;
40706 PyObject
* obj1
= 0 ;
40707 char * kwnames
[] = {
40708 (char *) "self",(char *) "pos", NULL
40711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40713 if (!SWIG_IsOK(res1
)) {
40714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40716 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40723 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40724 wxPyEndAllowThreads(__tstate
);
40725 if (PyErr_Occurred()) SWIG_fail
;
40727 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40734 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40735 PyObject
*resultobj
= 0;
40736 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40738 wxPoint
*arg3
= 0 ;
40745 PyObject
* obj0
= 0 ;
40746 PyObject
* obj1
= 0 ;
40747 PyObject
* obj2
= 0 ;
40748 char * kwnames
[] = {
40749 (char *) "self",(char *) "dc",(char *) "pos", NULL
40752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40754 if (!SWIG_IsOK(res1
)) {
40755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40757 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40759 if (!SWIG_IsOK(res2
)) {
40760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40765 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40768 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40772 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40773 wxPyEndAllowThreads(__tstate
);
40774 if (PyErr_Occurred()) SWIG_fail
;
40777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40785 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40786 PyObject
*resultobj
= 0;
40787 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40789 wxMemoryDC
*arg3
= 0 ;
40801 PyObject
* obj0
= 0 ;
40802 PyObject
* obj1
= 0 ;
40803 PyObject
* obj2
= 0 ;
40804 PyObject
* obj3
= 0 ;
40805 PyObject
* obj4
= 0 ;
40806 char * kwnames
[] = {
40807 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40812 if (!SWIG_IsOK(res1
)) {
40813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40815 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40817 if (!SWIG_IsOK(res2
)) {
40818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40823 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40824 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40825 if (!SWIG_IsOK(res3
)) {
40826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40831 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40834 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40838 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40842 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40843 wxPyEndAllowThreads(__tstate
);
40844 if (PyErr_Occurred()) SWIG_fail
;
40847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40855 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40856 PyObject
*resultobj
= 0;
40857 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40858 wxPoint
*arg2
= 0 ;
40859 wxPoint
*arg3
= 0 ;
40871 PyObject
* obj0
= 0 ;
40872 PyObject
* obj1
= 0 ;
40873 PyObject
* obj2
= 0 ;
40874 PyObject
* obj3
= 0 ;
40875 PyObject
* obj4
= 0 ;
40876 char * kwnames
[] = {
40877 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40882 if (!SWIG_IsOK(res1
)) {
40883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40885 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40892 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40894 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40895 if (!SWIG_IsOK(ecode4
)) {
40896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40898 arg4
= static_cast< bool >(val4
);
40899 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40900 if (!SWIG_IsOK(ecode5
)) {
40901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40903 arg5
= static_cast< bool >(val5
);
40905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40906 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40907 wxPyEndAllowThreads(__tstate
);
40908 if (PyErr_Occurred()) SWIG_fail
;
40911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40919 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40922 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40923 return SWIG_Py_Void();
40926 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40927 return SWIG_Python_InitShadowInstance(args
);
40930 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40931 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40936 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40937 PyObject
*pyobj
= 0;
40941 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40943 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40950 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40951 PyObject
*resultobj
= 0;
40952 wxWindow
*arg1
= (wxWindow
*) 0 ;
40953 int arg2
= (int) -1 ;
40954 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40955 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40960 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40961 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40962 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40963 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40964 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40965 wxDatePickerCtrl
*result
= 0 ;
40978 bool temp8
= false ;
40979 PyObject
* obj0
= 0 ;
40980 PyObject
* obj1
= 0 ;
40981 PyObject
* obj2
= 0 ;
40982 PyObject
* obj3
= 0 ;
40983 PyObject
* obj4
= 0 ;
40984 PyObject
* obj5
= 0 ;
40985 PyObject
* obj6
= 0 ;
40986 PyObject
* obj7
= 0 ;
40987 char * kwnames
[] = {
40988 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40993 if (!SWIG_IsOK(res1
)) {
40994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40996 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40999 if (!SWIG_IsOK(ecode2
)) {
41000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41002 arg2
= static_cast< int >(val2
);
41005 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41006 if (!SWIG_IsOK(res3
)) {
41007 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41012 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41017 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41023 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41027 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41028 if (!SWIG_IsOK(ecode6
)) {
41029 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41031 arg6
= static_cast< long >(val6
);
41034 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41035 if (!SWIG_IsOK(res7
)) {
41036 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41041 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41045 arg8
= wxString_in_helper(obj7
);
41046 if (arg8
== NULL
) SWIG_fail
;
41051 if (!wxPyCheckForApp()) SWIG_fail
;
41052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41053 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41054 wxPyEndAllowThreads(__tstate
);
41055 if (PyErr_Occurred()) SWIG_fail
;
41057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41072 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41073 PyObject
*resultobj
= 0;
41074 wxDatePickerCtrl
*result
= 0 ;
41076 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41078 if (!wxPyCheckForApp()) SWIG_fail
;
41079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41080 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41081 wxPyEndAllowThreads(__tstate
);
41082 if (PyErr_Occurred()) SWIG_fail
;
41084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41091 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41092 PyObject
*resultobj
= 0;
41093 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41094 wxWindow
*arg2
= (wxWindow
*) 0 ;
41095 int arg3
= (int) -1 ;
41096 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41097 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41098 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41099 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41100 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41101 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41102 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41103 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41104 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41105 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41106 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41122 bool temp9
= false ;
41123 PyObject
* obj0
= 0 ;
41124 PyObject
* obj1
= 0 ;
41125 PyObject
* obj2
= 0 ;
41126 PyObject
* obj3
= 0 ;
41127 PyObject
* obj4
= 0 ;
41128 PyObject
* obj5
= 0 ;
41129 PyObject
* obj6
= 0 ;
41130 PyObject
* obj7
= 0 ;
41131 PyObject
* obj8
= 0 ;
41132 char * kwnames
[] = {
41133 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41138 if (!SWIG_IsOK(res1
)) {
41139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41141 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41143 if (!SWIG_IsOK(res2
)) {
41144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41149 if (!SWIG_IsOK(ecode3
)) {
41150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41152 arg3
= static_cast< int >(val3
);
41155 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41156 if (!SWIG_IsOK(res4
)) {
41157 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41162 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41167 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41173 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41177 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41178 if (!SWIG_IsOK(ecode7
)) {
41179 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41181 arg7
= static_cast< long >(val7
);
41184 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41185 if (!SWIG_IsOK(res8
)) {
41186 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41191 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41195 arg9
= wxString_in_helper(obj8
);
41196 if (arg9
== NULL
) SWIG_fail
;
41201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41202 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41203 wxPyEndAllowThreads(__tstate
);
41204 if (PyErr_Occurred()) SWIG_fail
;
41207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41223 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41224 PyObject
*resultobj
= 0;
41225 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41226 wxDateTime
*arg2
= 0 ;
41231 PyObject
* obj0
= 0 ;
41232 PyObject
* obj1
= 0 ;
41233 char * kwnames
[] = {
41234 (char *) "self",(char *) "dt", NULL
41237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41239 if (!SWIG_IsOK(res1
)) {
41240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41242 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41244 if (!SWIG_IsOK(res2
)) {
41245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41250 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41253 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41254 wxPyEndAllowThreads(__tstate
);
41255 if (PyErr_Occurred()) SWIG_fail
;
41257 resultobj
= SWIG_Py_Void();
41264 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41265 PyObject
*resultobj
= 0;
41266 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41270 PyObject
*swig_obj
[1] ;
41272 if (!args
) SWIG_fail
;
41273 swig_obj
[0] = args
;
41274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41275 if (!SWIG_IsOK(res1
)) {
41276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41278 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41281 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41282 wxPyEndAllowThreads(__tstate
);
41283 if (PyErr_Occurred()) SWIG_fail
;
41285 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41292 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41293 PyObject
*resultobj
= 0;
41294 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41295 wxDateTime
*arg2
= 0 ;
41296 wxDateTime
*arg3
= 0 ;
41303 PyObject
* obj0
= 0 ;
41304 PyObject
* obj1
= 0 ;
41305 PyObject
* obj2
= 0 ;
41306 char * kwnames
[] = {
41307 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41312 if (!SWIG_IsOK(res1
)) {
41313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41315 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41317 if (!SWIG_IsOK(res2
)) {
41318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41323 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41324 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41325 if (!SWIG_IsOK(res3
)) {
41326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41331 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41334 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41335 wxPyEndAllowThreads(__tstate
);
41336 if (PyErr_Occurred()) SWIG_fail
;
41338 resultobj
= SWIG_Py_Void();
41345 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41346 PyObject
*resultobj
= 0;
41347 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41351 PyObject
*swig_obj
[1] ;
41353 if (!args
) SWIG_fail
;
41354 swig_obj
[0] = args
;
41355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41356 if (!SWIG_IsOK(res1
)) {
41357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41359 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41362 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41363 wxPyEndAllowThreads(__tstate
);
41364 if (PyErr_Occurred()) SWIG_fail
;
41366 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41373 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41374 PyObject
*resultobj
= 0;
41375 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41379 PyObject
*swig_obj
[1] ;
41381 if (!args
) SWIG_fail
;
41382 swig_obj
[0] = args
;
41383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41384 if (!SWIG_IsOK(res1
)) {
41385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41387 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41390 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41391 wxPyEndAllowThreads(__tstate
);
41392 if (PyErr_Occurred()) SWIG_fail
;
41394 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41401 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41404 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41405 return SWIG_Py_Void();
41408 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41409 return SWIG_Python_InitShadowInstance(args
);
41412 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41413 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41418 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41419 PyObject
*pyobj
= 0;
41423 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41425 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41432 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41433 PyObject
*resultobj
= 0;
41434 wxWindow
*arg1
= (wxWindow
*) 0 ;
41436 wxString
*arg3
= 0 ;
41437 wxString
*arg4
= 0 ;
41438 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41439 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41440 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41441 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41442 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41443 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41444 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41445 wxHyperlinkCtrl
*result
= 0 ;
41450 bool temp3
= false ;
41451 bool temp4
= false ;
41456 bool temp8
= false ;
41457 PyObject
* obj0
= 0 ;
41458 PyObject
* obj1
= 0 ;
41459 PyObject
* obj2
= 0 ;
41460 PyObject
* obj3
= 0 ;
41461 PyObject
* obj4
= 0 ;
41462 PyObject
* obj5
= 0 ;
41463 PyObject
* obj6
= 0 ;
41464 PyObject
* obj7
= 0 ;
41465 char * kwnames
[] = {
41466 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41471 if (!SWIG_IsOK(res1
)) {
41472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41474 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41476 if (!SWIG_IsOK(ecode2
)) {
41477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41479 arg2
= static_cast< int >(val2
);
41481 arg3
= wxString_in_helper(obj2
);
41482 if (arg3
== NULL
) SWIG_fail
;
41486 arg4
= wxString_in_helper(obj3
);
41487 if (arg4
== NULL
) SWIG_fail
;
41493 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41499 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41503 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41504 if (!SWIG_IsOK(ecode7
)) {
41505 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41507 arg7
= static_cast< long >(val7
);
41511 arg8
= wxString_in_helper(obj7
);
41512 if (arg8
== NULL
) SWIG_fail
;
41517 if (!wxPyCheckForApp()) SWIG_fail
;
41518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41519 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41520 wxPyEndAllowThreads(__tstate
);
41521 if (PyErr_Occurred()) SWIG_fail
;
41523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41554 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41555 PyObject
*resultobj
= 0;
41556 wxHyperlinkCtrl
*result
= 0 ;
41558 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41560 if (!wxPyCheckForApp()) SWIG_fail
;
41561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41562 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41563 wxPyEndAllowThreads(__tstate
);
41564 if (PyErr_Occurred()) SWIG_fail
;
41566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41573 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41574 PyObject
*resultobj
= 0;
41575 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41576 wxWindow
*arg2
= (wxWindow
*) 0 ;
41578 wxString
*arg4
= 0 ;
41579 wxString
*arg5
= 0 ;
41580 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41581 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41582 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41583 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41584 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41585 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41586 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41594 bool temp4
= false ;
41595 bool temp5
= false ;
41600 bool temp9
= false ;
41601 PyObject
* obj0
= 0 ;
41602 PyObject
* obj1
= 0 ;
41603 PyObject
* obj2
= 0 ;
41604 PyObject
* obj3
= 0 ;
41605 PyObject
* obj4
= 0 ;
41606 PyObject
* obj5
= 0 ;
41607 PyObject
* obj6
= 0 ;
41608 PyObject
* obj7
= 0 ;
41609 PyObject
* obj8
= 0 ;
41610 char * kwnames
[] = {
41611 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41616 if (!SWIG_IsOK(res1
)) {
41617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41619 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41621 if (!SWIG_IsOK(res2
)) {
41622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41624 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41626 if (!SWIG_IsOK(ecode3
)) {
41627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41629 arg3
= static_cast< int >(val3
);
41631 arg4
= wxString_in_helper(obj3
);
41632 if (arg4
== NULL
) SWIG_fail
;
41636 arg5
= wxString_in_helper(obj4
);
41637 if (arg5
== NULL
) SWIG_fail
;
41643 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41649 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41653 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41654 if (!SWIG_IsOK(ecode8
)) {
41655 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41657 arg8
= static_cast< long >(val8
);
41661 arg9
= wxString_in_helper(obj8
);
41662 if (arg9
== NULL
) SWIG_fail
;
41667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41668 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41669 wxPyEndAllowThreads(__tstate
);
41670 if (PyErr_Occurred()) SWIG_fail
;
41673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41705 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41706 PyObject
*resultobj
= 0;
41707 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41711 PyObject
*swig_obj
[1] ;
41713 if (!args
) SWIG_fail
;
41714 swig_obj
[0] = args
;
41715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41716 if (!SWIG_IsOK(res1
)) {
41717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41719 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41722 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41723 wxPyEndAllowThreads(__tstate
);
41724 if (PyErr_Occurred()) SWIG_fail
;
41726 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41733 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41734 PyObject
*resultobj
= 0;
41735 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41736 wxColour
*arg2
= 0 ;
41740 PyObject
* obj0
= 0 ;
41741 PyObject
* obj1
= 0 ;
41742 char * kwnames
[] = {
41743 (char *) "self",(char *) "colour", NULL
41746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41748 if (!SWIG_IsOK(res1
)) {
41749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41751 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41754 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41758 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41759 wxPyEndAllowThreads(__tstate
);
41760 if (PyErr_Occurred()) SWIG_fail
;
41762 resultobj
= SWIG_Py_Void();
41769 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41770 PyObject
*resultobj
= 0;
41771 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41775 PyObject
*swig_obj
[1] ;
41777 if (!args
) SWIG_fail
;
41778 swig_obj
[0] = args
;
41779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41780 if (!SWIG_IsOK(res1
)) {
41781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41783 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41786 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41787 wxPyEndAllowThreads(__tstate
);
41788 if (PyErr_Occurred()) SWIG_fail
;
41790 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41797 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41798 PyObject
*resultobj
= 0;
41799 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41800 wxColour
*arg2
= 0 ;
41804 PyObject
* obj0
= 0 ;
41805 PyObject
* obj1
= 0 ;
41806 char * kwnames
[] = {
41807 (char *) "self",(char *) "colour", NULL
41810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41812 if (!SWIG_IsOK(res1
)) {
41813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41815 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41822 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41823 wxPyEndAllowThreads(__tstate
);
41824 if (PyErr_Occurred()) SWIG_fail
;
41826 resultobj
= SWIG_Py_Void();
41833 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41834 PyObject
*resultobj
= 0;
41835 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41839 PyObject
*swig_obj
[1] ;
41841 if (!args
) SWIG_fail
;
41842 swig_obj
[0] = args
;
41843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41844 if (!SWIG_IsOK(res1
)) {
41845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41847 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41850 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41851 wxPyEndAllowThreads(__tstate
);
41852 if (PyErr_Occurred()) SWIG_fail
;
41854 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41861 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41862 PyObject
*resultobj
= 0;
41863 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41864 wxColour
*arg2
= 0 ;
41868 PyObject
* obj0
= 0 ;
41869 PyObject
* obj1
= 0 ;
41870 char * kwnames
[] = {
41871 (char *) "self",(char *) "colour", NULL
41874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41876 if (!SWIG_IsOK(res1
)) {
41877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41879 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41882 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41886 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41887 wxPyEndAllowThreads(__tstate
);
41888 if (PyErr_Occurred()) SWIG_fail
;
41890 resultobj
= SWIG_Py_Void();
41897 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41898 PyObject
*resultobj
= 0;
41899 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41903 PyObject
*swig_obj
[1] ;
41905 if (!args
) SWIG_fail
;
41906 swig_obj
[0] = args
;
41907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41908 if (!SWIG_IsOK(res1
)) {
41909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41911 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41914 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41915 wxPyEndAllowThreads(__tstate
);
41916 if (PyErr_Occurred()) SWIG_fail
;
41920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41931 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41932 PyObject
*resultobj
= 0;
41933 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41934 wxString
*arg2
= 0 ;
41937 bool temp2
= false ;
41938 PyObject
* obj0
= 0 ;
41939 PyObject
* obj1
= 0 ;
41940 char * kwnames
[] = {
41941 (char *) "self",(char *) "url", NULL
41944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41946 if (!SWIG_IsOK(res1
)) {
41947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41949 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41951 arg2
= wxString_in_helper(obj1
);
41952 if (arg2
== NULL
) SWIG_fail
;
41956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41957 (arg1
)->SetURL((wxString
const &)*arg2
);
41958 wxPyEndAllowThreads(__tstate
);
41959 if (PyErr_Occurred()) SWIG_fail
;
41961 resultobj
= SWIG_Py_Void();
41976 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41977 PyObject
*resultobj
= 0;
41978 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41979 bool arg2
= (bool) true ;
41984 PyObject
* obj0
= 0 ;
41985 PyObject
* obj1
= 0 ;
41986 char * kwnames
[] = {
41987 (char *) "self",(char *) "visited", NULL
41990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41992 if (!SWIG_IsOK(res1
)) {
41993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41995 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41997 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41998 if (!SWIG_IsOK(ecode2
)) {
41999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42001 arg2
= static_cast< bool >(val2
);
42004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42005 (arg1
)->SetVisited(arg2
);
42006 wxPyEndAllowThreads(__tstate
);
42007 if (PyErr_Occurred()) SWIG_fail
;
42009 resultobj
= SWIG_Py_Void();
42016 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42017 PyObject
*resultobj
= 0;
42018 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42022 PyObject
*swig_obj
[1] ;
42024 if (!args
) SWIG_fail
;
42025 swig_obj
[0] = args
;
42026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42027 if (!SWIG_IsOK(res1
)) {
42028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42030 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42033 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42034 wxPyEndAllowThreads(__tstate
);
42035 if (PyErr_Occurred()) SWIG_fail
;
42038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42046 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42049 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42050 return SWIG_Py_Void();
42053 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42054 return SWIG_Python_InitShadowInstance(args
);
42057 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42058 PyObject
*resultobj
= 0;
42059 wxObject
*arg1
= (wxObject
*) 0 ;
42061 wxString
*arg3
= 0 ;
42062 wxHyperlinkEvent
*result
= 0 ;
42067 bool temp3
= false ;
42068 PyObject
* obj0
= 0 ;
42069 PyObject
* obj1
= 0 ;
42070 PyObject
* obj2
= 0 ;
42071 char * kwnames
[] = {
42072 (char *) "generator",(char *) "id",(char *) "url", NULL
42075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42077 if (!SWIG_IsOK(res1
)) {
42078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42080 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42082 if (!SWIG_IsOK(ecode2
)) {
42083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42085 arg2
= static_cast< int >(val2
);
42087 arg3
= wxString_in_helper(obj2
);
42088 if (arg3
== NULL
) SWIG_fail
;
42092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42093 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42094 wxPyEndAllowThreads(__tstate
);
42095 if (PyErr_Occurred()) SWIG_fail
;
42097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42112 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42113 PyObject
*resultobj
= 0;
42114 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42118 PyObject
*swig_obj
[1] ;
42120 if (!args
) SWIG_fail
;
42121 swig_obj
[0] = args
;
42122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42123 if (!SWIG_IsOK(res1
)) {
42124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42126 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42129 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42130 wxPyEndAllowThreads(__tstate
);
42131 if (PyErr_Occurred()) SWIG_fail
;
42135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42146 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42147 PyObject
*resultobj
= 0;
42148 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42149 wxString
*arg2
= 0 ;
42152 bool temp2
= false ;
42153 PyObject
* obj0
= 0 ;
42154 PyObject
* obj1
= 0 ;
42155 char * kwnames
[] = {
42156 (char *) "self",(char *) "url", NULL
42159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42161 if (!SWIG_IsOK(res1
)) {
42162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42164 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42166 arg2
= wxString_in_helper(obj1
);
42167 if (arg2
== NULL
) SWIG_fail
;
42171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42172 (arg1
)->SetURL((wxString
const &)*arg2
);
42173 wxPyEndAllowThreads(__tstate
);
42174 if (PyErr_Occurred()) SWIG_fail
;
42176 resultobj
= SWIG_Py_Void();
42191 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42194 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42195 return SWIG_Py_Void();
42198 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42199 return SWIG_Python_InitShadowInstance(args
);
42202 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42203 PyObject
*resultobj
= 0;
42204 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42205 wxWindow
*arg2
= (wxWindow
*) 0 ;
42207 wxString
const &arg4_defvalue
= wxEmptyString
;
42208 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42209 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42210 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42211 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42212 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42213 long arg7
= (long) 0 ;
42214 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42215 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42216 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42225 bool temp4
= false ;
42232 bool temp9
= false ;
42233 PyObject
* obj0
= 0 ;
42234 PyObject
* obj1
= 0 ;
42235 PyObject
* obj2
= 0 ;
42236 PyObject
* obj3
= 0 ;
42237 PyObject
* obj4
= 0 ;
42238 PyObject
* obj5
= 0 ;
42239 PyObject
* obj6
= 0 ;
42240 PyObject
* obj7
= 0 ;
42241 PyObject
* obj8
= 0 ;
42242 char * kwnames
[] = {
42243 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42248 if (!SWIG_IsOK(res1
)) {
42249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42251 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42253 if (!SWIG_IsOK(res2
)) {
42254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42258 if (!SWIG_IsOK(ecode3
)) {
42259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42261 arg3
= static_cast< int >(val3
);
42264 arg4
= wxString_in_helper(obj3
);
42265 if (arg4
== NULL
) SWIG_fail
;
42272 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42278 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42282 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42283 if (!SWIG_IsOK(ecode7
)) {
42284 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42286 arg7
= static_cast< long >(val7
);
42289 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42290 if (!SWIG_IsOK(res8
)) {
42291 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42296 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42300 arg9
= wxString_in_helper(obj8
);
42301 if (arg9
== NULL
) SWIG_fail
;
42306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42307 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42308 wxPyEndAllowThreads(__tstate
);
42309 if (PyErr_Occurred()) SWIG_fail
;
42312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42336 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42337 PyObject
*resultobj
= 0;
42338 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42344 PyObject
* obj0
= 0 ;
42345 PyObject
* obj1
= 0 ;
42346 char * kwnames
[] = {
42347 (char *) "self",(char *) "newmargin", NULL
42350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42352 if (!SWIG_IsOK(res1
)) {
42353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42355 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42357 if (!SWIG_IsOK(ecode2
)) {
42358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42360 arg2
= static_cast< int >(val2
);
42362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42363 (arg1
)->SetInternalMargin(arg2
);
42364 wxPyEndAllowThreads(__tstate
);
42365 if (PyErr_Occurred()) SWIG_fail
;
42367 resultobj
= SWIG_Py_Void();
42374 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42375 PyObject
*resultobj
= 0;
42376 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42380 PyObject
*swig_obj
[1] ;
42382 if (!args
) SWIG_fail
;
42383 swig_obj
[0] = args
;
42384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42385 if (!SWIG_IsOK(res1
)) {
42386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42388 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42391 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42392 wxPyEndAllowThreads(__tstate
);
42393 if (PyErr_Occurred()) SWIG_fail
;
42395 resultobj
= SWIG_From_int(static_cast< int >(result
));
42402 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42403 PyObject
*resultobj
= 0;
42404 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42410 PyObject
* obj0
= 0 ;
42411 PyObject
* obj1
= 0 ;
42412 char * kwnames
[] = {
42413 (char *) "self",(char *) "prop", NULL
42416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42418 if (!SWIG_IsOK(res1
)) {
42419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42421 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42423 if (!SWIG_IsOK(ecode2
)) {
42424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42426 arg2
= static_cast< int >(val2
);
42428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42429 (arg1
)->SetTextCtrlProportion(arg2
);
42430 wxPyEndAllowThreads(__tstate
);
42431 if (PyErr_Occurred()) SWIG_fail
;
42433 resultobj
= SWIG_Py_Void();
42440 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42441 PyObject
*resultobj
= 0;
42442 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42446 PyObject
*swig_obj
[1] ;
42448 if (!args
) SWIG_fail
;
42449 swig_obj
[0] = args
;
42450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42451 if (!SWIG_IsOK(res1
)) {
42452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42454 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42457 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42458 wxPyEndAllowThreads(__tstate
);
42459 if (PyErr_Occurred()) SWIG_fail
;
42461 resultobj
= SWIG_From_int(static_cast< int >(result
));
42468 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42469 PyObject
*resultobj
= 0;
42470 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42474 PyObject
*swig_obj
[1] ;
42476 if (!args
) SWIG_fail
;
42477 swig_obj
[0] = args
;
42478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42479 if (!SWIG_IsOK(res1
)) {
42480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42482 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42485 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42486 wxPyEndAllowThreads(__tstate
);
42487 if (PyErr_Occurred()) SWIG_fail
;
42490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42498 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42499 PyObject
*resultobj
= 0;
42500 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42501 bool arg2
= (bool) true ;
42506 PyObject
* obj0
= 0 ;
42507 PyObject
* obj1
= 0 ;
42508 char * kwnames
[] = {
42509 (char *) "self",(char *) "grow", NULL
42512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42514 if (!SWIG_IsOK(res1
)) {
42515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42517 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42519 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42520 if (!SWIG_IsOK(ecode2
)) {
42521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42523 arg2
= static_cast< bool >(val2
);
42526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42527 (arg1
)->SetTextCtrlGrowable(arg2
);
42528 wxPyEndAllowThreads(__tstate
);
42529 if (PyErr_Occurred()) SWIG_fail
;
42531 resultobj
= SWIG_Py_Void();
42538 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42539 PyObject
*resultobj
= 0;
42540 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42544 PyObject
*swig_obj
[1] ;
42546 if (!args
) SWIG_fail
;
42547 swig_obj
[0] = args
;
42548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42549 if (!SWIG_IsOK(res1
)) {
42550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42552 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42555 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42556 wxPyEndAllowThreads(__tstate
);
42557 if (PyErr_Occurred()) SWIG_fail
;
42560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42568 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42569 PyObject
*resultobj
= 0;
42570 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42571 bool arg2
= (bool) true ;
42576 PyObject
* obj0
= 0 ;
42577 PyObject
* obj1
= 0 ;
42578 char * kwnames
[] = {
42579 (char *) "self",(char *) "grow", NULL
42582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42584 if (!SWIG_IsOK(res1
)) {
42585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42587 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42589 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42590 if (!SWIG_IsOK(ecode2
)) {
42591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42593 arg2
= static_cast< bool >(val2
);
42596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42597 (arg1
)->SetPickerCtrlGrowable(arg2
);
42598 wxPyEndAllowThreads(__tstate
);
42599 if (PyErr_Occurred()) SWIG_fail
;
42601 resultobj
= SWIG_Py_Void();
42608 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42609 PyObject
*resultobj
= 0;
42610 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42614 PyObject
*swig_obj
[1] ;
42616 if (!args
) SWIG_fail
;
42617 swig_obj
[0] = args
;
42618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42619 if (!SWIG_IsOK(res1
)) {
42620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42622 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42625 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42626 wxPyEndAllowThreads(__tstate
);
42627 if (PyErr_Occurred()) SWIG_fail
;
42630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42638 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42639 PyObject
*resultobj
= 0;
42640 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42641 wxTextCtrl
*result
= 0 ;
42644 PyObject
*swig_obj
[1] ;
42646 if (!args
) SWIG_fail
;
42647 swig_obj
[0] = args
;
42648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42649 if (!SWIG_IsOK(res1
)) {
42650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42652 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42655 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42656 wxPyEndAllowThreads(__tstate
);
42657 if (PyErr_Occurred()) SWIG_fail
;
42660 resultobj
= wxPyMake_wxObject(result
, 0);
42668 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42669 PyObject
*resultobj
= 0;
42670 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42671 wxControl
*result
= 0 ;
42674 PyObject
*swig_obj
[1] ;
42676 if (!args
) SWIG_fail
;
42677 swig_obj
[0] = args
;
42678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42679 if (!SWIG_IsOK(res1
)) {
42680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42682 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42685 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42686 wxPyEndAllowThreads(__tstate
);
42687 if (PyErr_Occurred()) SWIG_fail
;
42690 resultobj
= wxPyMake_wxObject(result
, 0);
42698 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42701 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42702 return SWIG_Py_Void();
42705 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42706 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42711 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42712 PyObject
*pyobj
= 0;
42716 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42718 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42725 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42726 PyObject
*resultobj
= 0;
42727 wxWindow
*arg1
= (wxWindow
*) 0 ;
42728 int arg2
= (int) -1 ;
42729 wxColour
const &arg3_defvalue
= *wxBLACK
;
42730 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42731 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42732 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42733 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42734 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42735 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42736 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42737 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42738 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42739 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42740 wxColourPickerCtrl
*result
= 0 ;
42752 bool temp8
= false ;
42753 PyObject
* obj0
= 0 ;
42754 PyObject
* obj1
= 0 ;
42755 PyObject
* obj2
= 0 ;
42756 PyObject
* obj3
= 0 ;
42757 PyObject
* obj4
= 0 ;
42758 PyObject
* obj5
= 0 ;
42759 PyObject
* obj6
= 0 ;
42760 PyObject
* obj7
= 0 ;
42761 char * kwnames
[] = {
42762 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42767 if (!SWIG_IsOK(res1
)) {
42768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42773 if (!SWIG_IsOK(ecode2
)) {
42774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42776 arg2
= static_cast< int >(val2
);
42781 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42787 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42793 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42797 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42798 if (!SWIG_IsOK(ecode6
)) {
42799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42801 arg6
= static_cast< long >(val6
);
42804 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42805 if (!SWIG_IsOK(res7
)) {
42806 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42811 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42815 arg8
= wxString_in_helper(obj7
);
42816 if (arg8
== NULL
) SWIG_fail
;
42821 if (!wxPyCheckForApp()) SWIG_fail
;
42822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42823 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42824 wxPyEndAllowThreads(__tstate
);
42825 if (PyErr_Occurred()) SWIG_fail
;
42827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42842 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42843 PyObject
*resultobj
= 0;
42844 wxColourPickerCtrl
*result
= 0 ;
42846 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42848 if (!wxPyCheckForApp()) SWIG_fail
;
42849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42850 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42851 wxPyEndAllowThreads(__tstate
);
42852 if (PyErr_Occurred()) SWIG_fail
;
42854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42861 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42862 PyObject
*resultobj
= 0;
42863 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42864 wxWindow
*arg2
= (wxWindow
*) 0 ;
42866 wxColour
const &arg4_defvalue
= *wxBLACK
;
42867 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42868 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42869 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42870 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42871 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42872 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42873 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42874 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42875 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42876 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42891 bool temp9
= false ;
42892 PyObject
* obj0
= 0 ;
42893 PyObject
* obj1
= 0 ;
42894 PyObject
* obj2
= 0 ;
42895 PyObject
* obj3
= 0 ;
42896 PyObject
* obj4
= 0 ;
42897 PyObject
* obj5
= 0 ;
42898 PyObject
* obj6
= 0 ;
42899 PyObject
* obj7
= 0 ;
42900 PyObject
* obj8
= 0 ;
42901 char * kwnames
[] = {
42902 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42907 if (!SWIG_IsOK(res1
)) {
42908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42910 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42912 if (!SWIG_IsOK(res2
)) {
42913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42917 if (!SWIG_IsOK(ecode3
)) {
42918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42920 arg3
= static_cast< int >(val3
);
42924 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
42930 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42936 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42940 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42941 if (!SWIG_IsOK(ecode7
)) {
42942 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42944 arg7
= static_cast< long >(val7
);
42947 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42948 if (!SWIG_IsOK(res8
)) {
42949 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42954 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42958 arg9
= wxString_in_helper(obj8
);
42959 if (arg9
== NULL
) SWIG_fail
;
42964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42965 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42966 wxPyEndAllowThreads(__tstate
);
42967 if (PyErr_Occurred()) SWIG_fail
;
42970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42986 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42987 PyObject
*resultobj
= 0;
42988 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42992 PyObject
*swig_obj
[1] ;
42994 if (!args
) SWIG_fail
;
42995 swig_obj
[0] = args
;
42996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42997 if (!SWIG_IsOK(res1
)) {
42998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43000 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43003 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43004 wxPyEndAllowThreads(__tstate
);
43005 if (PyErr_Occurred()) SWIG_fail
;
43007 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43014 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43015 PyObject
*resultobj
= 0;
43016 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43017 wxColour
*arg2
= 0 ;
43021 PyObject
* obj0
= 0 ;
43022 PyObject
* obj1
= 0 ;
43023 char * kwnames
[] = {
43024 (char *) "self",(char *) "col", NULL
43027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43029 if (!SWIG_IsOK(res1
)) {
43030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43032 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43039 (arg1
)->SetColour((wxColour
const &)*arg2
);
43040 wxPyEndAllowThreads(__tstate
);
43041 if (PyErr_Occurred()) SWIG_fail
;
43043 resultobj
= SWIG_Py_Void();
43050 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43053 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43054 return SWIG_Py_Void();
43057 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43058 return SWIG_Python_InitShadowInstance(args
);
43061 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43062 PyObject
*resultobj
= 0;
43063 wxObject
*arg1
= (wxObject
*) 0 ;
43065 wxColour
*arg3
= 0 ;
43066 wxColourPickerEvent
*result
= 0 ;
43072 PyObject
* obj0
= 0 ;
43073 PyObject
* obj1
= 0 ;
43074 PyObject
* obj2
= 0 ;
43075 char * kwnames
[] = {
43076 (char *) "generator",(char *) "id",(char *) "col", NULL
43079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43081 if (!SWIG_IsOK(res1
)) {
43082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43084 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43086 if (!SWIG_IsOK(ecode2
)) {
43087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43089 arg2
= static_cast< int >(val2
);
43092 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43096 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43097 wxPyEndAllowThreads(__tstate
);
43098 if (PyErr_Occurred()) SWIG_fail
;
43100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43107 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43108 PyObject
*resultobj
= 0;
43109 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43113 PyObject
*swig_obj
[1] ;
43115 if (!args
) SWIG_fail
;
43116 swig_obj
[0] = args
;
43117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43118 if (!SWIG_IsOK(res1
)) {
43119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43121 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43124 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43125 wxPyEndAllowThreads(__tstate
);
43126 if (PyErr_Occurred()) SWIG_fail
;
43128 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43135 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43136 PyObject
*resultobj
= 0;
43137 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43138 wxColour
*arg2
= 0 ;
43142 PyObject
* obj0
= 0 ;
43143 PyObject
* obj1
= 0 ;
43144 char * kwnames
[] = {
43145 (char *) "self",(char *) "c", NULL
43148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43150 if (!SWIG_IsOK(res1
)) {
43151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43153 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43160 (arg1
)->SetColour((wxColour
const &)*arg2
);
43161 wxPyEndAllowThreads(__tstate
);
43162 if (PyErr_Occurred()) SWIG_fail
;
43164 resultobj
= SWIG_Py_Void();
43171 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43174 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43175 return SWIG_Py_Void();
43178 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43179 return SWIG_Python_InitShadowInstance(args
);
43182 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43183 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43188 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43189 PyObject
*pyobj
= 0;
43193 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43195 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43202 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43203 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43208 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43209 PyObject
*pyobj
= 0;
43213 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43215 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43222 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43223 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43228 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43229 PyObject
*pyobj
= 0;
43233 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43235 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43242 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43243 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43248 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43249 PyObject
*pyobj
= 0;
43253 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43255 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43262 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43263 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43268 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43269 PyObject
*pyobj
= 0;
43273 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43275 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43282 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43283 PyObject
*resultobj
= 0;
43284 wxWindow
*arg1
= (wxWindow
*) 0 ;
43285 int arg2
= (int) -1 ;
43286 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43288 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43289 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43290 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43291 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43292 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43293 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43294 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43295 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43296 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43297 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43298 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43299 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43300 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43301 wxFilePickerCtrl
*result
= 0 ;
43306 bool temp3
= false ;
43307 bool temp4
= false ;
43308 bool temp5
= false ;
43315 bool temp10
= false ;
43316 PyObject
* obj0
= 0 ;
43317 PyObject
* obj1
= 0 ;
43318 PyObject
* obj2
= 0 ;
43319 PyObject
* obj3
= 0 ;
43320 PyObject
* obj4
= 0 ;
43321 PyObject
* obj5
= 0 ;
43322 PyObject
* obj6
= 0 ;
43323 PyObject
* obj7
= 0 ;
43324 PyObject
* obj8
= 0 ;
43325 PyObject
* obj9
= 0 ;
43326 char * kwnames
[] = {
43327 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43332 if (!SWIG_IsOK(res1
)) {
43333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43338 if (!SWIG_IsOK(ecode2
)) {
43339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43341 arg2
= static_cast< int >(val2
);
43345 arg3
= wxString_in_helper(obj2
);
43346 if (arg3
== NULL
) SWIG_fail
;
43352 arg4
= wxString_in_helper(obj3
);
43353 if (arg4
== NULL
) SWIG_fail
;
43359 arg5
= wxString_in_helper(obj4
);
43360 if (arg5
== NULL
) SWIG_fail
;
43367 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43373 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43377 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43378 if (!SWIG_IsOK(ecode8
)) {
43379 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43381 arg8
= static_cast< long >(val8
);
43384 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43385 if (!SWIG_IsOK(res9
)) {
43386 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43391 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43395 arg10
= wxString_in_helper(obj9
);
43396 if (arg10
== NULL
) SWIG_fail
;
43401 if (!wxPyCheckForApp()) SWIG_fail
;
43402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43403 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
);
43404 wxPyEndAllowThreads(__tstate
);
43405 if (PyErr_Occurred()) SWIG_fail
;
43407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43446 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43447 PyObject
*resultobj
= 0;
43448 wxFilePickerCtrl
*result
= 0 ;
43450 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43452 if (!wxPyCheckForApp()) SWIG_fail
;
43453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43454 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43455 wxPyEndAllowThreads(__tstate
);
43456 if (PyErr_Occurred()) SWIG_fail
;
43458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43465 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43466 PyObject
*resultobj
= 0;
43467 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43468 wxWindow
*arg2
= (wxWindow
*) 0 ;
43469 int arg3
= (int) -1 ;
43470 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43471 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43472 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43473 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43474 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43475 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43476 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43477 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43478 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43479 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43480 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43481 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43482 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43483 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43484 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43492 bool temp4
= false ;
43493 bool temp5
= false ;
43494 bool temp6
= false ;
43501 bool temp11
= false ;
43502 PyObject
* obj0
= 0 ;
43503 PyObject
* obj1
= 0 ;
43504 PyObject
* obj2
= 0 ;
43505 PyObject
* obj3
= 0 ;
43506 PyObject
* obj4
= 0 ;
43507 PyObject
* obj5
= 0 ;
43508 PyObject
* obj6
= 0 ;
43509 PyObject
* obj7
= 0 ;
43510 PyObject
* obj8
= 0 ;
43511 PyObject
* obj9
= 0 ;
43512 PyObject
* obj10
= 0 ;
43513 char * kwnames
[] = {
43514 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43519 if (!SWIG_IsOK(res1
)) {
43520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43522 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43524 if (!SWIG_IsOK(res2
)) {
43525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43527 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43530 if (!SWIG_IsOK(ecode3
)) {
43531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43533 arg3
= static_cast< int >(val3
);
43537 arg4
= wxString_in_helper(obj3
);
43538 if (arg4
== NULL
) SWIG_fail
;
43544 arg5
= wxString_in_helper(obj4
);
43545 if (arg5
== NULL
) SWIG_fail
;
43551 arg6
= wxString_in_helper(obj5
);
43552 if (arg6
== NULL
) SWIG_fail
;
43559 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43565 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43569 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43570 if (!SWIG_IsOK(ecode9
)) {
43571 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43573 arg9
= static_cast< long >(val9
);
43576 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43577 if (!SWIG_IsOK(res10
)) {
43578 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43583 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43587 arg11
= wxString_in_helper(obj10
);
43588 if (arg11
== NULL
) SWIG_fail
;
43593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43594 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
);
43595 wxPyEndAllowThreads(__tstate
);
43596 if (PyErr_Occurred()) SWIG_fail
;
43599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43639 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43640 PyObject
*resultobj
= 0;
43641 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43645 PyObject
*swig_obj
[1] ;
43647 if (!args
) SWIG_fail
;
43648 swig_obj
[0] = args
;
43649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43650 if (!SWIG_IsOK(res1
)) {
43651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43653 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43656 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43657 wxPyEndAllowThreads(__tstate
);
43658 if (PyErr_Occurred()) SWIG_fail
;
43662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43673 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43674 PyObject
*resultobj
= 0;
43675 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43676 wxString
*arg2
= 0 ;
43679 bool temp2
= false ;
43680 PyObject
* obj0
= 0 ;
43681 PyObject
* obj1
= 0 ;
43682 char * kwnames
[] = {
43683 (char *) "self",(char *) "str", NULL
43686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43688 if (!SWIG_IsOK(res1
)) {
43689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43691 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43693 arg2
= wxString_in_helper(obj1
);
43694 if (arg2
== NULL
) SWIG_fail
;
43698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43699 (arg1
)->SetPath((wxString
const &)*arg2
);
43700 wxPyEndAllowThreads(__tstate
);
43701 if (PyErr_Occurred()) SWIG_fail
;
43703 resultobj
= SWIG_Py_Void();
43718 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43719 PyObject
*resultobj
= 0;
43720 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43721 wxString
*arg2
= 0 ;
43725 bool temp2
= false ;
43726 PyObject
* obj0
= 0 ;
43727 PyObject
* obj1
= 0 ;
43728 char * kwnames
[] = {
43729 (char *) "self",(char *) "path", NULL
43732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43734 if (!SWIG_IsOK(res1
)) {
43735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43737 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43739 arg2
= wxString_in_helper(obj1
);
43740 if (arg2
== NULL
) SWIG_fail
;
43744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43745 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43746 wxPyEndAllowThreads(__tstate
);
43747 if (PyErr_Occurred()) SWIG_fail
;
43750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43766 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43767 PyObject
*resultobj
= 0;
43768 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43772 PyObject
*swig_obj
[1] ;
43774 if (!args
) SWIG_fail
;
43775 swig_obj
[0] = args
;
43776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43777 if (!SWIG_IsOK(res1
)) {
43778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43780 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43783 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43784 wxPyEndAllowThreads(__tstate
);
43785 if (PyErr_Occurred()) SWIG_fail
;
43789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43800 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43803 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43804 return SWIG_Py_Void();
43807 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43808 return SWIG_Python_InitShadowInstance(args
);
43811 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43812 PyObject
*resultobj
= 0;
43813 wxWindow
*arg1
= (wxWindow
*) 0 ;
43814 int arg2
= (int) -1 ;
43815 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43816 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43817 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43818 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43819 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43820 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43821 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43822 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43823 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43824 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43825 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43826 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43827 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43828 wxDirPickerCtrl
*result
= 0 ;
43833 bool temp3
= false ;
43834 bool temp4
= false ;
43841 bool temp9
= false ;
43842 PyObject
* obj0
= 0 ;
43843 PyObject
* obj1
= 0 ;
43844 PyObject
* obj2
= 0 ;
43845 PyObject
* obj3
= 0 ;
43846 PyObject
* obj4
= 0 ;
43847 PyObject
* obj5
= 0 ;
43848 PyObject
* obj6
= 0 ;
43849 PyObject
* obj7
= 0 ;
43850 PyObject
* obj8
= 0 ;
43851 char * kwnames
[] = {
43852 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43857 if (!SWIG_IsOK(res1
)) {
43858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43860 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43863 if (!SWIG_IsOK(ecode2
)) {
43864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43866 arg2
= static_cast< int >(val2
);
43870 arg3
= wxString_in_helper(obj2
);
43871 if (arg3
== NULL
) SWIG_fail
;
43877 arg4
= wxString_in_helper(obj3
);
43878 if (arg4
== NULL
) SWIG_fail
;
43885 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43891 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43895 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43896 if (!SWIG_IsOK(ecode7
)) {
43897 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43899 arg7
= static_cast< long >(val7
);
43902 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43903 if (!SWIG_IsOK(res8
)) {
43904 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43909 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43913 arg9
= wxString_in_helper(obj8
);
43914 if (arg9
== NULL
) SWIG_fail
;
43919 if (!wxPyCheckForApp()) SWIG_fail
;
43920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43921 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
);
43922 wxPyEndAllowThreads(__tstate
);
43923 if (PyErr_Occurred()) SWIG_fail
;
43925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43956 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43957 PyObject
*resultobj
= 0;
43958 wxDirPickerCtrl
*result
= 0 ;
43960 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
43962 if (!wxPyCheckForApp()) SWIG_fail
;
43963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43964 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
43965 wxPyEndAllowThreads(__tstate
);
43966 if (PyErr_Occurred()) SWIG_fail
;
43968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43975 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43976 PyObject
*resultobj
= 0;
43977 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43978 wxWindow
*arg2
= (wxWindow
*) 0 ;
43979 int arg3
= (int) -1 ;
43980 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43981 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43982 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
43983 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43984 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43985 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43986 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43987 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43988 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
43989 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43990 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43991 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
43992 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44000 bool temp4
= false ;
44001 bool temp5
= false ;
44008 bool temp10
= false ;
44009 PyObject
* obj0
= 0 ;
44010 PyObject
* obj1
= 0 ;
44011 PyObject
* obj2
= 0 ;
44012 PyObject
* obj3
= 0 ;
44013 PyObject
* obj4
= 0 ;
44014 PyObject
* obj5
= 0 ;
44015 PyObject
* obj6
= 0 ;
44016 PyObject
* obj7
= 0 ;
44017 PyObject
* obj8
= 0 ;
44018 PyObject
* obj9
= 0 ;
44019 char * kwnames
[] = {
44020 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44025 if (!SWIG_IsOK(res1
)) {
44026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44028 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44029 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44030 if (!SWIG_IsOK(res2
)) {
44031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44033 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44036 if (!SWIG_IsOK(ecode3
)) {
44037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44039 arg3
= static_cast< int >(val3
);
44043 arg4
= wxString_in_helper(obj3
);
44044 if (arg4
== NULL
) SWIG_fail
;
44050 arg5
= wxString_in_helper(obj4
);
44051 if (arg5
== NULL
) SWIG_fail
;
44058 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44064 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44068 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44069 if (!SWIG_IsOK(ecode8
)) {
44070 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44072 arg8
= static_cast< long >(val8
);
44075 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44076 if (!SWIG_IsOK(res9
)) {
44077 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44082 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44086 arg10
= wxString_in_helper(obj9
);
44087 if (arg10
== NULL
) SWIG_fail
;
44092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44093 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
);
44094 wxPyEndAllowThreads(__tstate
);
44095 if (PyErr_Occurred()) SWIG_fail
;
44098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44130 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44131 PyObject
*resultobj
= 0;
44132 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44136 PyObject
*swig_obj
[1] ;
44138 if (!args
) SWIG_fail
;
44139 swig_obj
[0] = args
;
44140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44141 if (!SWIG_IsOK(res1
)) {
44142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44144 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44147 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44148 wxPyEndAllowThreads(__tstate
);
44149 if (PyErr_Occurred()) SWIG_fail
;
44153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44164 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44165 PyObject
*resultobj
= 0;
44166 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44167 wxString
*arg2
= 0 ;
44170 bool temp2
= false ;
44171 PyObject
* obj0
= 0 ;
44172 PyObject
* obj1
= 0 ;
44173 char * kwnames
[] = {
44174 (char *) "self",(char *) "str", NULL
44177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44179 if (!SWIG_IsOK(res1
)) {
44180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44182 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44184 arg2
= wxString_in_helper(obj1
);
44185 if (arg2
== NULL
) SWIG_fail
;
44189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44190 (arg1
)->SetPath((wxString
const &)*arg2
);
44191 wxPyEndAllowThreads(__tstate
);
44192 if (PyErr_Occurred()) SWIG_fail
;
44194 resultobj
= SWIG_Py_Void();
44209 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44210 PyObject
*resultobj
= 0;
44211 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44212 wxString
*arg2
= 0 ;
44216 bool temp2
= false ;
44217 PyObject
* obj0
= 0 ;
44218 PyObject
* obj1
= 0 ;
44219 char * kwnames
[] = {
44220 (char *) "self",(char *) "path", NULL
44223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44225 if (!SWIG_IsOK(res1
)) {
44226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44228 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44230 arg2
= wxString_in_helper(obj1
);
44231 if (arg2
== NULL
) SWIG_fail
;
44235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44236 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44237 wxPyEndAllowThreads(__tstate
);
44238 if (PyErr_Occurred()) SWIG_fail
;
44241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44257 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44258 PyObject
*resultobj
= 0;
44259 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44263 PyObject
*swig_obj
[1] ;
44265 if (!args
) SWIG_fail
;
44266 swig_obj
[0] = args
;
44267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44268 if (!SWIG_IsOK(res1
)) {
44269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44271 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44274 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44275 wxPyEndAllowThreads(__tstate
);
44276 if (PyErr_Occurred()) SWIG_fail
;
44280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44291 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44294 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44295 return SWIG_Py_Void();
44298 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44299 return SWIG_Python_InitShadowInstance(args
);
44302 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44303 PyObject
*resultobj
= 0;
44305 wxObject
*arg2
= (wxObject
*) 0 ;
44307 wxString
*arg4
= 0 ;
44308 wxFileDirPickerEvent
*result
= 0 ;
44315 bool temp4
= false ;
44316 PyObject
* obj0
= 0 ;
44317 PyObject
* obj1
= 0 ;
44318 PyObject
* obj2
= 0 ;
44319 PyObject
* obj3
= 0 ;
44320 char * kwnames
[] = {
44321 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44326 if (!SWIG_IsOK(ecode1
)) {
44327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44329 arg1
= static_cast< wxEventType
>(val1
);
44330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44331 if (!SWIG_IsOK(res2
)) {
44332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44334 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44336 if (!SWIG_IsOK(ecode3
)) {
44337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44339 arg3
= static_cast< int >(val3
);
44341 arg4
= wxString_in_helper(obj3
);
44342 if (arg4
== NULL
) SWIG_fail
;
44346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44347 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44348 wxPyEndAllowThreads(__tstate
);
44349 if (PyErr_Occurred()) SWIG_fail
;
44351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44366 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44367 PyObject
*resultobj
= 0;
44368 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44372 PyObject
*swig_obj
[1] ;
44374 if (!args
) SWIG_fail
;
44375 swig_obj
[0] = args
;
44376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44377 if (!SWIG_IsOK(res1
)) {
44378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44380 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44383 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44384 wxPyEndAllowThreads(__tstate
);
44385 if (PyErr_Occurred()) SWIG_fail
;
44389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44400 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44401 PyObject
*resultobj
= 0;
44402 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44403 wxString
*arg2
= 0 ;
44406 bool temp2
= false ;
44407 PyObject
* obj0
= 0 ;
44408 PyObject
* obj1
= 0 ;
44409 char * kwnames
[] = {
44410 (char *) "self",(char *) "p", NULL
44413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44415 if (!SWIG_IsOK(res1
)) {
44416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44418 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44420 arg2
= wxString_in_helper(obj1
);
44421 if (arg2
== NULL
) SWIG_fail
;
44425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44426 (arg1
)->SetPath((wxString
const &)*arg2
);
44427 wxPyEndAllowThreads(__tstate
);
44428 if (PyErr_Occurred()) SWIG_fail
;
44430 resultobj
= SWIG_Py_Void();
44445 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44448 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44449 return SWIG_Py_Void();
44452 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44453 return SWIG_Python_InitShadowInstance(args
);
44456 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44457 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44462 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44463 PyObject
*pyobj
= 0;
44467 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44469 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44476 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44477 PyObject
*resultobj
= 0;
44478 wxWindow
*arg1
= (wxWindow
*) 0 ;
44479 int arg2
= (int) -1 ;
44480 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44481 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44482 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44483 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44484 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44485 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44486 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44487 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44488 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44489 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44490 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44491 wxFontPickerCtrl
*result
= 0 ;
44504 bool temp8
= false ;
44505 PyObject
* obj0
= 0 ;
44506 PyObject
* obj1
= 0 ;
44507 PyObject
* obj2
= 0 ;
44508 PyObject
* obj3
= 0 ;
44509 PyObject
* obj4
= 0 ;
44510 PyObject
* obj5
= 0 ;
44511 PyObject
* obj6
= 0 ;
44512 PyObject
* obj7
= 0 ;
44513 char * kwnames
[] = {
44514 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44519 if (!SWIG_IsOK(res1
)) {
44520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44522 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44525 if (!SWIG_IsOK(ecode2
)) {
44526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44528 arg2
= static_cast< int >(val2
);
44531 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44532 if (!SWIG_IsOK(res3
)) {
44533 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44538 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44543 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44549 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44553 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44554 if (!SWIG_IsOK(ecode6
)) {
44555 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44557 arg6
= static_cast< long >(val6
);
44560 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44561 if (!SWIG_IsOK(res7
)) {
44562 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44567 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44571 arg8
= wxString_in_helper(obj7
);
44572 if (arg8
== NULL
) SWIG_fail
;
44577 if (!wxPyCheckForApp()) SWIG_fail
;
44578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44579 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44580 wxPyEndAllowThreads(__tstate
);
44581 if (PyErr_Occurred()) SWIG_fail
;
44583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44598 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44599 PyObject
*resultobj
= 0;
44600 wxFontPickerCtrl
*result
= 0 ;
44602 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44604 if (!wxPyCheckForApp()) SWIG_fail
;
44605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44606 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44607 wxPyEndAllowThreads(__tstate
);
44608 if (PyErr_Occurred()) SWIG_fail
;
44610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44617 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44618 PyObject
*resultobj
= 0;
44619 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44620 wxWindow
*arg2
= (wxWindow
*) 0 ;
44621 int arg3
= (int) -1 ;
44622 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44623 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44624 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44625 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44626 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44627 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44628 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44629 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44630 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44631 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44632 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44648 bool temp9
= false ;
44649 PyObject
* obj0
= 0 ;
44650 PyObject
* obj1
= 0 ;
44651 PyObject
* obj2
= 0 ;
44652 PyObject
* obj3
= 0 ;
44653 PyObject
* obj4
= 0 ;
44654 PyObject
* obj5
= 0 ;
44655 PyObject
* obj6
= 0 ;
44656 PyObject
* obj7
= 0 ;
44657 PyObject
* obj8
= 0 ;
44658 char * kwnames
[] = {
44659 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44664 if (!SWIG_IsOK(res1
)) {
44665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44667 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44669 if (!SWIG_IsOK(res2
)) {
44670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44675 if (!SWIG_IsOK(ecode3
)) {
44676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44678 arg3
= static_cast< int >(val3
);
44681 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44682 if (!SWIG_IsOK(res4
)) {
44683 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44688 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44693 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44699 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44703 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44704 if (!SWIG_IsOK(ecode7
)) {
44705 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44707 arg7
= static_cast< long >(val7
);
44710 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44711 if (!SWIG_IsOK(res8
)) {
44712 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44717 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44721 arg9
= wxString_in_helper(obj8
);
44722 if (arg9
== NULL
) SWIG_fail
;
44727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44728 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44729 wxPyEndAllowThreads(__tstate
);
44730 if (PyErr_Occurred()) SWIG_fail
;
44733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44749 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44750 PyObject
*resultobj
= 0;
44751 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44755 PyObject
*swig_obj
[1] ;
44757 if (!args
) SWIG_fail
;
44758 swig_obj
[0] = args
;
44759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44760 if (!SWIG_IsOK(res1
)) {
44761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44763 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44766 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44767 wxPyEndAllowThreads(__tstate
);
44768 if (PyErr_Occurred()) SWIG_fail
;
44770 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44777 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44778 PyObject
*resultobj
= 0;
44779 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44785 PyObject
* obj0
= 0 ;
44786 PyObject
* obj1
= 0 ;
44787 char * kwnames
[] = {
44788 (char *) "self",(char *) "f", NULL
44791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44793 if (!SWIG_IsOK(res1
)) {
44794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44796 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44798 if (!SWIG_IsOK(res2
)) {
44799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44804 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44807 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44808 wxPyEndAllowThreads(__tstate
);
44809 if (PyErr_Occurred()) SWIG_fail
;
44811 resultobj
= SWIG_Py_Void();
44818 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44819 PyObject
*resultobj
= 0;
44820 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44821 unsigned int arg2
;
44824 unsigned int val2
;
44826 PyObject
* obj0
= 0 ;
44827 PyObject
* obj1
= 0 ;
44828 char * kwnames
[] = {
44829 (char *) "self",(char *) "max", NULL
44832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44834 if (!SWIG_IsOK(res1
)) {
44835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44837 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44838 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44839 if (!SWIG_IsOK(ecode2
)) {
44840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44842 arg2
= static_cast< unsigned int >(val2
);
44844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44845 (arg1
)->SetMaxPointSize(arg2
);
44846 wxPyEndAllowThreads(__tstate
);
44847 if (PyErr_Occurred()) SWIG_fail
;
44849 resultobj
= SWIG_Py_Void();
44856 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44857 PyObject
*resultobj
= 0;
44858 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44859 unsigned int result
;
44862 PyObject
*swig_obj
[1] ;
44864 if (!args
) SWIG_fail
;
44865 swig_obj
[0] = args
;
44866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44867 if (!SWIG_IsOK(res1
)) {
44868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44870 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44873 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44874 wxPyEndAllowThreads(__tstate
);
44875 if (PyErr_Occurred()) SWIG_fail
;
44877 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44884 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44886 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44887 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44888 return SWIG_Py_Void();
44891 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44892 return SWIG_Python_InitShadowInstance(args
);
44895 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44896 PyObject
*resultobj
= 0;
44897 wxObject
*arg1
= (wxObject
*) 0 ;
44900 wxFontPickerEvent
*result
= 0 ;
44907 PyObject
* obj0
= 0 ;
44908 PyObject
* obj1
= 0 ;
44909 PyObject
* obj2
= 0 ;
44910 char * kwnames
[] = {
44911 (char *) "generator",(char *) "id",(char *) "f", NULL
44914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44916 if (!SWIG_IsOK(res1
)) {
44917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44919 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44921 if (!SWIG_IsOK(ecode2
)) {
44922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44924 arg2
= static_cast< int >(val2
);
44925 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44926 if (!SWIG_IsOK(res3
)) {
44927 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44932 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44935 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
44936 wxPyEndAllowThreads(__tstate
);
44937 if (PyErr_Occurred()) SWIG_fail
;
44939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
44946 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44947 PyObject
*resultobj
= 0;
44948 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44952 PyObject
*swig_obj
[1] ;
44954 if (!args
) SWIG_fail
;
44955 swig_obj
[0] = args
;
44956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44957 if (!SWIG_IsOK(res1
)) {
44958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44960 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44963 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
44964 wxPyEndAllowThreads(__tstate
);
44965 if (PyErr_Occurred()) SWIG_fail
;
44967 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44974 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44975 PyObject
*resultobj
= 0;
44976 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44982 PyObject
* obj0
= 0 ;
44983 PyObject
* obj1
= 0 ;
44984 char * kwnames
[] = {
44985 (char *) "self",(char *) "c", NULL
44988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44990 if (!SWIG_IsOK(res1
)) {
44991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44993 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44995 if (!SWIG_IsOK(res2
)) {
44996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45001 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45004 (arg1
)->SetFont((wxFont
const &)*arg2
);
45005 wxPyEndAllowThreads(__tstate
);
45006 if (PyErr_Occurred()) SWIG_fail
;
45008 resultobj
= SWIG_Py_Void();
45015 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45018 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45019 return SWIG_Py_Void();
45022 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45023 return SWIG_Python_InitShadowInstance(args
);
45026 static PyMethodDef SwigMethods
[] = {
45027 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45029 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45031 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45032 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45034 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45035 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45037 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45039 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45040 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45041 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45042 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45043 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45050 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45051 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45052 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45053 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45055 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45057 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45058 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45060 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45062 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45063 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45065 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45066 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45068 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45070 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45072 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45073 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45075 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45077 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45079 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45080 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45081 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45083 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45084 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45087 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45091 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45093 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45094 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45095 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45096 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45097 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45098 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45099 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45100 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45101 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45103 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45104 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45106 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45109 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45111 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45112 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45114 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45116 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45118 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45119 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45121 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45124 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45125 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45127 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45129 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45130 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45132 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45133 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45135 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45139 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45140 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45142 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45144 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45148 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45149 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45151 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45162 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45167 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45173 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45174 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45176 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45180 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45181 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45183 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45184 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45194 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45195 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45196 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45197 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45198 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45199 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45200 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45202 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45203 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45204 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45205 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45206 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45207 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45208 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45209 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45210 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45211 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45213 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45214 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45216 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45218 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45223 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45224 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45225 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45226 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45227 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45228 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45229 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45230 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45235 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45236 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45245 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45251 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45252 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45253 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45254 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45255 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45256 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45257 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45258 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45259 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45260 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45262 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45263 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45264 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45266 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45271 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45272 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45274 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45275 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45276 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45277 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45278 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45280 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45282 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45283 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45284 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45285 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45286 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45289 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45290 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45292 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45294 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45295 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45296 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45301 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45303 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45304 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45306 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45308 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45312 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45313 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45316 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45317 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45319 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45321 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45322 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45324 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45327 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45328 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45330 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45338 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45339 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45346 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45347 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45349 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45351 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45354 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45355 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45357 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45359 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45362 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45363 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45368 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45369 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45371 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45373 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45374 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45376 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45377 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45378 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45381 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45382 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45384 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45387 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45390 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45391 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45393 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45394 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45399 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45404 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45406 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45408 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45410 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45411 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45414 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45421 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45423 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45425 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45427 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45428 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45430 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45432 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45435 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45437 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45438 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45440 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45441 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45443 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45445 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45446 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45447 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45449 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45450 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45452 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45454 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45455 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45456 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45458 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45459 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45461 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45469 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45470 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45471 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45473 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45474 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45476 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45478 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45479 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45480 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45481 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45484 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45485 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45486 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45487 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45488 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45489 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45490 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45491 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45492 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45493 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45494 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45495 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45496 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45497 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45498 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45499 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45500 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45501 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45503 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45510 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45512 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45514 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45522 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45527 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45528 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45545 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45546 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45547 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45548 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45551 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45552 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45554 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45555 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45558 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45559 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45560 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45562 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45565 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45566 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45568 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45572 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45573 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45574 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45575 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45576 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45577 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45579 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45580 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45581 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45582 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45583 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45584 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45585 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45599 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45600 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45601 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45602 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45603 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45604 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45605 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45606 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45607 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45608 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45609 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45610 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45611 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45612 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45613 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45614 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45615 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45616 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45617 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45618 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45619 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45620 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45621 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45622 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45623 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45624 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45625 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45626 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45627 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45628 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45629 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45630 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45631 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45632 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45633 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45634 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45636 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45637 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45638 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45639 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45640 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45641 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45642 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45643 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45644 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45645 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45646 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45647 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45648 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45649 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45650 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45651 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45652 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45653 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45654 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45655 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45656 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45657 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45658 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45659 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45661 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45662 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45664 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45671 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45672 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45673 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45688 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45689 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45690 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45692 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45693 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45695 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45701 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45702 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45707 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45709 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45710 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45733 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45735 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45736 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45738 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45742 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45744 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45748 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45749 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45750 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45751 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45752 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45755 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45756 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45757 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45758 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45760 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45761 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45763 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45765 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45766 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45767 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45768 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45769 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45771 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45773 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45775 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45776 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45778 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45780 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45783 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45784 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45785 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45787 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45790 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45791 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45793 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45795 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45796 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45824 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45825 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45826 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45833 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45843 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
45846 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45850 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45852 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45858 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45864 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45865 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45866 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45868 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45872 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45874 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45875 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45878 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45879 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45881 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45883 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45884 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45885 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45887 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45888 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45889 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45890 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45892 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45895 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45896 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45898 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45906 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45907 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45908 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45909 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45910 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45911 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45912 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45913 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45914 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45916 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45918 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45920 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45922 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45924 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45925 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
45927 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
45929 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
45930 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
45931 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
45933 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
45934 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
45935 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
45937 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
45944 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
45945 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
45946 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
45947 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
45948 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
45954 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
45958 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
45960 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
45961 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
45966 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
45967 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
45969 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
45972 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
45974 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
45975 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45976 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45977 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
45979 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
45981 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
45983 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
45985 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
45987 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
45990 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
45991 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
45992 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
45994 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
45996 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
45997 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46000 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46002 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46003 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46005 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46007 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46008 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46009 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46010 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46012 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46014 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46016 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46017 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46019 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46021 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46022 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46024 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46026 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46029 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46030 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46031 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46033 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46035 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46038 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46039 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46040 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46042 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46044 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46045 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46047 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46049 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46052 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46053 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46054 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46056 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46058 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46059 { NULL
, NULL
, 0, NULL
}
46063 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46065 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46066 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46068 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46069 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46071 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46072 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46074 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46075 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46077 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46078 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46080 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46081 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46083 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46084 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46086 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46087 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46089 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46090 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46092 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46095 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46096 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46098 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46099 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46101 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46102 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46104 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46105 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46107 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46108 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46110 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46111 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46113 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46114 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46116 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46117 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46119 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46120 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46122 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46123 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46125 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46126 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46128 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46129 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46131 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46132 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46134 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46135 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46137 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46138 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46140 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46141 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46143 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46144 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46146 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46147 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46149 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46150 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46152 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46153 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46155 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46156 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46158 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46159 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46161 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46162 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46164 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46165 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46167 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46168 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46170 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46173 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46174 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46176 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46177 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46179 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46180 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46182 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46183 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46185 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46188 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46189 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46191 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46192 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46194 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46197 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46198 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46200 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46201 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46203 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46204 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46206 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46209 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46210 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46212 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46213 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46215 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46216 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46218 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46219 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46221 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46222 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46224 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46225 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46227 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46228 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46230 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46231 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46233 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46234 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46236 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46237 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46239 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46240 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46242 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46243 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46245 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46246 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46248 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46249 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46251 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46252 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46254 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46255 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46257 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46258 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46260 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46261 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46263 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46264 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46266 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46267 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46269 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46270 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46272 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46273 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46275 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46276 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46278 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46279 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46281 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46282 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46284 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46285 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46287 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46288 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46290 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46291 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46293 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46294 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46296 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46297 return (void *)((wxControl
*) ((wxGauge
*) x
));
46299 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46300 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46302 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46303 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46305 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46306 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46308 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46309 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46311 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46312 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46314 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46315 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46317 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46318 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46320 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46321 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46323 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46324 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46326 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46327 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46329 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46330 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46332 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46333 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46335 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46336 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46338 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46339 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46341 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46342 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46344 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46345 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46347 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46348 return (void *)((wxControl
*) ((wxSlider
*) x
));
46350 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46351 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46353 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46354 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46356 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46357 return (void *)((wxControl
*) ((wxButton
*) x
));
46359 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46360 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46362 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46363 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46365 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46366 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46368 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46369 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46371 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46372 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46374 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46375 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46377 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46378 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46380 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46381 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46383 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46384 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46386 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46387 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46389 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46390 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46392 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46393 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46395 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46396 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46398 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46399 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46401 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46402 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46404 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46405 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46407 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46408 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46410 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46411 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46413 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46414 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46416 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46417 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46419 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46420 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46422 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46423 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46425 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46426 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46428 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46429 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46431 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46432 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46434 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46437 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46438 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46440 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46441 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46443 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46446 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46449 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46450 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46452 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46455 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46458 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46461 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46462 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46464 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46465 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46467 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46470 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46473 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46476 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46479 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46482 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46483 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46485 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46488 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46491 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46494 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46497 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46500 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46503 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46506 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46509 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46512 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46515 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46518 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46521 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46524 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46527 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46530 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46533 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46536 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46539 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46542 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46545 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46548 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46551 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46554 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46557 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46560 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46563 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46566 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46569 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46572 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46575 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46578 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46581 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46582 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46584 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46585 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46587 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46588 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46590 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46591 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46593 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46594 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46596 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46597 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46599 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46602 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46603 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46605 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46606 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46608 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46611 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46612 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46614 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46615 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46617 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46618 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46620 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46621 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46623 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46624 return (void *)((wxObject
*) ((wxSizer
*) x
));
46626 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46627 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46629 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46632 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46635 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46638 static void *_p_wxEventTo_p_wxObject(void *x
) {
46639 return (void *)((wxObject
*) ((wxEvent
*) x
));
46641 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46642 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46644 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46645 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46647 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46648 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46650 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46653 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46656 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46659 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46662 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46665 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46666 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46668 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46669 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46671 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46672 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46674 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46675 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46677 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46678 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46680 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46681 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46683 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46686 static void *_p_wxControlTo_p_wxObject(void *x
) {
46687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46689 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46692 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46695 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46698 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46701 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46704 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46705 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46707 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46710 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46713 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46714 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46716 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46719 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46720 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46722 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46723 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46725 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46728 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46731 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46734 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46737 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46740 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46741 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46743 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46746 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46749 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46752 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46753 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46755 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46758 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46761 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46762 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46764 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46765 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46767 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46768 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46770 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46773 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46774 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46776 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46777 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46779 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46780 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46782 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46783 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46785 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46786 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46788 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46789 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46791 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46794 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46795 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46797 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46800 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46803 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46806 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46809 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46812 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46815 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46816 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46818 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46819 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46821 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46822 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46824 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46825 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46827 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46828 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46830 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46831 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46833 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46834 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46836 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46839 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46840 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46842 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46845 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46848 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46851 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46854 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46857 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46860 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46863 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46864 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46866 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46867 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46869 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46872 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46875 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46878 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46881 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46882 return (void *)((wxObject
*) ((wxListItem
*) x
));
46884 static void *_p_wxImageTo_p_wxObject(void *x
) {
46885 return (void *)((wxObject
*) ((wxImage
*) x
));
46887 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46888 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46890 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46893 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46894 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46896 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46899 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46902 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46905 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46908 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46911 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46914 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46917 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46920 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46923 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46926 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46929 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46932 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46935 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46938 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46941 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46944 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46947 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46950 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46953 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46956 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46959 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46962 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46965 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46968 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46971 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46974 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46977 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46980 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46983 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46986 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46989 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46992 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46995 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46998 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47001 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47004 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47007 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47010 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47011 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47013 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47014 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47016 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47017 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47019 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47020 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47022 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47023 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47025 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47026 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47028 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47029 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47031 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47032 return (void *)((wxWindow
*) ((wxControl
*) x
));
47034 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47035 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47037 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47038 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47040 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47041 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47043 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47044 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47046 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47047 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47049 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47050 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47052 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47053 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47055 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47056 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47058 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47059 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47061 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47062 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47064 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47065 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47067 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47068 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47070 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47071 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47073 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47074 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47076 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47077 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47079 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47080 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47082 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47083 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47085 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47086 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47088 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47089 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47091 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47092 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47094 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47095 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47097 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47098 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47100 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47101 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47103 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47104 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47106 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47107 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47109 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47110 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47112 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47113 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47115 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47116 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47118 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47119 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47121 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47122 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47124 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47125 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47127 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47128 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47130 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47131 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47133 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47134 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47136 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47137 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47139 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47140 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47142 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47143 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47145 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47146 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47148 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47149 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47151 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47152 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47154 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47155 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47157 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47158 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47160 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47161 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47163 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47164 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47166 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47167 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47169 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47170 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47172 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47173 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47175 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47176 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47178 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47179 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47181 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47182 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47184 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47185 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47187 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47188 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47190 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47191 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47193 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47194 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47196 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47197 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47199 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47200 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47202 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47203 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47205 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47206 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47208 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47209 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47211 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47212 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47214 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47215 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47217 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47218 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47220 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47221 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47223 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47224 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47226 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47227 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47229 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47230 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47232 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47233 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47235 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47236 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47238 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47239 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47241 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47242 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47244 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47245 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47247 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47248 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47250 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47251 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47252 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};
47253 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47254 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47255 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47256 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47257 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47258 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47259 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47260 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47261 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47262 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47263 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47264 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47265 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47266 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47267 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47268 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47269 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47270 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47271 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47272 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47273 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47274 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47275 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47276 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47277 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47278 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47279 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47280 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47281 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47282 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47283 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47284 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47285 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47286 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47287 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47288 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47289 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47290 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47291 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47292 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47293 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47294 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47295 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47296 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47297 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47298 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47299 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47300 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47301 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47302 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47303 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47304 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47305 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47306 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47307 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47308 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47309 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47310 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47311 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47312 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47313 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47314 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47315 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47316 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47317 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47318 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47319 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47320 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47321 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47322 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47323 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47324 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47325 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47326 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47327 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47328 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47329 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47330 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47331 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47332 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47333 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47334 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47335 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47336 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47337 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47338 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47339 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47340 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47341 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47342 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47343 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47344 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47345 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47346 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47347 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47348 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47349 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47350 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47351 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47352 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47353 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47354 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47355 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47356 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47357 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47358 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47359 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47360 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47361 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47362 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47363 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47364 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47365 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47366 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47367 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47368 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47369 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47370 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47371 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47372 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47373 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47374 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47375 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47376 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47377 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47378 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47379 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47380 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47381 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47382 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47383 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47384 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47385 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47386 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47387 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47388 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47389 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47390 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47391 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47392 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47393 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47394 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47395 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47396 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47397 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47398 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47399 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47400 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47401 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47402 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47403 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47404 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47405 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47406 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47407 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47408 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47409 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47410 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47411 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47412 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47413 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47414 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47415 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47416 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
47417 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47418 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47419 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47420 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47421 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47422 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47423 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47424 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47426 static swig_type_info
*swig_type_initial
[] = {
47429 &_swigt__p_form_ops_t
,
47432 &_swigt__p_unsigned_char
,
47433 &_swigt__p_unsigned_int
,
47434 &_swigt__p_unsigned_long
,
47436 &_swigt__p_wxANIHandler
,
47437 &_swigt__p_wxAcceleratorTable
,
47438 &_swigt__p_wxActivateEvent
,
47439 &_swigt__p_wxArrayInt
,
47440 &_swigt__p_wxArrayString
,
47441 &_swigt__p_wxBMPHandler
,
47442 &_swigt__p_wxBitmap
,
47443 &_swigt__p_wxBitmapButton
,
47444 &_swigt__p_wxBookCtrlBase
,
47445 &_swigt__p_wxBookCtrlBaseEvent
,
47446 &_swigt__p_wxBoxSizer
,
47447 &_swigt__p_wxButton
,
47448 &_swigt__p_wxCURHandler
,
47449 &_swigt__p_wxCheckBox
,
47450 &_swigt__p_wxCheckListBox
,
47451 &_swigt__p_wxChildFocusEvent
,
47452 &_swigt__p_wxChoice
,
47453 &_swigt__p_wxChoicebook
,
47454 &_swigt__p_wxChoicebookEvent
,
47455 &_swigt__p_wxClipboardTextEvent
,
47456 &_swigt__p_wxCloseEvent
,
47457 &_swigt__p_wxColour
,
47458 &_swigt__p_wxColourPickerCtrl
,
47459 &_swigt__p_wxColourPickerEvent
,
47460 &_swigt__p_wxComboBox
,
47461 &_swigt__p_wxCommandEvent
,
47462 &_swigt__p_wxContextHelp
,
47463 &_swigt__p_wxContextHelpButton
,
47464 &_swigt__p_wxContextMenuEvent
,
47465 &_swigt__p_wxControl
,
47466 &_swigt__p_wxControlWithItems
,
47467 &_swigt__p_wxCursor
,
47469 &_swigt__p_wxDateEvent
,
47470 &_swigt__p_wxDatePickerCtrl
,
47471 &_swigt__p_wxDateTime
,
47472 &_swigt__p_wxDirFilterListCtrl
,
47473 &_swigt__p_wxDirPickerCtrl
,
47474 &_swigt__p_wxDisplayChangedEvent
,
47475 &_swigt__p_wxDropFilesEvent
,
47476 &_swigt__p_wxDuplexMode
,
47477 &_swigt__p_wxEraseEvent
,
47478 &_swigt__p_wxEvent
,
47479 &_swigt__p_wxEvtHandler
,
47480 &_swigt__p_wxFSFile
,
47481 &_swigt__p_wxFileDirPickerEvent
,
47482 &_swigt__p_wxFilePickerCtrl
,
47483 &_swigt__p_wxFileSystem
,
47484 &_swigt__p_wxFlexGridSizer
,
47485 &_swigt__p_wxFocusEvent
,
47487 &_swigt__p_wxFontPickerCtrl
,
47488 &_swigt__p_wxFontPickerEvent
,
47489 &_swigt__p_wxGBSizerItem
,
47490 &_swigt__p_wxGIFHandler
,
47491 &_swigt__p_wxGauge
,
47492 &_swigt__p_wxGenericDirCtrl
,
47493 &_swigt__p_wxGenericDragImage
,
47494 &_swigt__p_wxGridBagSizer
,
47495 &_swigt__p_wxGridSizer
,
47496 &_swigt__p_wxHelpEvent
,
47497 &_swigt__p_wxHelpProvider
,
47498 &_swigt__p_wxHyperlinkCtrl
,
47499 &_swigt__p_wxHyperlinkEvent
,
47500 &_swigt__p_wxICOHandler
,
47502 &_swigt__p_wxIconizeEvent
,
47503 &_swigt__p_wxIdleEvent
,
47504 &_swigt__p_wxImage
,
47505 &_swigt__p_wxImageHandler
,
47506 &_swigt__p_wxImageList
,
47507 &_swigt__p_wxIndividualLayoutConstraint
,
47508 &_swigt__p_wxInitDialogEvent
,
47509 &_swigt__p_wxItemContainer
,
47510 &_swigt__p_wxJPEGHandler
,
47511 &_swigt__p_wxKeyEvent
,
47512 &_swigt__p_wxLayoutConstraints
,
47513 &_swigt__p_wxListBox
,
47514 &_swigt__p_wxListEvent
,
47515 &_swigt__p_wxListItem
,
47516 &_swigt__p_wxListItemAttr
,
47517 &_swigt__p_wxListView
,
47518 &_swigt__p_wxListbook
,
47519 &_swigt__p_wxListbookEvent
,
47520 &_swigt__p_wxMaximizeEvent
,
47521 &_swigt__p_wxMemoryDC
,
47523 &_swigt__p_wxMenuBar
,
47524 &_swigt__p_wxMenuEvent
,
47525 &_swigt__p_wxMenuItem
,
47526 &_swigt__p_wxMouseCaptureChangedEvent
,
47527 &_swigt__p_wxMouseEvent
,
47528 &_swigt__p_wxMoveEvent
,
47529 &_swigt__p_wxNavigationKeyEvent
,
47530 &_swigt__p_wxNcPaintEvent
,
47531 &_swigt__p_wxNotebook
,
47532 &_swigt__p_wxNotebookEvent
,
47533 &_swigt__p_wxNotifyEvent
,
47534 &_swigt__p_wxObject
,
47535 &_swigt__p_wxPCXHandler
,
47536 &_swigt__p_wxPNGHandler
,
47537 &_swigt__p_wxPNMHandler
,
47538 &_swigt__p_wxPaintEvent
,
47539 &_swigt__p_wxPaletteChangedEvent
,
47540 &_swigt__p_wxPaperSize
,
47541 &_swigt__p_wxPickerBase
,
47542 &_swigt__p_wxPoint
,
47543 &_swigt__p_wxPyApp
,
47544 &_swigt__p_wxPyCommandEvent
,
47545 &_swigt__p_wxPyControl
,
47546 &_swigt__p_wxPyEvent
,
47547 &_swigt__p_wxPyImageHandler
,
47548 &_swigt__p_wxPyListCtrl
,
47549 &_swigt__p_wxPySizer
,
47550 &_swigt__p_wxPyTreeCtrl
,
47551 &_swigt__p_wxPyTreeItemData
,
47552 &_swigt__p_wxPyValidator
,
47553 &_swigt__p_wxQueryNewPaletteEvent
,
47554 &_swigt__p_wxRadioBox
,
47555 &_swigt__p_wxRadioButton
,
47557 &_swigt__p_wxScrollBar
,
47558 &_swigt__p_wxScrollEvent
,
47559 &_swigt__p_wxScrollWinEvent
,
47560 &_swigt__p_wxSetCursorEvent
,
47561 &_swigt__p_wxShowEvent
,
47562 &_swigt__p_wxSimpleHelpProvider
,
47564 &_swigt__p_wxSizeEvent
,
47565 &_swigt__p_wxSizer
,
47566 &_swigt__p_wxSizerItem
,
47567 &_swigt__p_wxSlider
,
47568 &_swigt__p_wxSpinButton
,
47569 &_swigt__p_wxSpinCtrl
,
47570 &_swigt__p_wxSpinEvent
,
47571 &_swigt__p_wxStaticBitmap
,
47572 &_swigt__p_wxStaticBox
,
47573 &_swigt__p_wxStaticBoxSizer
,
47574 &_swigt__p_wxStaticLine
,
47575 &_swigt__p_wxStaticText
,
47576 &_swigt__p_wxStdDialogButtonSizer
,
47577 &_swigt__p_wxString
,
47578 &_swigt__p_wxSysColourChangedEvent
,
47579 &_swigt__p_wxTIFFHandler
,
47580 &_swigt__p_wxTextAttr
,
47581 &_swigt__p_wxTextCtrl
,
47582 &_swigt__p_wxTextUrlEvent
,
47583 &_swigt__p_wxToggleButton
,
47584 &_swigt__p_wxToolBar
,
47585 &_swigt__p_wxToolBarBase
,
47586 &_swigt__p_wxToolBarToolBase
,
47587 &_swigt__p_wxToolbook
,
47588 &_swigt__p_wxToolbookEvent
,
47589 &_swigt__p_wxTreeCtrl
,
47590 &_swigt__p_wxTreeEvent
,
47591 &_swigt__p_wxTreeItemId
,
47592 &_swigt__p_wxTreebook
,
47593 &_swigt__p_wxTreebookEvent
,
47594 &_swigt__p_wxUpdateUIEvent
,
47595 &_swigt__p_wxValidator
,
47596 &_swigt__p_wxVisualAttributes
,
47597 &_swigt__p_wxWindow
,
47598 &_swigt__p_wxWindowBase
,
47599 &_swigt__p_wxWindowCreateEvent
,
47600 &_swigt__p_wxWindowDestroyEvent
,
47601 &_swigt__p_wxXPMHandler
,
47604 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47605 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47606 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47607 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47608 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47609 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47610 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47611 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47612 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47613 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47614 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47615 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47616 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}};
47617 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}};
47618 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}};
47619 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}};
47620 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47621 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47622 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
47623 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47624 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47625 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47626 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47627 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47628 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47629 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47630 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47631 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47632 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47633 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47634 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47635 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47636 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47637 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47638 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
47639 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47640 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47641 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
47642 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
47643 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47644 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47645 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47646 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47647 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47648 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47649 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47650 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47651 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47652 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47653 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47654 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47655 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47656 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47657 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47658 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47659 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47660 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47661 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47662 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47663 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47664 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47665 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47666 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47667 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47668 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47669 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47670 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47671 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47672 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47673 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47674 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
47675 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47676 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47677 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47678 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47679 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
47680 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47681 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47682 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47683 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47684 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47685 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47686 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47687 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47688 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47689 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}};
47690 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47691 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47692 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47693 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47694 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}};
47695 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47696 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}};
47697 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47698 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47699 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47700 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47701 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47702 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47703 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47704 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47705 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47706 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47707 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}};
47708 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47709 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47710 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47711 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47712 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47713 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47714 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47715 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47716 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47717 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47718 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47719 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47720 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47721 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47722 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47723 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47724 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47725 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47726 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47727 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47728 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47729 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47730 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47731 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47732 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47733 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47734 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47735 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47736 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47737 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47738 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
47739 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47740 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}};
47741 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47742 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47743 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}};
47744 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47745 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47746 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47747 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47748 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47749 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47750 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47751 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47752 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47753 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47754 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47755 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47756 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47757 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47762 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47763 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47765 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47766 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}};
47767 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47768 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47769 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47770 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47771 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47772 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47773 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47774 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47775 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}};
47776 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47777 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
47778 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47780 static swig_cast_info
*swig_cast_initial
[] = {
47783 _swigc__p_form_ops_t
,
47786 _swigc__p_unsigned_char
,
47787 _swigc__p_unsigned_int
,
47788 _swigc__p_unsigned_long
,
47790 _swigc__p_wxANIHandler
,
47791 _swigc__p_wxAcceleratorTable
,
47792 _swigc__p_wxActivateEvent
,
47793 _swigc__p_wxArrayInt
,
47794 _swigc__p_wxArrayString
,
47795 _swigc__p_wxBMPHandler
,
47796 _swigc__p_wxBitmap
,
47797 _swigc__p_wxBitmapButton
,
47798 _swigc__p_wxBookCtrlBase
,
47799 _swigc__p_wxBookCtrlBaseEvent
,
47800 _swigc__p_wxBoxSizer
,
47801 _swigc__p_wxButton
,
47802 _swigc__p_wxCURHandler
,
47803 _swigc__p_wxCheckBox
,
47804 _swigc__p_wxCheckListBox
,
47805 _swigc__p_wxChildFocusEvent
,
47806 _swigc__p_wxChoice
,
47807 _swigc__p_wxChoicebook
,
47808 _swigc__p_wxChoicebookEvent
,
47809 _swigc__p_wxClipboardTextEvent
,
47810 _swigc__p_wxCloseEvent
,
47811 _swigc__p_wxColour
,
47812 _swigc__p_wxColourPickerCtrl
,
47813 _swigc__p_wxColourPickerEvent
,
47814 _swigc__p_wxComboBox
,
47815 _swigc__p_wxCommandEvent
,
47816 _swigc__p_wxContextHelp
,
47817 _swigc__p_wxContextHelpButton
,
47818 _swigc__p_wxContextMenuEvent
,
47819 _swigc__p_wxControl
,
47820 _swigc__p_wxControlWithItems
,
47821 _swigc__p_wxCursor
,
47823 _swigc__p_wxDateEvent
,
47824 _swigc__p_wxDatePickerCtrl
,
47825 _swigc__p_wxDateTime
,
47826 _swigc__p_wxDirFilterListCtrl
,
47827 _swigc__p_wxDirPickerCtrl
,
47828 _swigc__p_wxDisplayChangedEvent
,
47829 _swigc__p_wxDropFilesEvent
,
47830 _swigc__p_wxDuplexMode
,
47831 _swigc__p_wxEraseEvent
,
47833 _swigc__p_wxEvtHandler
,
47834 _swigc__p_wxFSFile
,
47835 _swigc__p_wxFileDirPickerEvent
,
47836 _swigc__p_wxFilePickerCtrl
,
47837 _swigc__p_wxFileSystem
,
47838 _swigc__p_wxFlexGridSizer
,
47839 _swigc__p_wxFocusEvent
,
47841 _swigc__p_wxFontPickerCtrl
,
47842 _swigc__p_wxFontPickerEvent
,
47843 _swigc__p_wxGBSizerItem
,
47844 _swigc__p_wxGIFHandler
,
47846 _swigc__p_wxGenericDirCtrl
,
47847 _swigc__p_wxGenericDragImage
,
47848 _swigc__p_wxGridBagSizer
,
47849 _swigc__p_wxGridSizer
,
47850 _swigc__p_wxHelpEvent
,
47851 _swigc__p_wxHelpProvider
,
47852 _swigc__p_wxHyperlinkCtrl
,
47853 _swigc__p_wxHyperlinkEvent
,
47854 _swigc__p_wxICOHandler
,
47856 _swigc__p_wxIconizeEvent
,
47857 _swigc__p_wxIdleEvent
,
47859 _swigc__p_wxImageHandler
,
47860 _swigc__p_wxImageList
,
47861 _swigc__p_wxIndividualLayoutConstraint
,
47862 _swigc__p_wxInitDialogEvent
,
47863 _swigc__p_wxItemContainer
,
47864 _swigc__p_wxJPEGHandler
,
47865 _swigc__p_wxKeyEvent
,
47866 _swigc__p_wxLayoutConstraints
,
47867 _swigc__p_wxListBox
,
47868 _swigc__p_wxListEvent
,
47869 _swigc__p_wxListItem
,
47870 _swigc__p_wxListItemAttr
,
47871 _swigc__p_wxListView
,
47872 _swigc__p_wxListbook
,
47873 _swigc__p_wxListbookEvent
,
47874 _swigc__p_wxMaximizeEvent
,
47875 _swigc__p_wxMemoryDC
,
47877 _swigc__p_wxMenuBar
,
47878 _swigc__p_wxMenuEvent
,
47879 _swigc__p_wxMenuItem
,
47880 _swigc__p_wxMouseCaptureChangedEvent
,
47881 _swigc__p_wxMouseEvent
,
47882 _swigc__p_wxMoveEvent
,
47883 _swigc__p_wxNavigationKeyEvent
,
47884 _swigc__p_wxNcPaintEvent
,
47885 _swigc__p_wxNotebook
,
47886 _swigc__p_wxNotebookEvent
,
47887 _swigc__p_wxNotifyEvent
,
47888 _swigc__p_wxObject
,
47889 _swigc__p_wxPCXHandler
,
47890 _swigc__p_wxPNGHandler
,
47891 _swigc__p_wxPNMHandler
,
47892 _swigc__p_wxPaintEvent
,
47893 _swigc__p_wxPaletteChangedEvent
,
47894 _swigc__p_wxPaperSize
,
47895 _swigc__p_wxPickerBase
,
47898 _swigc__p_wxPyCommandEvent
,
47899 _swigc__p_wxPyControl
,
47900 _swigc__p_wxPyEvent
,
47901 _swigc__p_wxPyImageHandler
,
47902 _swigc__p_wxPyListCtrl
,
47903 _swigc__p_wxPySizer
,
47904 _swigc__p_wxPyTreeCtrl
,
47905 _swigc__p_wxPyTreeItemData
,
47906 _swigc__p_wxPyValidator
,
47907 _swigc__p_wxQueryNewPaletteEvent
,
47908 _swigc__p_wxRadioBox
,
47909 _swigc__p_wxRadioButton
,
47911 _swigc__p_wxScrollBar
,
47912 _swigc__p_wxScrollEvent
,
47913 _swigc__p_wxScrollWinEvent
,
47914 _swigc__p_wxSetCursorEvent
,
47915 _swigc__p_wxShowEvent
,
47916 _swigc__p_wxSimpleHelpProvider
,
47918 _swigc__p_wxSizeEvent
,
47920 _swigc__p_wxSizerItem
,
47921 _swigc__p_wxSlider
,
47922 _swigc__p_wxSpinButton
,
47923 _swigc__p_wxSpinCtrl
,
47924 _swigc__p_wxSpinEvent
,
47925 _swigc__p_wxStaticBitmap
,
47926 _swigc__p_wxStaticBox
,
47927 _swigc__p_wxStaticBoxSizer
,
47928 _swigc__p_wxStaticLine
,
47929 _swigc__p_wxStaticText
,
47930 _swigc__p_wxStdDialogButtonSizer
,
47931 _swigc__p_wxString
,
47932 _swigc__p_wxSysColourChangedEvent
,
47933 _swigc__p_wxTIFFHandler
,
47934 _swigc__p_wxTextAttr
,
47935 _swigc__p_wxTextCtrl
,
47936 _swigc__p_wxTextUrlEvent
,
47937 _swigc__p_wxToggleButton
,
47938 _swigc__p_wxToolBar
,
47939 _swigc__p_wxToolBarBase
,
47940 _swigc__p_wxToolBarToolBase
,
47941 _swigc__p_wxToolbook
,
47942 _swigc__p_wxToolbookEvent
,
47943 _swigc__p_wxTreeCtrl
,
47944 _swigc__p_wxTreeEvent
,
47945 _swigc__p_wxTreeItemId
,
47946 _swigc__p_wxTreebook
,
47947 _swigc__p_wxTreebookEvent
,
47948 _swigc__p_wxUpdateUIEvent
,
47949 _swigc__p_wxValidator
,
47950 _swigc__p_wxVisualAttributes
,
47951 _swigc__p_wxWindow
,
47952 _swigc__p_wxWindowBase
,
47953 _swigc__p_wxWindowCreateEvent
,
47954 _swigc__p_wxWindowDestroyEvent
,
47955 _swigc__p_wxXPMHandler
,
47959 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47961 static swig_const_info swig_const_table
[] = {
47962 {0, 0, 0, 0.0, 0, 0}};
47967 /* -----------------------------------------------------------------------------
47968 * Type initialization:
47969 * This problem is tough by the requirement that no dynamic
47970 * memory is used. Also, since swig_type_info structures store pointers to
47971 * swig_cast_info structures and swig_cast_info structures store pointers back
47972 * to swig_type_info structures, we need some lookup code at initialization.
47973 * The idea is that swig generates all the structures that are needed.
47974 * The runtime then collects these partially filled structures.
47975 * The SWIG_InitializeModule function takes these initial arrays out of
47976 * swig_module, and does all the lookup, filling in the swig_module.types
47977 * array with the correct data and linking the correct swig_cast_info
47978 * structures together.
47980 * The generated swig_type_info structures are assigned staticly to an initial
47981 * array. We just loop though that array, and handle each type individually.
47982 * First we lookup if this type has been already loaded, and if so, use the
47983 * loaded structure instead of the generated one. Then we have to fill in the
47984 * cast linked list. The cast data is initially stored in something like a
47985 * two-dimensional array. Each row corresponds to a type (there are the same
47986 * number of rows as there are in the swig_type_initial array). Each entry in
47987 * a column is one of the swig_cast_info structures for that type.
47988 * The cast_initial array is actually an array of arrays, because each row has
47989 * a variable number of columns. So to actually build the cast linked list,
47990 * we find the array of casts associated with the type, and loop through it
47991 * adding the casts to the list. The one last trick we need to do is making
47992 * sure the type pointer in the swig_cast_info struct is correct.
47994 * First off, we lookup the cast->type name to see if it is already loaded.
47995 * There are three cases to handle:
47996 * 1) If the cast->type has already been loaded AND the type we are adding
47997 * casting info to has not been loaded (it is in this module), THEN we
47998 * replace the cast->type pointer with the type pointer that has already
48000 * 2) If BOTH types (the one we are adding casting info to, and the
48001 * cast->type) are loaded, THEN the cast info has already been loaded by
48002 * the previous module so we just ignore it.
48003 * 3) Finally, if cast->type has not already been loaded, then we add that
48004 * swig_cast_info to the linked list (because the cast->type) pointer will
48006 * ----------------------------------------------------------------------------- */
48016 #define SWIGRUNTIME_DEBUG
48020 SWIG_InitializeModule(void *clientdata
) {
48022 swig_module_info
*module_head
;
48023 static int init_run
= 0;
48025 clientdata
= clientdata
;
48027 if (init_run
) return;
48030 /* Initialize the swig_module */
48031 swig_module
.type_initial
= swig_type_initial
;
48032 swig_module
.cast_initial
= swig_cast_initial
;
48034 /* Try and load any already created modules */
48035 module_head
= SWIG_GetModule(clientdata
);
48037 swig_module
.next
= module_head
->next
;
48038 module_head
->next
= &swig_module
;
48040 /* This is the first module loaded */
48041 swig_module
.next
= &swig_module
;
48042 SWIG_SetModule(clientdata
, &swig_module
);
48045 /* Now work on filling in swig_module.types */
48046 #ifdef SWIGRUNTIME_DEBUG
48047 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48049 for (i
= 0; i
< swig_module
.size
; ++i
) {
48050 swig_type_info
*type
= 0;
48051 swig_type_info
*ret
;
48052 swig_cast_info
*cast
;
48054 #ifdef SWIGRUNTIME_DEBUG
48055 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48058 /* if there is another module already loaded */
48059 if (swig_module
.next
!= &swig_module
) {
48060 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48063 /* Overwrite clientdata field */
48064 #ifdef SWIGRUNTIME_DEBUG
48065 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48067 if (swig_module
.type_initial
[i
]->clientdata
) {
48068 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48069 #ifdef SWIGRUNTIME_DEBUG
48070 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48074 type
= swig_module
.type_initial
[i
];
48077 /* Insert casting types */
48078 cast
= swig_module
.cast_initial
[i
];
48079 while (cast
->type
) {
48080 /* Don't need to add information already in the list */
48082 #ifdef SWIGRUNTIME_DEBUG
48083 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48085 if (swig_module
.next
!= &swig_module
) {
48086 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48087 #ifdef SWIGRUNTIME_DEBUG
48088 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48092 if (type
== swig_module
.type_initial
[i
]) {
48093 #ifdef SWIGRUNTIME_DEBUG
48094 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48099 /* Check for casting already in the list */
48100 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48101 #ifdef SWIGRUNTIME_DEBUG
48102 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48104 if (!ocast
) ret
= 0;
48109 #ifdef SWIGRUNTIME_DEBUG
48110 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48113 type
->cast
->prev
= cast
;
48114 cast
->next
= type
->cast
;
48120 /* Set entry in modules->types array equal to the type */
48121 swig_module
.types
[i
] = type
;
48123 swig_module
.types
[i
] = 0;
48125 #ifdef SWIGRUNTIME_DEBUG
48126 printf("**** SWIG_InitializeModule: Cast List ******\n");
48127 for (i
= 0; i
< swig_module
.size
; ++i
) {
48129 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48130 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48131 while (cast
->type
) {
48132 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48136 printf("---- Total casts: %d\n",j
);
48138 printf("**** SWIG_InitializeModule: Cast List ******\n");
48142 /* This function will propagate the clientdata field of type to
48143 * any new swig_type_info structures that have been added into the list
48144 * of equivalent types. It is like calling
48145 * SWIG_TypeClientData(type, clientdata) a second time.
48148 SWIG_PropagateClientData(void) {
48150 swig_cast_info
*equiv
;
48151 static int init_run
= 0;
48153 if (init_run
) return;
48156 for (i
= 0; i
< swig_module
.size
; i
++) {
48157 if (swig_module
.types
[i
]->clientdata
) {
48158 equiv
= swig_module
.types
[i
]->cast
;
48160 if (!equiv
->converter
) {
48161 if (equiv
->type
&& !equiv
->type
->clientdata
)
48162 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48164 equiv
= equiv
->next
;
48184 /* Python-specific SWIG API */
48185 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48186 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48187 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48189 /* -----------------------------------------------------------------------------
48190 * global variable support code.
48191 * ----------------------------------------------------------------------------- */
48193 typedef struct swig_globalvar
{
48194 char *name
; /* Name of global variable */
48195 PyObject
*(*get_attr
)(void); /* Return the current value */
48196 int (*set_attr
)(PyObject
*); /* Set the value */
48197 struct swig_globalvar
*next
;
48200 typedef struct swig_varlinkobject
{
48202 swig_globalvar
*vars
;
48203 } swig_varlinkobject
;
48205 SWIGINTERN PyObject
*
48206 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48207 return PyString_FromString("<Swig global variables>");
48210 SWIGINTERN PyObject
*
48211 swig_varlink_str(swig_varlinkobject
*v
) {
48212 PyObject
*str
= PyString_FromString("(");
48213 swig_globalvar
*var
;
48214 for (var
= v
->vars
; var
; var
=var
->next
) {
48215 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48216 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48218 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48223 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48224 PyObject
*str
= swig_varlink_str(v
);
48225 fprintf(fp
,"Swig global variables ");
48226 fprintf(fp
,"%s\n", PyString_AsString(str
));
48232 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48233 swig_globalvar
*var
= v
->vars
;
48235 swig_globalvar
*n
= var
->next
;
48242 SWIGINTERN PyObject
*
48243 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48244 PyObject
*res
= NULL
;
48245 swig_globalvar
*var
= v
->vars
;
48247 if (strcmp(var
->name
,n
) == 0) {
48248 res
= (*var
->get_attr
)();
48253 if (res
== NULL
&& !PyErr_Occurred()) {
48254 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48260 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48262 swig_globalvar
*var
= v
->vars
;
48264 if (strcmp(var
->name
,n
) == 0) {
48265 res
= (*var
->set_attr
)(p
);
48270 if (res
== 1 && !PyErr_Occurred()) {
48271 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48276 SWIGINTERN PyTypeObject
*
48277 swig_varlink_type(void) {
48278 static char varlink__doc__
[] = "Swig var link object";
48279 static PyTypeObject varlink_type
;
48280 static int type_init
= 0;
48282 const PyTypeObject tmp
48284 PyObject_HEAD_INIT(NULL
)
48285 0, /* Number of items in variable part (ob_size) */
48286 (char *)"swigvarlink", /* Type name (tp_name) */
48287 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48288 0, /* Itemsize (tp_itemsize) */
48289 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48290 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48291 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48292 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48293 0, /* tp_compare */
48294 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48295 0, /* tp_as_number */
48296 0, /* tp_as_sequence */
48297 0, /* tp_as_mapping */
48300 (reprfunc
)swig_varlink_str
, /* tp_str */
48301 0, /* tp_getattro */
48302 0, /* tp_setattro */
48303 0, /* tp_as_buffer */
48305 varlink__doc__
, /* tp_doc */
48306 0, /* tp_traverse */
48308 0, /* tp_richcompare */
48309 0, /* tp_weaklistoffset */
48310 #if PY_VERSION_HEX >= 0x02020000
48311 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48313 #if PY_VERSION_HEX >= 0x02030000
48316 #ifdef COUNT_ALLOCS
48317 0,0,0,0 /* tp_alloc -> tp_next */
48320 varlink_type
= tmp
;
48321 varlink_type
.ob_type
= &PyType_Type
;
48324 return &varlink_type
;
48327 /* Create a variable linking object for use later */
48328 SWIGINTERN PyObject
*
48329 SWIG_Python_newvarlink(void) {
48330 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48334 return ((PyObject
*) result
);
48338 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48339 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48340 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48342 size_t size
= strlen(name
)+1;
48343 gv
->name
= (char *)malloc(size
);
48345 strncpy(gv
->name
,name
,size
);
48346 gv
->get_attr
= get_attr
;
48347 gv
->set_attr
= set_attr
;
48348 gv
->next
= v
->vars
;
48354 SWIGINTERN PyObject
*
48356 static PyObject
*_SWIG_globals
= 0;
48357 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48358 return _SWIG_globals
;
48361 /* -----------------------------------------------------------------------------
48362 * constants/methods manipulation
48363 * ----------------------------------------------------------------------------- */
48365 /* Install Constants */
48367 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48370 for (i
= 0; constants
[i
].type
; ++i
) {
48371 switch(constants
[i
].type
) {
48372 case SWIG_PY_POINTER
:
48373 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48375 case SWIG_PY_BINARY
:
48376 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48383 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48389 /* -----------------------------------------------------------------------------*/
48390 /* Fix SwigMethods to carry the callback ptrs when needed */
48391 /* -----------------------------------------------------------------------------*/
48394 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48395 swig_const_info
*const_table
,
48396 swig_type_info
**types
,
48397 swig_type_info
**types_initial
) {
48399 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48400 const char *c
= methods
[i
].ml_doc
;
48401 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48403 swig_const_info
*ci
= 0;
48404 const char *name
= c
+ 10;
48405 for (j
= 0; const_table
[j
].type
; ++j
) {
48406 if (strncmp(const_table
[j
].name
, name
,
48407 strlen(const_table
[j
].name
)) == 0) {
48408 ci
= &(const_table
[j
]);
48413 size_t shift
= (ci
->ptype
) - types
;
48414 swig_type_info
*ty
= types_initial
[shift
];
48415 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48416 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48417 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48420 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48422 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48424 strncpy(buff
, "swig_ptr: ", 10);
48426 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48427 methods
[i
].ml_doc
= ndoc
;
48439 /* -----------------------------------------------------------------------------*
48440 * Partial Init method
48441 * -----------------------------------------------------------------------------*/
48446 SWIGEXPORT
void SWIG_init(void) {
48449 /* Fix SwigMethods to carry the callback ptrs when needed */
48450 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48452 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48453 d
= PyModule_GetDict(m
);
48455 SWIG_InitializeModule(0);
48456 SWIG_InstallConstants(d
,swig_const_table
);
48459 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48460 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48461 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48462 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48463 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48464 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48465 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48466 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48467 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48468 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48469 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48470 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48471 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48472 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48473 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48474 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48475 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48476 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48477 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48478 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48479 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48480 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48481 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48482 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48483 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48484 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48485 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48486 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48487 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48488 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48489 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48490 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48491 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48492 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48493 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48494 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48495 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48496 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48497 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48498 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48499 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48500 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48501 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48502 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48503 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48504 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48505 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48506 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48507 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48508 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48509 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48510 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48511 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48512 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48513 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48514 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48515 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48516 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48517 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48518 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48519 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48520 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48521 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48522 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48523 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48524 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48525 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48526 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48527 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48528 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48529 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48530 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48531 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48532 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48533 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48534 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48535 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48536 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48537 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48538 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48539 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48540 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48541 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48542 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48543 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48544 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48545 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48546 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48547 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48548 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48549 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48550 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48551 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48552 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48553 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48554 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48555 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48556 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48557 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48558 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48559 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48560 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48561 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48562 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48563 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48564 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48565 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48566 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48567 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48568 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48569 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48570 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48571 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48572 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48573 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48574 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48575 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48576 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48577 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48578 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48579 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48580 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48581 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48582 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48583 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48584 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48585 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48586 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48587 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48588 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48589 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48590 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48591 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48592 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48593 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48594 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48595 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48596 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48597 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48598 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48599 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48600 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48601 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48602 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48603 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48604 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48605 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48606 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48607 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48608 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48609 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48610 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48611 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48612 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48613 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48614 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48615 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48616 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48617 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48618 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48619 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48620 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48621 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48622 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48623 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48624 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48625 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48626 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48627 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48628 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48629 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48630 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48631 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48632 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48633 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48634 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48635 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48636 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48637 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48638 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48639 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48640 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48641 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48642 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48643 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48644 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48645 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48646 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48647 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48648 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48649 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48650 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48651 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48652 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48653 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48654 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48655 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48656 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48657 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48658 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48659 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48660 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48661 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48662 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48663 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48664 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48665 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48666 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48667 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48668 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48669 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48670 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48671 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48672 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48673 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48674 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48675 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48676 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48677 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48678 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48679 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48680 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48681 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48682 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48683 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48684 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48685 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48686 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48687 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48688 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48689 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48690 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48691 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48692 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48693 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48713 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48715 // Map renamed classes back to their common name for OOR
48716 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48718 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48719 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48720 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48721 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48722 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48723 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48724 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48725 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48726 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48727 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48728 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48729 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48730 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48731 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48732 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48733 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48734 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48735 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48736 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48737 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48738 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48739 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48740 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48741 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48742 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48743 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48744 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48745 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48746 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48747 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48748 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48749 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48750 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48751 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48771 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48772 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48773 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48775 // Map renamed classes back to their common name for OOR
48776 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48777 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48779 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48780 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48781 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48782 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48783 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48784 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48785 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48786 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48787 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48788 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48789 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48790 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48791 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48793 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48795 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48796 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48797 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48798 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48799 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48800 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48801 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48802 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48803 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48804 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48805 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48806 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48807 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48808 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48809 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48810 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48811 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48812 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48813 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48814 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48815 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48816 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48817 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48818 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48819 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48820 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48821 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48822 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48823 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48824 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48825 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48826 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48827 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48828 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48829 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48830 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48831 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48832 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48833 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48834 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));