1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2903 self
->AppendText(text
);
2905 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2906 return self
->GetValue().Mid(from
, to
- from
);
2908 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2909 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2910 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2911 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2912 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2914 SWIGINTERNINLINE PyObject
*
2915 SWIG_From_unsigned_SS_long (unsigned long value
)
2917 return (value
> LONG_MAX
) ?
2918 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2922 SWIGINTERNINLINE PyObject
*
2923 SWIG_From_size_t (size_t value
)
2925 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2929 SWIGINTERNINLINE PyObject
*
2930 SWIG_From_unsigned_SS_int (unsigned int value
)
2932 return SWIG_From_unsigned_SS_long (value
);
2936 #include <wx/slider.h>
2939 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2940 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2942 #if !wxUSE_TOGGLEBTN
2943 // implement dummy items for platforms that don't have this class
2945 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947 class wxToggleButton
: public wxControl
2950 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2951 const wxPoint
&, const wxSize
&, long,
2952 const wxValidator
&, const wxString
&)
2953 { wxPyRaiseNotImplemented(); }
2956 { wxPyRaiseNotImplemented(); }
2960 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2972 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2973 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2975 Py_INCREF(udata
->m_obj
);
2976 return udata
->m_obj
;
2982 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2983 self
->SetClientData(new wxPyUserData(clientData
));
2985 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
){
2986 wxPyUserData
* udata
= NULL
;
2987 if (clientData
&& clientData
!= Py_None
)
2988 udata
= new wxPyUserData(clientData
);
2989 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2990 shortHelp
, longHelp
, udata
);
2992 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
){
2993 wxPyUserData
* udata
= NULL
;
2994 if (clientData
&& clientData
!= Py_None
)
2995 udata
= new wxPyUserData(clientData
);
2996 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2997 shortHelp
, longHelp
, udata
);
2999 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3000 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3002 Py_INCREF(udata
->m_obj
);
3003 return udata
->m_obj
;
3009 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3010 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3013 #include <wx/listctrl.h>
3015 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3016 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3017 // Python aware sorting function for wxPyListCtrl
3018 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3020 PyObject
* func
= (PyObject
*)funcPtr
;
3021 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3023 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3024 PyObject
* result
= PyEval_CallObject(func
, args
);
3027 retval
= PyInt_AsLong(result
);
3031 wxPyEndBlockThreads(blocked
);
3035 // C++ Version of a Python aware class
3036 class wxPyListCtrl
: public wxListCtrl
{
3037 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3039 wxPyListCtrl() : wxListCtrl() {}
3040 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3044 const wxValidator
& validator
,
3045 const wxString
& name
) :
3046 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3048 bool Create(wxWindow
* parent
, wxWindowID id
,
3052 const wxValidator
& validator
,
3053 const wxString
& name
) {
3054 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3057 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3058 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3060 // use the virtual version to avoid a confusing assert in the base class
3061 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3062 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3067 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3069 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3070 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3071 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3072 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3075 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3077 item
.SetMask( wxLIST_MASK_STATE
|
3085 if (self
->GetColumn(col
, item
))
3086 return new wxListItem(item
);
3090 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3091 wxListItem
* info
= new wxListItem
;
3092 info
->m_itemId
= itemId
;
3094 info
->m_mask
= 0xFFFF;
3095 self
->GetItem(*info
);
3098 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3100 self
->GetItemPosition(item
, pos
);
3103 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3105 self
->GetItemRect(item
, rect
, code
);
3108 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3109 if (!PyCallable_Check(func
))
3111 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3113 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3121 #include <wx/treectrl.h>
3122 #include "wx/wxPython/pytree.h"
3124 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3125 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3126 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3127 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3129 static wxTreeItemId wxNullTreeItemId
;
3131 // C++ version of Python aware wxTreeCtrl
3132 class wxPyTreeCtrl
: public wxTreeCtrl
{
3133 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3135 wxPyTreeCtrl() : wxTreeCtrl() {}
3136 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3140 const wxValidator
& validator
,
3141 const wxString
& name
) :
3142 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3144 bool Create(wxWindow
*parent
, wxWindowID id
,
3148 const wxValidator
& validator
,
3149 const wxString
& name
) {
3150 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3154 int OnCompareItems(const wxTreeItemId
& item1
,
3155 const wxTreeItemId
& item2
) {
3158 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3159 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3160 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3161 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3162 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3166 wxPyEndBlockThreads(blocked
);
3168 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3174 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3177 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3186 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3187 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3189 data
= new wxPyTreeItemData();
3190 data
->SetId(item
); // set the id
3191 self
->SetItemData(item
, data
);
3193 return data
->GetData();
3195 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3196 data
->SetId(item
); // set the id
3197 self
->SetItemData(item
, data
);
3199 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3200 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3202 data
= new wxPyTreeItemData(obj
);
3203 data
->SetId(item
); // set the id
3204 self
->SetItemData(item
, data
);
3208 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 PyObject
* rval
= PyList_New(0);
3211 wxArrayTreeItemIds array
;
3213 num
= self
->GetSelections(array
);
3214 for (x
=0; x
< num
; x
++) {
3215 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3216 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3217 PyList_Append(rval
, item
);
3220 wxPyEndBlockThreads(blocked
);
3223 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3234 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3236 PyObject
* tup
= PyTuple_New(2);
3237 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3238 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3239 wxPyEndBlockThreads(blocked
);
3242 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3244 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3245 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3246 wxRect
* r
= new wxRect(rect
);
3247 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3248 wxPyEndBlockThreads(blocked
);
3254 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3262 // C++ version of Python aware wxControl
3263 class wxPyControl
: public wxControl
3265 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3267 wxPyControl() : wxControl() {}
3268 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3269 const wxPoint
& pos
= wxDefaultPosition
,
3270 const wxSize
& size
= wxDefaultSize
,
3272 const wxValidator
& validator
=wxDefaultValidator
,
3273 const wxString
& name
= wxPyControlNameStr
)
3274 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3277 bool DoEraseBackground(wxDC
* dc
) {
3279 return wxWindow::DoEraseBackground(dc
->GetHDC());
3281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3299 DEC_PYCALLBACK__(InitDialog
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3302 DEC_PYCALLBACK_BOOL_(Validate
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3323 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3335 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3342 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3347 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3350 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3352 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3356 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3358 #include <wx/generic/dragimgg.h>
3360 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3361 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3363 self
->GetRange(&rv
, NULL
);
3366 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3368 self
->GetRange(NULL
, &rv
);
3371 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3372 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3373 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3374 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3375 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3376 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3377 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3378 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3379 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 #include <wx/srchctrl.h>
3383 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3384 SWIGINTERN
void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3385 SWIGINTERN
void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3386 SWIGINTERN
void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3390 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3391 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3396 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3397 PyObject
*pyobj
= 0;
3401 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3403 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3410 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
= 0;
3412 wxWindow
*arg1
= (wxWindow
*) 0 ;
3413 int arg2
= (int) -1 ;
3414 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3415 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3416 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3417 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3418 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3419 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3420 long arg6
= (long) 0 ;
3421 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3422 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3423 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3424 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3425 wxButton
*result
= 0 ;
3430 bool temp3
= false ;
3437 bool temp8
= false ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3440 PyObject
* obj2
= 0 ;
3441 PyObject
* obj3
= 0 ;
3442 PyObject
* obj4
= 0 ;
3443 PyObject
* obj5
= 0 ;
3444 PyObject
* obj6
= 0 ;
3445 PyObject
* obj7
= 0 ;
3446 char * kwnames
[] = {
3447 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3452 if (!SWIG_IsOK(res1
)) {
3453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3458 if (!SWIG_IsOK(ecode2
)) {
3459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3461 arg2
= static_cast< int >(val2
);
3465 arg3
= wxString_in_helper(obj2
);
3466 if (arg3
== NULL
) SWIG_fail
;
3473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3483 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3484 if (!SWIG_IsOK(ecode6
)) {
3485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3487 arg6
= static_cast< long >(val6
);
3490 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3491 if (!SWIG_IsOK(res7
)) {
3492 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3497 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3501 arg8
= wxString_in_helper(obj7
);
3502 if (arg8
== NULL
) SWIG_fail
;
3507 if (!wxPyCheckForApp()) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3536 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3537 PyObject
*resultobj
= 0;
3538 wxButton
*result
= 0 ;
3540 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3542 if (!wxPyCheckForApp()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 result
= (wxButton
*)new wxButton();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3555 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
= 0;
3557 wxButton
*arg1
= (wxButton
*) 0 ;
3558 wxWindow
*arg2
= (wxWindow
*) 0 ;
3559 int arg3
= (int) -1 ;
3560 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3561 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3562 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3563 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3564 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3565 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3566 long arg7
= (long) 0 ;
3567 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3568 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3569 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3570 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3578 bool temp4
= false ;
3585 bool temp9
= false ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3588 PyObject
* obj2
= 0 ;
3589 PyObject
* obj3
= 0 ;
3590 PyObject
* obj4
= 0 ;
3591 PyObject
* obj5
= 0 ;
3592 PyObject
* obj6
= 0 ;
3593 PyObject
* obj7
= 0 ;
3594 PyObject
* obj8
= 0 ;
3595 char * kwnames
[] = {
3596 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3601 if (!SWIG_IsOK(res1
)) {
3602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3604 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3606 if (!SWIG_IsOK(res2
)) {
3607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3609 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3612 if (!SWIG_IsOK(ecode3
)) {
3613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3615 arg3
= static_cast< int >(val3
);
3619 arg4
= wxString_in_helper(obj3
);
3620 if (arg4
== NULL
) SWIG_fail
;
3627 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3633 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3637 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3638 if (!SWIG_IsOK(ecode7
)) {
3639 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3641 arg7
= static_cast< long >(val7
);
3644 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3645 if (!SWIG_IsOK(res8
)) {
3646 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3651 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3655 arg9
= wxString_in_helper(obj8
);
3656 if (arg9
== NULL
) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3691 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3692 PyObject
*resultobj
= 0;
3693 wxButton
*arg1
= (wxButton
*) 0 ;
3696 PyObject
*swig_obj
[1] ;
3698 if (!args
) SWIG_fail
;
3700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3701 if (!SWIG_IsOK(res1
)) {
3702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3704 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 (arg1
)->SetDefault();
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= SWIG_Py_Void();
3718 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3719 PyObject
*resultobj
= 0;
3722 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= wxButton::GetDefaultSize();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3736 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
= 0;
3738 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3739 SwigValueWrapper
<wxVisualAttributes
> result
;
3742 PyObject
* obj0
= 0 ;
3743 char * kwnames
[] = {
3744 (char *) "variant", NULL
3747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3749 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3750 if (!SWIG_IsOK(ecode1
)) {
3751 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3753 arg1
= static_cast< wxWindowVariant
>(val1
);
3756 if (!wxPyCheckForApp()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 result
= wxButton::GetClassDefaultAttributes(arg1
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3769 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3772 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3773 return SWIG_Py_Void();
3776 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3777 return SWIG_Python_InitShadowInstance(args
);
3780 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
= 0;
3782 wxWindow
*arg1
= (wxWindow
*) 0 ;
3783 int arg2
= (int) -1 ;
3784 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3785 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3790 long arg6
= (long) wxBU_AUTODRAW
;
3791 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3792 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3793 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3794 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3795 wxBitmapButton
*result
= 0 ;
3808 bool temp8
= false ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3811 PyObject
* obj2
= 0 ;
3812 PyObject
* obj3
= 0 ;
3813 PyObject
* obj4
= 0 ;
3814 PyObject
* obj5
= 0 ;
3815 PyObject
* obj6
= 0 ;
3816 PyObject
* obj7
= 0 ;
3817 char * kwnames
[] = {
3818 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3823 if (!SWIG_IsOK(res1
)) {
3824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3829 if (!SWIG_IsOK(ecode2
)) {
3830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3832 arg2
= static_cast< int >(val2
);
3835 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3836 if (!SWIG_IsOK(res3
)) {
3837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3842 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3847 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3853 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3857 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3858 if (!SWIG_IsOK(ecode6
)) {
3859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3861 arg6
= static_cast< long >(val6
);
3864 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3865 if (!SWIG_IsOK(res7
)) {
3866 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3871 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3875 arg8
= wxString_in_helper(obj7
);
3876 if (arg8
== NULL
) SWIG_fail
;
3881 if (!wxPyCheckForApp()) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3902 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3903 PyObject
*resultobj
= 0;
3904 wxBitmapButton
*result
= 0 ;
3906 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3908 if (!wxPyCheckForApp()) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (wxBitmapButton
*)new wxBitmapButton();
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3921 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
= 0;
3923 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3924 wxWindow
*arg2
= (wxWindow
*) 0 ;
3925 int arg3
= (int) -1 ;
3926 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3927 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3928 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3929 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3930 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3931 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3932 long arg7
= (long) wxBU_AUTODRAW
;
3933 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3934 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3935 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3936 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3952 bool temp9
= false ;
3953 PyObject
* obj0
= 0 ;
3954 PyObject
* obj1
= 0 ;
3955 PyObject
* obj2
= 0 ;
3956 PyObject
* obj3
= 0 ;
3957 PyObject
* obj4
= 0 ;
3958 PyObject
* obj5
= 0 ;
3959 PyObject
* obj6
= 0 ;
3960 PyObject
* obj7
= 0 ;
3961 PyObject
* obj8
= 0 ;
3962 char * kwnames
[] = {
3963 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3968 if (!SWIG_IsOK(res1
)) {
3969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3971 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3972 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3973 if (!SWIG_IsOK(res2
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3976 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3979 if (!SWIG_IsOK(ecode3
)) {
3980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3982 arg3
= static_cast< int >(val3
);
3985 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3986 if (!SWIG_IsOK(res4
)) {
3987 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3992 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3997 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4003 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4007 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4008 if (!SWIG_IsOK(ecode7
)) {
4009 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4011 arg7
= static_cast< long >(val7
);
4014 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4015 if (!SWIG_IsOK(res8
)) {
4016 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4021 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4025 arg9
= wxString_in_helper(obj8
);
4026 if (arg9
== NULL
) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4053 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4054 PyObject
*resultobj
= 0;
4055 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4059 PyObject
*swig_obj
[1] ;
4061 if (!args
) SWIG_fail
;
4063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4064 if (!SWIG_IsOK(res1
)) {
4065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4067 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (arg1
)->GetBitmapLabel();
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4081 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4082 PyObject
*resultobj
= 0;
4083 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4087 PyObject
*swig_obj
[1] ;
4089 if (!args
) SWIG_fail
;
4091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4092 if (!SWIG_IsOK(res1
)) {
4093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4095 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (arg1
)->GetBitmapDisabled();
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4109 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4110 PyObject
*resultobj
= 0;
4111 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4115 PyObject
*swig_obj
[1] ;
4117 if (!args
) SWIG_fail
;
4119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4120 if (!SWIG_IsOK(res1
)) {
4121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4123 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= (arg1
)->GetBitmapFocus();
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4137 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4138 PyObject
*resultobj
= 0;
4139 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4143 PyObject
*swig_obj
[1] ;
4145 if (!args
) SWIG_fail
;
4147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4148 if (!SWIG_IsOK(res1
)) {
4149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4151 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (arg1
)->GetBitmapSelected();
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4165 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4166 PyObject
*resultobj
= 0;
4167 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4171 PyObject
*swig_obj
[1] ;
4173 if (!args
) SWIG_fail
;
4175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4176 if (!SWIG_IsOK(res1
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4179 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (arg1
)->GetBitmapHover();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4193 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
= 0;
4195 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4196 wxBitmap
*arg2
= 0 ;
4201 PyObject
* obj0
= 0 ;
4202 PyObject
* obj1
= 0 ;
4203 char * kwnames
[] = {
4204 (char *) "self",(char *) "bitmap", NULL
4207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4209 if (!SWIG_IsOK(res1
)) {
4210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4212 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4214 if (!SWIG_IsOK(res2
)) {
4215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4220 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_Py_Void();
4234 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
= 0;
4236 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4237 wxBitmap
*arg2
= 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4244 char * kwnames
[] = {
4245 (char *) "self",(char *) "bitmap", NULL
4248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4250 if (!SWIG_IsOK(res1
)) {
4251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4253 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4255 if (!SWIG_IsOK(res2
)) {
4256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= SWIG_Py_Void();
4275 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
= 0;
4277 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4278 wxBitmap
*arg2
= 0 ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4285 char * kwnames
[] = {
4286 (char *) "self",(char *) "bitmap", NULL
4289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4291 if (!SWIG_IsOK(res1
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4294 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4296 if (!SWIG_IsOK(res2
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_Py_Void();
4316 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
= 0;
4318 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4319 wxBitmap
*arg2
= 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4326 char * kwnames
[] = {
4327 (char *) "self",(char *) "bitmap", NULL
4330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4332 if (!SWIG_IsOK(res1
)) {
4333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4335 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4337 if (!SWIG_IsOK(res2
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_Py_Void();
4357 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
= 0;
4359 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4360 wxBitmap
*arg2
= 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "hover", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4376 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4378 if (!SWIG_IsOK(res2
)) {
4379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4384 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= SWIG_Py_Void();
4398 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
= 0;
4400 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 PyObject
* obj2
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "x",(char *) "y", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4421 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4423 if (!SWIG_IsOK(ecode2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4426 arg2
= static_cast< int >(val2
);
4427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4428 if (!SWIG_IsOK(ecode3
)) {
4429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4431 arg3
= static_cast< int >(val3
);
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 (arg1
)->SetMargins(arg2
,arg3
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= SWIG_Py_Void();
4445 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4446 PyObject
*resultobj
= 0;
4447 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4451 PyObject
*swig_obj
[1] ;
4453 if (!args
) SWIG_fail
;
4455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4456 if (!SWIG_IsOK(res1
)) {
4457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4459 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_From_int(static_cast< int >(result
));
4473 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4474 PyObject
*resultobj
= 0;
4475 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4479 PyObject
*swig_obj
[1] ;
4481 if (!args
) SWIG_fail
;
4483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4484 if (!SWIG_IsOK(res1
)) {
4485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4487 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= SWIG_From_int(static_cast< int >(result
));
4501 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4504 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4505 return SWIG_Py_Void();
4508 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4509 return SWIG_Python_InitShadowInstance(args
);
4512 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4513 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4518 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4519 PyObject
*pyobj
= 0;
4523 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4525 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4532 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
= 0;
4534 wxWindow
*arg1
= (wxWindow
*) 0 ;
4535 int arg2
= (int) -1 ;
4536 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4542 long arg6
= (long) 0 ;
4543 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4544 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4545 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4546 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4547 wxCheckBox
*result
= 0 ;
4552 bool temp3
= false ;
4559 bool temp8
= false ;
4560 PyObject
* obj0
= 0 ;
4561 PyObject
* obj1
= 0 ;
4562 PyObject
* obj2
= 0 ;
4563 PyObject
* obj3
= 0 ;
4564 PyObject
* obj4
= 0 ;
4565 PyObject
* obj5
= 0 ;
4566 PyObject
* obj6
= 0 ;
4567 PyObject
* obj7
= 0 ;
4568 char * kwnames
[] = {
4569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4574 if (!SWIG_IsOK(res1
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4580 if (!SWIG_IsOK(ecode2
)) {
4581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4583 arg2
= static_cast< int >(val2
);
4587 arg3
= wxString_in_helper(obj2
);
4588 if (arg3
== NULL
) SWIG_fail
;
4595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4605 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4606 if (!SWIG_IsOK(ecode6
)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4609 arg6
= static_cast< long >(val6
);
4612 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4613 if (!SWIG_IsOK(res7
)) {
4614 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4619 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4623 arg8
= wxString_in_helper(obj7
);
4624 if (arg8
== NULL
) SWIG_fail
;
4629 if (!wxPyCheckForApp()) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4658 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4659 PyObject
*resultobj
= 0;
4660 wxCheckBox
*result
= 0 ;
4662 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4664 if (!wxPyCheckForApp()) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 result
= (wxCheckBox
*)new wxCheckBox();
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4677 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
= 0;
4679 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4680 wxWindow
*arg2
= (wxWindow
*) 0 ;
4681 int arg3
= (int) -1 ;
4682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4684 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4685 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4686 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4687 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4688 long arg7
= (long) 0 ;
4689 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4690 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4691 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4692 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4700 bool temp4
= false ;
4707 bool temp9
= false ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 PyObject
* obj2
= 0 ;
4711 PyObject
* obj3
= 0 ;
4712 PyObject
* obj4
= 0 ;
4713 PyObject
* obj5
= 0 ;
4714 PyObject
* obj6
= 0 ;
4715 PyObject
* obj7
= 0 ;
4716 PyObject
* obj8
= 0 ;
4717 char * kwnames
[] = {
4718 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4726 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4728 if (!SWIG_IsOK(res2
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4731 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4734 if (!SWIG_IsOK(ecode3
)) {
4735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4737 arg3
= static_cast< int >(val3
);
4741 arg4
= wxString_in_helper(obj3
);
4742 if (arg4
== NULL
) SWIG_fail
;
4749 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4755 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4759 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4760 if (!SWIG_IsOK(ecode7
)) {
4761 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4763 arg7
= static_cast< long >(val7
);
4766 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4767 if (!SWIG_IsOK(res8
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4773 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4777 arg9
= wxString_in_helper(obj8
);
4778 if (arg9
== NULL
) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4813 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4814 PyObject
*resultobj
= 0;
4815 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4819 PyObject
*swig_obj
[1] ;
4821 if (!args
) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4827 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (bool)(arg1
)->GetValue();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4843 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4844 PyObject
*resultobj
= 0;
4845 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4849 PyObject
*swig_obj
[1] ;
4851 if (!args
) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4857 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (bool)(arg1
)->IsChecked();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
= 0;
4875 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4883 char * kwnames
[] = {
4884 (char *) "self",(char *) "state", NULL
4887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4889 if (!SWIG_IsOK(res1
)) {
4890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4892 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4893 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4894 if (!SWIG_IsOK(ecode2
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4897 arg2
= static_cast< bool >(val2
);
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 (arg1
)->SetValue(arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_Py_Void();
4911 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4912 PyObject
*resultobj
= 0;
4913 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4914 wxCheckBoxState result
;
4917 PyObject
*swig_obj
[1] ;
4919 if (!args
) SWIG_fail
;
4921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4922 if (!SWIG_IsOK(res1
)) {
4923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4925 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_From_int(static_cast< int >(result
));
4939 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
= 0;
4941 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4942 wxCheckBoxState arg2
;
4947 PyObject
* obj0
= 0 ;
4948 PyObject
* obj1
= 0 ;
4949 char * kwnames
[] = {
4950 (char *) "self",(char *) "state", NULL
4953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4955 if (!SWIG_IsOK(res1
)) {
4956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4958 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4960 if (!SWIG_IsOK(ecode2
)) {
4961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4963 arg2
= static_cast< wxCheckBoxState
>(val2
);
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 (arg1
)->Set3StateValue(arg2
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_Py_Void();
4977 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4978 PyObject
*resultobj
= 0;
4979 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4983 PyObject
*swig_obj
[1] ;
4985 if (!args
) SWIG_fail
;
4987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4988 if (!SWIG_IsOK(res1
)) {
4989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4991 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5007 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5008 PyObject
*resultobj
= 0;
5009 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5013 PyObject
*swig_obj
[1] ;
5015 if (!args
) SWIG_fail
;
5017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5018 if (!SWIG_IsOK(res1
)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5021 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5037 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
= 0;
5039 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5040 SwigValueWrapper
<wxVisualAttributes
> result
;
5043 PyObject
* obj0
= 0 ;
5044 char * kwnames
[] = {
5045 (char *) "variant", NULL
5048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5051 if (!SWIG_IsOK(ecode1
)) {
5052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5054 arg1
= static_cast< wxWindowVariant
>(val1
);
5057 if (!wxPyCheckForApp()) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5070 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5073 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5074 return SWIG_Py_Void();
5077 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5078 return SWIG_Python_InitShadowInstance(args
);
5081 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5082 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5087 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5088 PyObject
*pyobj
= 0;
5092 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5094 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5101 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
= 0;
5103 wxWindow
*arg1
= (wxWindow
*) 0 ;
5104 int arg2
= (int) -1 ;
5105 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5106 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5107 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5108 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5109 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5110 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5111 long arg6
= (long) 0 ;
5112 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5113 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5114 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5115 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5116 wxChoice
*result
= 0 ;
5123 bool temp5
= false ;
5128 bool temp8
= false ;
5129 PyObject
* obj0
= 0 ;
5130 PyObject
* obj1
= 0 ;
5131 PyObject
* obj2
= 0 ;
5132 PyObject
* obj3
= 0 ;
5133 PyObject
* obj4
= 0 ;
5134 PyObject
* obj5
= 0 ;
5135 PyObject
* obj6
= 0 ;
5136 PyObject
* obj7
= 0 ;
5137 char * kwnames
[] = {
5138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5143 if (!SWIG_IsOK(res1
)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5146 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5149 if (!SWIG_IsOK(ecode2
)) {
5150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5152 arg2
= static_cast< int >(val2
);
5157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5168 if (! PySequence_Check(obj4
)) {
5169 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5172 arg5
= new wxArrayString
;
5174 int i
, len
=PySequence_Length(obj4
);
5175 for (i
=0; i
<len
; i
++) {
5176 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5177 wxString
* s
= wxString_in_helper(item
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5186 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5187 if (!SWIG_IsOK(ecode6
)) {
5188 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5190 arg6
= static_cast< long >(val6
);
5193 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5194 if (!SWIG_IsOK(res7
)) {
5195 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5200 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5204 arg8
= wxString_in_helper(obj7
);
5205 if (arg8
== NULL
) SWIG_fail
;
5210 if (!wxPyCheckForApp()) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5218 if (temp5
) delete arg5
;
5227 if (temp5
) delete arg5
;
5237 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5238 PyObject
*resultobj
= 0;
5239 wxChoice
*result
= 0 ;
5241 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5243 if (!wxPyCheckForApp()) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (wxChoice
*)new wxChoice();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5256 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
= 0;
5258 wxChoice
*arg1
= (wxChoice
*) 0 ;
5259 wxWindow
*arg2
= (wxWindow
*) 0 ;
5260 int arg3
= (int) -1 ;
5261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5265 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5266 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5267 long arg7
= (long) 0 ;
5268 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5269 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5270 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5271 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5281 bool temp6
= false ;
5286 bool temp9
= false ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 PyObject
* obj2
= 0 ;
5290 PyObject
* obj3
= 0 ;
5291 PyObject
* obj4
= 0 ;
5292 PyObject
* obj5
= 0 ;
5293 PyObject
* obj6
= 0 ;
5294 PyObject
* obj7
= 0 ;
5295 PyObject
* obj8
= 0 ;
5296 char * kwnames
[] = {
5297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5302 if (!SWIG_IsOK(res1
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5305 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5307 if (!SWIG_IsOK(res2
)) {
5308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5310 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5313 if (!SWIG_IsOK(ecode3
)) {
5314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5316 arg3
= static_cast< int >(val3
);
5321 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5327 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5332 if (! PySequence_Check(obj5
)) {
5333 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5336 arg6
= new wxArrayString
;
5338 int i
, len
=PySequence_Length(obj5
);
5339 for (i
=0; i
<len
; i
++) {
5340 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5341 wxString
* s
= wxString_in_helper(item
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5350 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5351 if (!SWIG_IsOK(ecode7
)) {
5352 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5354 arg7
= static_cast< long >(val7
);
5357 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5358 if (!SWIG_IsOK(res8
)) {
5359 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5364 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5368 arg9
= wxString_in_helper(obj8
);
5369 if (arg9
== NULL
) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5383 if (temp6
) delete arg6
;
5392 if (temp6
) delete arg6
;
5402 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5403 PyObject
*resultobj
= 0;
5404 wxChoice
*arg1
= (wxChoice
*) 0 ;
5408 PyObject
*swig_obj
[1] ;
5410 if (!args
) SWIG_fail
;
5412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5413 if (!SWIG_IsOK(res1
)) {
5414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5416 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= SWIG_From_int(static_cast< int >(result
));
5430 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
= 0;
5432 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5433 SwigValueWrapper
<wxVisualAttributes
> result
;
5436 PyObject
* obj0
= 0 ;
5437 char * kwnames
[] = {
5438 (char *) "variant", NULL
5441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5444 if (!SWIG_IsOK(ecode1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5447 arg1
= static_cast< wxWindowVariant
>(val1
);
5450 if (!wxPyCheckForApp()) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5463 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5466 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5467 return SWIG_Py_Void();
5470 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5471 return SWIG_Python_InitShadowInstance(args
);
5474 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5475 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5480 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5481 PyObject
*pyobj
= 0;
5485 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5487 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5494 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
= 0;
5496 wxWindow
*arg1
= (wxWindow
*) 0 ;
5497 int arg2
= (int) -1 ;
5498 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5499 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5500 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5501 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5502 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5503 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5504 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5505 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5506 long arg7
= (long) 0 ;
5507 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5508 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5509 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5510 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5511 wxComboBox
*result
= 0 ;
5516 bool temp3
= false ;
5519 bool temp6
= false ;
5524 bool temp9
= false ;
5525 PyObject
* obj0
= 0 ;
5526 PyObject
* obj1
= 0 ;
5527 PyObject
* obj2
= 0 ;
5528 PyObject
* obj3
= 0 ;
5529 PyObject
* obj4
= 0 ;
5530 PyObject
* obj5
= 0 ;
5531 PyObject
* obj6
= 0 ;
5532 PyObject
* obj7
= 0 ;
5533 PyObject
* obj8
= 0 ;
5534 char * kwnames
[] = {
5535 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5540 if (!SWIG_IsOK(res1
)) {
5541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5543 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5546 if (!SWIG_IsOK(ecode2
)) {
5547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5549 arg2
= static_cast< int >(val2
);
5553 arg3
= wxString_in_helper(obj2
);
5554 if (arg3
== NULL
) SWIG_fail
;
5561 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5567 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5572 if (! PySequence_Check(obj5
)) {
5573 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5576 arg6
= new wxArrayString
;
5578 int i
, len
=PySequence_Length(obj5
);
5579 for (i
=0; i
<len
; i
++) {
5580 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5581 wxString
* s
= wxString_in_helper(item
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5590 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5591 if (!SWIG_IsOK(ecode7
)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5594 arg7
= static_cast< long >(val7
);
5597 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5598 if (!SWIG_IsOK(res8
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5604 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5608 arg9
= wxString_in_helper(obj8
);
5609 if (arg9
== NULL
) SWIG_fail
;
5614 if (!wxPyCheckForApp()) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 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
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5626 if (temp6
) delete arg6
;
5639 if (temp6
) delete arg6
;
5649 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5650 PyObject
*resultobj
= 0;
5651 wxComboBox
*result
= 0 ;
5653 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5655 if (!wxPyCheckForApp()) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (wxComboBox
*)new wxComboBox();
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5668 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= 0;
5670 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5671 wxWindow
*arg2
= (wxWindow
*) 0 ;
5672 int arg3
= (int) -1 ;
5673 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5675 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5676 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5677 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5678 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5679 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5680 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5681 long arg8
= (long) 0 ;
5682 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5683 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5684 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5685 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5693 bool temp4
= false ;
5696 bool temp7
= false ;
5701 bool temp10
= false ;
5702 PyObject
* obj0
= 0 ;
5703 PyObject
* obj1
= 0 ;
5704 PyObject
* obj2
= 0 ;
5705 PyObject
* obj3
= 0 ;
5706 PyObject
* obj4
= 0 ;
5707 PyObject
* obj5
= 0 ;
5708 PyObject
* obj6
= 0 ;
5709 PyObject
* obj7
= 0 ;
5710 PyObject
* obj8
= 0 ;
5711 PyObject
* obj9
= 0 ;
5712 char * kwnames
[] = {
5713 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5721 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5723 if (!SWIG_IsOK(res2
)) {
5724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5729 if (!SWIG_IsOK(ecode3
)) {
5730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5732 arg3
= static_cast< int >(val3
);
5736 arg4
= wxString_in_helper(obj3
);
5737 if (arg4
== NULL
) SWIG_fail
;
5744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5755 if (! PySequence_Check(obj6
)) {
5756 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5759 arg7
= new wxArrayString
;
5761 int i
, len
=PySequence_Length(obj6
);
5762 for (i
=0; i
<len
; i
++) {
5763 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5764 wxString
* s
= wxString_in_helper(item
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5773 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5774 if (!SWIG_IsOK(ecode8
)) {
5775 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5777 arg8
= static_cast< long >(val8
);
5780 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5781 if (!SWIG_IsOK(res9
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5787 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5791 arg10
= wxString_in_helper(obj9
);
5792 if (arg10
== NULL
) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 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
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5810 if (temp7
) delete arg7
;
5823 if (temp7
) delete arg7
;
5833 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5834 PyObject
*resultobj
= 0;
5835 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5839 PyObject
*swig_obj
[1] ;
5841 if (!args
) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5847 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= ((wxComboBox
const *)arg1
)->GetValue();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5867 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5870 wxString
*arg2
= 0 ;
5873 bool temp2
= false ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5876 char * kwnames
[] = {
5877 (char *) "self",(char *) "value", NULL
5880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5882 if (!SWIG_IsOK(res1
)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5885 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5887 arg2
= wxString_in_helper(obj1
);
5888 if (arg2
== NULL
) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 (arg1
)->SetValue((wxString
const &)*arg2
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_Py_Void();
5912 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5913 PyObject
*resultobj
= 0;
5914 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5917 PyObject
*swig_obj
[1] ;
5919 if (!args
) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5925 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_Py_Void();
5939 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5940 PyObject
*resultobj
= 0;
5941 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5944 PyObject
*swig_obj
[1] ;
5946 if (!args
) SWIG_fail
;
5948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5949 if (!SWIG_IsOK(res1
)) {
5950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5952 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_Py_Void();
5966 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5967 PyObject
*resultobj
= 0;
5968 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5971 PyObject
*swig_obj
[1] ;
5973 if (!args
) SWIG_fail
;
5975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5976 if (!SWIG_IsOK(res1
)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5979 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_Py_Void();
5993 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
= 0;
5995 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6003 char * kwnames
[] = {
6004 (char *) "self",(char *) "pos", NULL
6007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6009 if (!SWIG_IsOK(res1
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6012 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6013 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6014 if (!SWIG_IsOK(ecode2
)) {
6015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6017 arg2
= static_cast< long >(val2
);
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 (arg1
)->SetInsertionPoint(arg2
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_Py_Void();
6031 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6032 PyObject
*resultobj
= 0;
6033 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6037 PyObject
*swig_obj
[1] ;
6039 if (!args
) SWIG_fail
;
6041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6042 if (!SWIG_IsOK(res1
)) {
6043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6045 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= SWIG_From_long(static_cast< long >(result
));
6059 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6060 PyObject
*resultobj
= 0;
6061 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6065 PyObject
*swig_obj
[1] ;
6067 if (!args
) SWIG_fail
;
6069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6070 if (!SWIG_IsOK(res1
)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6073 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_From_long(static_cast< long >(result
));
6087 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= 0;
6089 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6092 wxString
*arg4
= 0 ;
6099 bool temp4
= false ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6102 PyObject
* obj2
= 0 ;
6103 PyObject
* obj3
= 0 ;
6104 char * kwnames
[] = {
6105 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6110 if (!SWIG_IsOK(res1
)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6113 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6114 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6115 if (!SWIG_IsOK(ecode2
)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6118 arg2
= static_cast< long >(val2
);
6119 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6120 if (!SWIG_IsOK(ecode3
)) {
6121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6123 arg3
= static_cast< long >(val3
);
6125 arg4
= wxString_in_helper(obj3
);
6126 if (arg4
== NULL
) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_Py_Void();
6150 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
= 0;
6152 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 PyObject
* obj2
= 0 ;
6164 char * kwnames
[] = {
6165 (char *) "self",(char *) "from",(char *) "to", NULL
6168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6170 if (!SWIG_IsOK(res1
)) {
6171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6173 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6174 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6175 if (!SWIG_IsOK(ecode2
)) {
6176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6178 arg2
= static_cast< long >(val2
);
6179 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6180 if (!SWIG_IsOK(ecode3
)) {
6181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6183 arg3
= static_cast< long >(val3
);
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 (arg1
)->SetSelection(arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_Py_Void();
6197 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6198 PyObject
*resultobj
= 0;
6199 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6203 PyObject
*swig_obj
[1] ;
6205 if (!args
) SWIG_fail
;
6207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6208 if (!SWIG_IsOK(res1
)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6211 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= SWIG_From_int(static_cast< int >(result
));
6225 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
= 0;
6227 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6228 wxString
*arg2
= 0 ;
6232 bool temp2
= false ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6235 char * kwnames
[] = {
6236 (char *) "self",(char *) "string", NULL
6239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6241 if (!SWIG_IsOK(res1
)) {
6242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6244 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6246 arg2
= wxString_in_helper(obj1
);
6247 if (arg2
== NULL
) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6273 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
= 0;
6275 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6283 char * kwnames
[] = {
6284 (char *) "self",(char *) "editable", NULL
6287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6289 if (!SWIG_IsOK(res1
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6292 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6293 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6294 if (!SWIG_IsOK(ecode2
)) {
6295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6297 arg2
= static_cast< bool >(val2
);
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 (arg1
)->SetEditable(arg2
);
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_Py_Void();
6311 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6312 PyObject
*resultobj
= 0;
6313 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6316 PyObject
*swig_obj
[1] ;
6318 if (!args
) SWIG_fail
;
6320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6321 if (!SWIG_IsOK(res1
)) {
6322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6324 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 (arg1
)->SetInsertionPointEnd();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= SWIG_Py_Void();
6338 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
= 0;
6340 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6349 PyObject
* obj0
= 0 ;
6350 PyObject
* obj1
= 0 ;
6351 PyObject
* obj2
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "from",(char *) "to", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6361 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6362 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6363 if (!SWIG_IsOK(ecode2
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6366 arg2
= static_cast< long >(val2
);
6367 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6368 if (!SWIG_IsOK(ecode3
)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6371 arg3
= static_cast< long >(val3
);
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 (arg1
)->Remove(arg2
,arg3
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_Py_Void();
6385 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6386 PyObject
*resultobj
= 0;
6387 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6391 PyObject
*swig_obj
[1] ;
6393 if (!args
) SWIG_fail
;
6395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6396 if (!SWIG_IsOK(res1
)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6399 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6415 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6416 PyObject
*resultobj
= 0;
6417 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6420 PyObject
*swig_obj
[1] ;
6422 if (!args
) SWIG_fail
;
6424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6425 if (!SWIG_IsOK(res1
)) {
6426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6428 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_Py_Void();
6442 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6443 PyObject
*resultobj
= 0;
6444 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6447 PyObject
*swig_obj
[1] ;
6449 if (!args
) SWIG_fail
;
6451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6452 if (!SWIG_IsOK(res1
)) {
6453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6455 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= SWIG_Py_Void();
6469 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6470 PyObject
*resultobj
= 0;
6471 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6474 PyObject
*swig_obj
[1] ;
6476 if (!args
) SWIG_fail
;
6478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6479 if (!SWIG_IsOK(res1
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6482 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 (arg1
)->SelectAll();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_Py_Void();
6496 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6502 PyObject
*swig_obj
[1] ;
6504 if (!args
) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6510 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6526 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6527 PyObject
*resultobj
= 0;
6528 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6540 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6556 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6557 PyObject
*resultobj
= 0;
6558 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6570 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6586 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6587 PyObject
*resultobj
= 0;
6588 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6592 PyObject
*swig_obj
[1] ;
6594 if (!args
) SWIG_fail
;
6596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6597 if (!SWIG_IsOK(res1
)) {
6598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6600 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6616 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6617 PyObject
*resultobj
= 0;
6618 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6622 PyObject
*swig_obj
[1] ;
6624 if (!args
) SWIG_fail
;
6626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6627 if (!SWIG_IsOK(res1
)) {
6628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6630 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6646 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
= 0;
6648 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6649 SwigValueWrapper
<wxVisualAttributes
> result
;
6652 PyObject
* obj0
= 0 ;
6653 char * kwnames
[] = {
6654 (char *) "variant", NULL
6657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6659 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6660 if (!SWIG_IsOK(ecode1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6663 arg1
= static_cast< wxWindowVariant
>(val1
);
6666 if (!wxPyCheckForApp()) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6679 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6682 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6683 return SWIG_Py_Void();
6686 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6687 return SWIG_Python_InitShadowInstance(args
);
6690 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6691 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6696 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6697 PyObject
*pyobj
= 0;
6701 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6703 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6710 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
= 0;
6712 wxWindow
*arg1
= (wxWindow
*) 0 ;
6713 int arg2
= (int) -1 ;
6714 int arg3
= (int) 100 ;
6715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6719 long arg6
= (long) wxGA_HORIZONTAL
;
6720 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6721 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6722 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6723 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6724 wxGauge
*result
= 0 ;
6737 bool temp8
= false ;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6740 PyObject
* obj2
= 0 ;
6741 PyObject
* obj3
= 0 ;
6742 PyObject
* obj4
= 0 ;
6743 PyObject
* obj5
= 0 ;
6744 PyObject
* obj6
= 0 ;
6745 PyObject
* obj7
= 0 ;
6746 char * kwnames
[] = {
6747 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6752 if (!SWIG_IsOK(res1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6755 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6758 if (!SWIG_IsOK(ecode2
)) {
6759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6761 arg2
= static_cast< int >(val2
);
6764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6765 if (!SWIG_IsOK(ecode3
)) {
6766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6768 arg3
= static_cast< int >(val3
);
6773 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6779 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6783 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6784 if (!SWIG_IsOK(ecode6
)) {
6785 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6787 arg6
= static_cast< long >(val6
);
6790 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6791 if (!SWIG_IsOK(res7
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6797 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6801 arg8
= wxString_in_helper(obj7
);
6802 if (arg8
== NULL
) SWIG_fail
;
6807 if (!wxPyCheckForApp()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6828 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6829 PyObject
*resultobj
= 0;
6830 wxGauge
*result
= 0 ;
6832 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6834 if (!wxPyCheckForApp()) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (wxGauge
*)new wxGauge();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6847 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
= 0;
6849 wxGauge
*arg1
= (wxGauge
*) 0 ;
6850 wxWindow
*arg2
= (wxWindow
*) 0 ;
6851 int arg3
= (int) -1 ;
6852 int arg4
= (int) 100 ;
6853 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6854 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6855 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6856 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6857 long arg7
= (long) wxGA_HORIZONTAL
;
6858 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6859 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6860 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6861 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6877 bool temp9
= false ;
6878 PyObject
* obj0
= 0 ;
6879 PyObject
* obj1
= 0 ;
6880 PyObject
* obj2
= 0 ;
6881 PyObject
* obj3
= 0 ;
6882 PyObject
* obj4
= 0 ;
6883 PyObject
* obj5
= 0 ;
6884 PyObject
* obj6
= 0 ;
6885 PyObject
* obj7
= 0 ;
6886 PyObject
* obj8
= 0 ;
6887 char * kwnames
[] = {
6888 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6893 if (!SWIG_IsOK(res1
)) {
6894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6896 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6897 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6898 if (!SWIG_IsOK(res2
)) {
6899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6901 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6904 if (!SWIG_IsOK(ecode3
)) {
6905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6907 arg3
= static_cast< int >(val3
);
6910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6911 if (!SWIG_IsOK(ecode4
)) {
6912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6914 arg4
= static_cast< int >(val4
);
6919 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6925 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6929 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6930 if (!SWIG_IsOK(ecode7
)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6933 arg7
= static_cast< long >(val7
);
6936 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6937 if (!SWIG_IsOK(res8
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6943 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6947 arg9
= wxString_in_helper(obj8
);
6948 if (arg9
== NULL
) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6975 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
= 0;
6977 wxGauge
*arg1
= (wxGauge
*) 0 ;
6983 PyObject
* obj0
= 0 ;
6984 PyObject
* obj1
= 0 ;
6985 char * kwnames
[] = {
6986 (char *) "self",(char *) "range", NULL
6989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6991 if (!SWIG_IsOK(res1
)) {
6992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
6994 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6996 if (!SWIG_IsOK(ecode2
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
6999 arg2
= static_cast< int >(val2
);
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 (arg1
)->SetRange(arg2
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_Py_Void();
7013 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7014 PyObject
*resultobj
= 0;
7015 wxGauge
*arg1
= (wxGauge
*) 0 ;
7019 PyObject
*swig_obj
[1] ;
7021 if (!args
) SWIG_fail
;
7023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7024 if (!SWIG_IsOK(res1
)) {
7025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7027 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_From_int(static_cast< int >(result
));
7041 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= 0;
7043 wxGauge
*arg1
= (wxGauge
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 char * kwnames
[] = {
7052 (char *) "self",(char *) "pos", NULL
7055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7060 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7062 if (!SWIG_IsOK(ecode2
)) {
7063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7065 arg2
= static_cast< int >(val2
);
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 (arg1
)->SetValue(arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_Py_Void();
7079 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7080 PyObject
*resultobj
= 0;
7081 wxGauge
*arg1
= (wxGauge
*) 0 ;
7085 PyObject
*swig_obj
[1] ;
7087 if (!args
) SWIG_fail
;
7089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7090 if (!SWIG_IsOK(res1
)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7093 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_From_int(static_cast< int >(result
));
7107 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7108 PyObject
*resultobj
= 0;
7109 wxGauge
*arg1
= (wxGauge
*) 0 ;
7112 PyObject
*swig_obj
[1] ;
7114 if (!args
) SWIG_fail
;
7116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7117 if (!SWIG_IsOK(res1
)) {
7118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7120 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= SWIG_Py_Void();
7134 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7135 PyObject
*resultobj
= 0;
7136 wxGauge
*arg1
= (wxGauge
*) 0 ;
7140 PyObject
*swig_obj
[1] ;
7142 if (!args
) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7148 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7164 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
= 0;
7166 wxGauge
*arg1
= (wxGauge
*) 0 ;
7172 PyObject
* obj0
= 0 ;
7173 PyObject
* obj1
= 0 ;
7174 char * kwnames
[] = {
7175 (char *) "self",(char *) "w", NULL
7178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7180 if (!SWIG_IsOK(res1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7183 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7185 if (!SWIG_IsOK(ecode2
)) {
7186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7188 arg2
= static_cast< int >(val2
);
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 (arg1
)->SetShadowWidth(arg2
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_Py_Void();
7202 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7203 PyObject
*resultobj
= 0;
7204 wxGauge
*arg1
= (wxGauge
*) 0 ;
7208 PyObject
*swig_obj
[1] ;
7210 if (!args
) SWIG_fail
;
7212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7213 if (!SWIG_IsOK(res1
)) {
7214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7216 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_From_int(static_cast< int >(result
));
7230 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= 0;
7232 wxGauge
*arg1
= (wxGauge
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7240 char * kwnames
[] = {
7241 (char *) "self",(char *) "w", NULL
7244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7246 if (!SWIG_IsOK(res1
)) {
7247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7249 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7251 if (!SWIG_IsOK(ecode2
)) {
7252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7254 arg2
= static_cast< int >(val2
);
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 (arg1
)->SetBezelFace(arg2
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_Py_Void();
7268 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7269 PyObject
*resultobj
= 0;
7270 wxGauge
*arg1
= (wxGauge
*) 0 ;
7274 PyObject
*swig_obj
[1] ;
7276 if (!args
) SWIG_fail
;
7278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7279 if (!SWIG_IsOK(res1
)) {
7280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7282 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_From_int(static_cast< int >(result
));
7296 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= 0;
7298 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7299 SwigValueWrapper
<wxVisualAttributes
> result
;
7302 PyObject
* obj0
= 0 ;
7303 char * kwnames
[] = {
7304 (char *) "variant", NULL
7307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7309 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7310 if (!SWIG_IsOK(ecode1
)) {
7311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7313 arg1
= static_cast< wxWindowVariant
>(val1
);
7316 if (!wxPyCheckForApp()) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7329 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7332 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7333 return SWIG_Py_Void();
7336 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7337 return SWIG_Python_InitShadowInstance(args
);
7340 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7341 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7346 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7347 PyObject
*pyobj
= 0;
7351 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7353 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7360 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7361 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7366 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7367 PyObject
*pyobj
= 0;
7371 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7373 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7380 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7381 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7386 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7387 PyObject
*pyobj
= 0;
7391 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7393 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7400 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7401 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7406 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7407 PyObject
*pyobj
= 0;
7411 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7413 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7420 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
= 0;
7422 wxWindow
*arg1
= (wxWindow
*) 0 ;
7423 int arg2
= (int) -1 ;
7424 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7425 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7430 long arg6
= (long) 0 ;
7431 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7433 wxStaticBox
*result
= 0 ;
7438 bool temp3
= false ;
7443 bool temp7
= false ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7446 PyObject
* obj2
= 0 ;
7447 PyObject
* obj3
= 0 ;
7448 PyObject
* obj4
= 0 ;
7449 PyObject
* obj5
= 0 ;
7450 PyObject
* obj6
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7463 if (!SWIG_IsOK(ecode2
)) {
7464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7466 arg2
= static_cast< int >(val2
);
7470 arg3
= wxString_in_helper(obj2
);
7471 if (arg3
== NULL
) SWIG_fail
;
7478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7488 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7489 if (!SWIG_IsOK(ecode6
)) {
7490 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7492 arg6
= static_cast< long >(val6
);
7496 arg7
= wxString_in_helper(obj6
);
7497 if (arg7
== NULL
) SWIG_fail
;
7502 if (!wxPyCheckForApp()) SWIG_fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7531 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7532 PyObject
*resultobj
= 0;
7533 wxStaticBox
*result
= 0 ;
7535 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7537 if (!wxPyCheckForApp()) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (wxStaticBox
*)new wxStaticBox();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7550 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
= 0;
7552 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7553 wxWindow
*arg2
= (wxWindow
*) 0 ;
7554 int arg3
= (int) -1 ;
7555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7561 long arg7
= (long) 0 ;
7562 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7563 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7571 bool temp4
= false ;
7576 bool temp8
= false ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7579 PyObject
* obj2
= 0 ;
7580 PyObject
* obj3
= 0 ;
7581 PyObject
* obj4
= 0 ;
7582 PyObject
* obj5
= 0 ;
7583 PyObject
* obj6
= 0 ;
7584 PyObject
* obj7
= 0 ;
7585 char * kwnames
[] = {
7586 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7594 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7596 if (!SWIG_IsOK(res2
)) {
7597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7599 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7602 if (!SWIG_IsOK(ecode3
)) {
7603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7605 arg3
= static_cast< int >(val3
);
7609 arg4
= wxString_in_helper(obj3
);
7610 if (arg4
== NULL
) SWIG_fail
;
7617 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7623 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7627 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7628 if (!SWIG_IsOK(ecode7
)) {
7629 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7631 arg7
= static_cast< long >(val7
);
7635 arg8
= wxString_in_helper(obj7
);
7636 if (arg8
== NULL
) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7671 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
= 0;
7673 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7674 SwigValueWrapper
<wxVisualAttributes
> result
;
7677 PyObject
* obj0
= 0 ;
7678 char * kwnames
[] = {
7679 (char *) "variant", NULL
7682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7684 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7685 if (!SWIG_IsOK(ecode1
)) {
7686 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7688 arg1
= static_cast< wxWindowVariant
>(val1
);
7691 if (!wxPyCheckForApp()) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7704 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7707 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7708 return SWIG_Py_Void();
7711 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7712 return SWIG_Python_InitShadowInstance(args
);
7715 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
= 0;
7717 wxWindow
*arg1
= (wxWindow
*) 0 ;
7718 int arg2
= (int) -1 ;
7719 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7720 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7721 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7722 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7723 long arg5
= (long) wxLI_HORIZONTAL
;
7724 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7725 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7726 wxStaticLine
*result
= 0 ;
7735 bool temp6
= false ;
7736 PyObject
* obj0
= 0 ;
7737 PyObject
* obj1
= 0 ;
7738 PyObject
* obj2
= 0 ;
7739 PyObject
* obj3
= 0 ;
7740 PyObject
* obj4
= 0 ;
7741 PyObject
* obj5
= 0 ;
7742 char * kwnames
[] = {
7743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7748 if (!SWIG_IsOK(res1
)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7751 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7754 if (!SWIG_IsOK(ecode2
)) {
7755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7757 arg2
= static_cast< int >(val2
);
7762 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7768 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7772 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7773 if (!SWIG_IsOK(ecode5
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7776 arg5
= static_cast< long >(val5
);
7780 arg6
= wxString_in_helper(obj5
);
7781 if (arg6
== NULL
) SWIG_fail
;
7786 if (!wxPyCheckForApp()) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7807 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7808 PyObject
*resultobj
= 0;
7809 wxStaticLine
*result
= 0 ;
7811 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7813 if (!wxPyCheckForApp()) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (wxStaticLine
*)new wxStaticLine();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7826 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
= 0;
7828 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7829 wxWindow
*arg2
= (wxWindow
*) 0 ;
7830 int arg3
= (int) -1 ;
7831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7835 long arg6
= (long) wxLI_HORIZONTAL
;
7836 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7837 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7849 bool temp7
= false ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7852 PyObject
* obj2
= 0 ;
7853 PyObject
* obj3
= 0 ;
7854 PyObject
* obj4
= 0 ;
7855 PyObject
* obj5
= 0 ;
7856 PyObject
* obj6
= 0 ;
7857 char * kwnames
[] = {
7858 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7863 if (!SWIG_IsOK(res1
)) {
7864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7866 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7868 if (!SWIG_IsOK(res2
)) {
7869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7871 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7874 if (!SWIG_IsOK(ecode3
)) {
7875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7877 arg3
= static_cast< int >(val3
);
7882 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7888 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7892 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7893 if (!SWIG_IsOK(ecode6
)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7896 arg6
= static_cast< long >(val6
);
7900 arg7
= wxString_in_helper(obj6
);
7901 if (arg7
== NULL
) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7928 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7929 PyObject
*resultobj
= 0;
7930 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7934 PyObject
*swig_obj
[1] ;
7936 if (!args
) SWIG_fail
;
7938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7939 if (!SWIG_IsOK(res1
)) {
7940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7942 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7958 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7959 PyObject
*resultobj
= 0;
7962 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (int)wxStaticLine::GetDefaultSize();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_From_int(static_cast< int >(result
));
7976 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
= 0;
7978 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7979 SwigValueWrapper
<wxVisualAttributes
> result
;
7982 PyObject
* obj0
= 0 ;
7983 char * kwnames
[] = {
7984 (char *) "variant", NULL
7987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7990 if (!SWIG_IsOK(ecode1
)) {
7991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7993 arg1
= static_cast< wxWindowVariant
>(val1
);
7996 if (!wxPyCheckForApp()) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8009 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8012 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8013 return SWIG_Py_Void();
8016 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8017 return SWIG_Python_InitShadowInstance(args
);
8020 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
= 0;
8022 wxWindow
*arg1
= (wxWindow
*) 0 ;
8023 int arg2
= (int) -1 ;
8024 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8025 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8026 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8027 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8028 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8029 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8030 long arg6
= (long) 0 ;
8031 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8032 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8033 wxStaticText
*result
= 0 ;
8038 bool temp3
= false ;
8043 bool temp7
= false ;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8046 PyObject
* obj2
= 0 ;
8047 PyObject
* obj3
= 0 ;
8048 PyObject
* obj4
= 0 ;
8049 PyObject
* obj5
= 0 ;
8050 PyObject
* obj6
= 0 ;
8051 char * kwnames
[] = {
8052 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8057 if (!SWIG_IsOK(res1
)) {
8058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8063 if (!SWIG_IsOK(ecode2
)) {
8064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8066 arg2
= static_cast< int >(val2
);
8070 arg3
= wxString_in_helper(obj2
);
8071 if (arg3
== NULL
) SWIG_fail
;
8078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8088 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8089 if (!SWIG_IsOK(ecode6
)) {
8090 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8092 arg6
= static_cast< long >(val6
);
8096 arg7
= wxString_in_helper(obj6
);
8097 if (arg7
== NULL
) SWIG_fail
;
8102 if (!wxPyCheckForApp()) SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8131 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8132 PyObject
*resultobj
= 0;
8133 wxStaticText
*result
= 0 ;
8135 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8137 if (!wxPyCheckForApp()) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 result
= (wxStaticText
*)new wxStaticText();
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8150 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
= 0;
8152 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8153 wxWindow
*arg2
= (wxWindow
*) 0 ;
8154 int arg3
= (int) -1 ;
8155 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8156 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8157 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8158 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8159 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8160 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8161 long arg7
= (long) 0 ;
8162 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8163 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8171 bool temp4
= false ;
8176 bool temp8
= false ;
8177 PyObject
* obj0
= 0 ;
8178 PyObject
* obj1
= 0 ;
8179 PyObject
* obj2
= 0 ;
8180 PyObject
* obj3
= 0 ;
8181 PyObject
* obj4
= 0 ;
8182 PyObject
* obj5
= 0 ;
8183 PyObject
* obj6
= 0 ;
8184 PyObject
* obj7
= 0 ;
8185 char * kwnames
[] = {
8186 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8191 if (!SWIG_IsOK(res1
)) {
8192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8194 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8196 if (!SWIG_IsOK(res2
)) {
8197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8199 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8202 if (!SWIG_IsOK(ecode3
)) {
8203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8205 arg3
= static_cast< int >(val3
);
8209 arg4
= wxString_in_helper(obj3
);
8210 if (arg4
== NULL
) SWIG_fail
;
8217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8227 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8228 if (!SWIG_IsOK(ecode7
)) {
8229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8231 arg7
= static_cast< long >(val7
);
8235 arg8
= wxString_in_helper(obj7
);
8236 if (arg8
== NULL
) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8271 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
= 0;
8273 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8281 char * kwnames
[] = {
8282 (char *) "self",(char *) "width", NULL
8285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8287 if (!SWIG_IsOK(res1
)) {
8288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8290 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8292 if (!SWIG_IsOK(ecode2
)) {
8293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8295 arg2
= static_cast< int >(val2
);
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= SWIG_Py_Void();
8309 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
= 0;
8311 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8312 SwigValueWrapper
<wxVisualAttributes
> result
;
8315 PyObject
* obj0
= 0 ;
8316 char * kwnames
[] = {
8317 (char *) "variant", NULL
8320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8322 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8323 if (!SWIG_IsOK(ecode1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8326 arg1
= static_cast< wxWindowVariant
>(val1
);
8329 if (!wxPyCheckForApp()) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8342 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8345 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8346 return SWIG_Py_Void();
8349 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8350 return SWIG_Python_InitShadowInstance(args
);
8353 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
= 0;
8355 wxWindow
*arg1
= (wxWindow
*) 0 ;
8356 int arg2
= (int) -1 ;
8357 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8358 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8363 long arg6
= (long) 0 ;
8364 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8365 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8366 wxStaticBitmap
*result
= 0 ;
8377 bool temp7
= false ;
8378 PyObject
* obj0
= 0 ;
8379 PyObject
* obj1
= 0 ;
8380 PyObject
* obj2
= 0 ;
8381 PyObject
* obj3
= 0 ;
8382 PyObject
* obj4
= 0 ;
8383 PyObject
* obj5
= 0 ;
8384 PyObject
* obj6
= 0 ;
8385 char * kwnames
[] = {
8386 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8391 if (!SWIG_IsOK(res1
)) {
8392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8394 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8397 if (!SWIG_IsOK(ecode2
)) {
8398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8400 arg2
= static_cast< int >(val2
);
8403 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8404 if (!SWIG_IsOK(res3
)) {
8405 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8410 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8425 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8426 if (!SWIG_IsOK(ecode6
)) {
8427 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8429 arg6
= static_cast< long >(val6
);
8433 arg7
= wxString_in_helper(obj6
);
8434 if (arg7
== NULL
) SWIG_fail
;
8439 if (!wxPyCheckForApp()) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8460 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8461 PyObject
*resultobj
= 0;
8462 wxStaticBitmap
*result
= 0 ;
8464 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8466 if (!wxPyCheckForApp()) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8479 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
= 0;
8481 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8482 wxWindow
*arg2
= (wxWindow
*) 0 ;
8483 int arg3
= (int) -1 ;
8484 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8485 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8486 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8487 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8488 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8489 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8490 long arg7
= (long) 0 ;
8491 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8492 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8506 bool temp8
= false ;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8509 PyObject
* obj2
= 0 ;
8510 PyObject
* obj3
= 0 ;
8511 PyObject
* obj4
= 0 ;
8512 PyObject
* obj5
= 0 ;
8513 PyObject
* obj6
= 0 ;
8514 PyObject
* obj7
= 0 ;
8515 char * kwnames
[] = {
8516 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8521 if (!SWIG_IsOK(res1
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8524 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8525 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8526 if (!SWIG_IsOK(res2
)) {
8527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8529 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8532 if (!SWIG_IsOK(ecode3
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8535 arg3
= static_cast< int >(val3
);
8538 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8539 if (!SWIG_IsOK(res4
)) {
8540 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8545 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8550 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8556 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8560 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8561 if (!SWIG_IsOK(ecode7
)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8564 arg7
= static_cast< long >(val7
);
8568 arg8
= wxString_in_helper(obj7
);
8569 if (arg8
== NULL
) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8596 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8597 PyObject
*resultobj
= 0;
8598 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8602 PyObject
*swig_obj
[1] ;
8604 if (!args
) SWIG_fail
;
8606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8607 if (!SWIG_IsOK(res1
)) {
8608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8610 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (arg1
)->GetBitmap();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8624 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
= 0;
8626 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8627 wxBitmap
*arg2
= 0 ;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8634 char * kwnames
[] = {
8635 (char *) "self",(char *) "bitmap", NULL
8638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8640 if (!SWIG_IsOK(res1
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8643 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8645 if (!SWIG_IsOK(res2
)) {
8646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8651 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_Py_Void();
8665 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
= 0;
8667 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 char * kwnames
[] = {
8676 (char *) "self",(char *) "icon", NULL
8679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8684 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8686 if (!SWIG_IsOK(res2
)) {
8687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8692 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_Py_Void();
8706 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
= 0;
8708 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8709 SwigValueWrapper
<wxVisualAttributes
> result
;
8712 PyObject
* obj0
= 0 ;
8713 char * kwnames
[] = {
8714 (char *) "variant", NULL
8717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8720 if (!SWIG_IsOK(ecode1
)) {
8721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8723 arg1
= static_cast< wxWindowVariant
>(val1
);
8726 if (!wxPyCheckForApp()) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8739 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8742 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8743 return SWIG_Py_Void();
8746 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8747 return SWIG_Python_InitShadowInstance(args
);
8750 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8751 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8756 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8757 PyObject
*pyobj
= 0;
8761 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8763 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8770 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
= 0;
8772 wxWindow
*arg1
= (wxWindow
*) 0 ;
8773 int arg2
= (int) -1 ;
8774 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8775 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8776 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8777 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8778 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8779 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8780 long arg6
= (long) 0 ;
8781 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8782 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8783 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8784 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8785 wxListBox
*result
= 0 ;
8792 bool temp5
= false ;
8797 bool temp8
= false ;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8800 PyObject
* obj2
= 0 ;
8801 PyObject
* obj3
= 0 ;
8802 PyObject
* obj4
= 0 ;
8803 PyObject
* obj5
= 0 ;
8804 PyObject
* obj6
= 0 ;
8805 PyObject
* obj7
= 0 ;
8806 char * kwnames
[] = {
8807 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8812 if (!SWIG_IsOK(res1
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8815 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8818 if (!SWIG_IsOK(ecode2
)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8821 arg2
= static_cast< int >(val2
);
8826 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8832 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8837 if (! PySequence_Check(obj4
)) {
8838 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8841 arg5
= new wxArrayString
;
8843 int i
, len
=PySequence_Length(obj4
);
8844 for (i
=0; i
<len
; i
++) {
8845 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8846 wxString
* s
= wxString_in_helper(item
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8855 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8856 if (!SWIG_IsOK(ecode6
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8859 arg6
= static_cast< long >(val6
);
8862 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8863 if (!SWIG_IsOK(res7
)) {
8864 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8869 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8873 arg8
= wxString_in_helper(obj7
);
8874 if (arg8
== NULL
) SWIG_fail
;
8879 if (!wxPyCheckForApp()) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8887 if (temp5
) delete arg5
;
8896 if (temp5
) delete arg5
;
8906 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8907 PyObject
*resultobj
= 0;
8908 wxListBox
*result
= 0 ;
8910 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8912 if (!wxPyCheckForApp()) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (wxListBox
*)new wxListBox();
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8925 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
= 0;
8927 wxListBox
*arg1
= (wxListBox
*) 0 ;
8928 wxWindow
*arg2
= (wxWindow
*) 0 ;
8929 int arg3
= (int) -1 ;
8930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8934 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8935 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8936 long arg7
= (long) 0 ;
8937 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8938 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8939 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8940 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8950 bool temp6
= false ;
8955 bool temp9
= false ;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8958 PyObject
* obj2
= 0 ;
8959 PyObject
* obj3
= 0 ;
8960 PyObject
* obj4
= 0 ;
8961 PyObject
* obj5
= 0 ;
8962 PyObject
* obj6
= 0 ;
8963 PyObject
* obj7
= 0 ;
8964 PyObject
* obj8
= 0 ;
8965 char * kwnames
[] = {
8966 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8971 if (!SWIG_IsOK(res1
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8974 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8976 if (!SWIG_IsOK(res2
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8979 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8982 if (!SWIG_IsOK(ecode3
)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8985 arg3
= static_cast< int >(val3
);
8990 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8996 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9001 if (! PySequence_Check(obj5
)) {
9002 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9005 arg6
= new wxArrayString
;
9007 int i
, len
=PySequence_Length(obj5
);
9008 for (i
=0; i
<len
; i
++) {
9009 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9010 wxString
* s
= wxString_in_helper(item
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9019 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9020 if (!SWIG_IsOK(ecode7
)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9023 arg7
= static_cast< long >(val7
);
9026 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9027 if (!SWIG_IsOK(res8
)) {
9028 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9033 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9037 arg9
= wxString_in_helper(obj8
);
9038 if (arg9
== NULL
) SWIG_fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9052 if (temp6
) delete arg6
;
9061 if (temp6
) delete arg6
;
9071 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
= 0;
9073 wxListBox
*arg1
= (wxListBox
*) 0 ;
9074 wxString
*arg2
= 0 ;
9076 PyObject
*arg4
= (PyObject
*) NULL
;
9079 bool temp2
= false ;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9084 PyObject
* obj2
= 0 ;
9085 PyObject
* obj3
= 0 ;
9086 char * kwnames
[] = {
9087 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9092 if (!SWIG_IsOK(res1
)) {
9093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9095 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9097 arg2
= wxString_in_helper(obj1
);
9098 if (arg2
== NULL
) SWIG_fail
;
9101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9102 if (!SWIG_IsOK(ecode3
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9105 arg3
= static_cast< int >(val3
);
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= SWIG_Py_Void();
9130 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
= 0;
9132 wxListBox
*arg1
= (wxListBox
*) 0 ;
9133 wxArrayString
*arg2
= 0 ;
9137 bool temp2
= false ;
9140 PyObject
* obj0
= 0 ;
9141 PyObject
* obj1
= 0 ;
9142 PyObject
* obj2
= 0 ;
9143 char * kwnames
[] = {
9144 (char *) "self",(char *) "items",(char *) "pos", NULL
9147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9149 if (!SWIG_IsOK(res1
)) {
9150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9152 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9154 if (! PySequence_Check(obj1
)) {
9155 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9158 arg2
= new wxArrayString
;
9160 int i
, len
=PySequence_Length(obj1
);
9161 for (i
=0; i
<len
; i
++) {
9162 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9163 wxString
* s
= wxString_in_helper(item
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9170 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9171 if (!SWIG_IsOK(ecode3
)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9174 arg3
= static_cast< unsigned int >(val3
);
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_Py_Void();
9183 if (temp2
) delete arg2
;
9188 if (temp2
) delete arg2
;
9194 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
= 0;
9196 wxListBox
*arg1
= (wxListBox
*) 0 ;
9197 wxArrayString
*arg2
= 0 ;
9200 bool temp2
= false ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "self",(char *) "items", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9212 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9214 if (! PySequence_Check(obj1
)) {
9215 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9218 arg2
= new wxArrayString
;
9220 int i
, len
=PySequence_Length(obj1
);
9221 for (i
=0; i
<len
; i
++) {
9222 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9223 wxString
* s
= wxString_in_helper(item
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 (arg1
)->Set((wxArrayString
const &)*arg2
);
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_Py_Void();
9238 if (temp2
) delete arg2
;
9243 if (temp2
) delete arg2
;
9249 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
= 0;
9251 wxListBox
*arg1
= (wxListBox
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9260 char * kwnames
[] = {
9261 (char *) "self",(char *) "n", NULL
9264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9266 if (!SWIG_IsOK(res1
)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9269 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9271 if (!SWIG_IsOK(ecode2
)) {
9272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9274 arg2
= static_cast< int >(val2
);
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9290 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
= 0;
9292 wxListBox
*arg1
= (wxListBox
*) 0 ;
9294 bool arg3
= (bool) true ;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9303 PyObject
* obj2
= 0 ;
9304 char * kwnames
[] = {
9305 (char *) "self",(char *) "n",(char *) "select", NULL
9308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9313 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9315 if (!SWIG_IsOK(ecode2
)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9318 arg2
= static_cast< int >(val2
);
9320 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9321 if (!SWIG_IsOK(ecode3
)) {
9322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9324 arg3
= static_cast< bool >(val3
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 (arg1
)->SetSelection(arg2
,arg3
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_Py_Void();
9339 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
= 0;
9341 wxListBox
*arg1
= (wxListBox
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 char * kwnames
[] = {
9350 (char *) "self",(char *) "n", NULL
9353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9358 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9360 if (!SWIG_IsOK(ecode2
)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9363 arg2
= static_cast< int >(val2
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 (arg1
)->Select(arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_Py_Void();
9377 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= 0;
9379 wxListBox
*arg1
= (wxListBox
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "self",(char *) "n", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9396 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9398 if (!SWIG_IsOK(ecode2
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9401 arg2
= static_cast< int >(val2
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->Deselect(arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_Py_Void();
9415 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= 0;
9417 wxListBox
*arg1
= (wxListBox
*) 0 ;
9418 int arg2
= (int) -1 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "self",(char *) "itemToLeaveSelected", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9434 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9437 if (!SWIG_IsOK(ecode2
)) {
9438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9440 arg2
= static_cast< int >(val2
);
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 (arg1
)->DeselectAll(arg2
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_Py_Void();
9455 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
= 0;
9457 wxListBox
*arg1
= (wxListBox
*) 0 ;
9458 wxString
*arg2
= 0 ;
9459 bool arg3
= (bool) true ;
9463 bool temp2
= false ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9468 PyObject
* obj2
= 0 ;
9469 char * kwnames
[] = {
9470 (char *) "self",(char *) "s",(char *) "select", NULL
9473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9478 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9480 arg2
= wxString_in_helper(obj1
);
9481 if (arg2
== NULL
) SWIG_fail
;
9485 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9486 if (!SWIG_IsOK(ecode3
)) {
9487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9489 arg3
= static_cast< bool >(val3
);
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9514 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9515 PyObject
*resultobj
= 0;
9516 wxListBox
*arg1
= (wxListBox
*) 0 ;
9517 PyObject
*result
= 0 ;
9520 PyObject
*swig_obj
[1] ;
9522 if (!args
) SWIG_fail
;
9524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9525 if (!SWIG_IsOK(res1
)) {
9526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9528 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9542 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
= 0;
9544 wxListBox
*arg1
= (wxListBox
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9552 char * kwnames
[] = {
9553 (char *) "self",(char *) "n", NULL
9556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9558 if (!SWIG_IsOK(res1
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9561 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9563 if (!SWIG_IsOK(ecode2
)) {
9564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9566 arg2
= static_cast< int >(val2
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 (arg1
)->SetFirstItem(arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_Py_Void();
9580 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
= 0;
9582 wxListBox
*arg1
= (wxListBox
*) 0 ;
9583 wxString
*arg2
= 0 ;
9586 bool temp2
= false ;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9589 char * kwnames
[] = {
9590 (char *) "self",(char *) "s", NULL
9593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9595 if (!SWIG_IsOK(res1
)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9598 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9600 arg2
= wxString_in_helper(obj1
);
9601 if (arg2
== NULL
) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= SWIG_Py_Void();
9625 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
= 0;
9627 wxListBox
*arg1
= (wxListBox
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 char * kwnames
[] = {
9636 (char *) "self",(char *) "n", NULL
9639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9641 if (!SWIG_IsOK(res1
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9644 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9646 if (!SWIG_IsOK(ecode2
)) {
9647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9649 arg2
= static_cast< int >(val2
);
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->EnsureVisible(arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxListBox
*arg1
= (wxListBox
*) 0 ;
9666 wxString
*arg2
= 0 ;
9669 bool temp2
= false ;
9670 PyObject
* obj0
= 0 ;
9671 PyObject
* obj1
= 0 ;
9672 char * kwnames
[] = {
9673 (char *) "self",(char *) "s", NULL
9676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9678 if (!SWIG_IsOK(res1
)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9681 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9683 arg2
= wxString_in_helper(obj1
);
9684 if (arg2
== NULL
) SWIG_fail
;
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_Py_Void();
9708 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9709 PyObject
*resultobj
= 0;
9710 wxListBox
*arg1
= (wxListBox
*) 0 ;
9714 PyObject
*swig_obj
[1] ;
9716 if (!args
) SWIG_fail
;
9718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9719 if (!SWIG_IsOK(res1
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9722 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9738 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
= 0;
9740 wxListBox
*arg1
= (wxListBox
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9747 PyObject
* obj1
= 0 ;
9748 char * kwnames
[] = {
9749 (char *) "self",(char *) "pt", NULL
9752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9757 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_From_int(static_cast< int >(result
));
9775 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
= 0;
9777 wxListBox
*arg1
= (wxListBox
*) 0 ;
9779 wxColour
*arg3
= 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9787 PyObject
* obj2
= 0 ;
9788 char * kwnames
[] = {
9789 (char *) "self",(char *) "item",(char *) "c", NULL
9792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9797 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9799 if (!SWIG_IsOK(ecode2
)) {
9800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9802 arg2
= static_cast< int >(val2
);
9805 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_Py_Void();
9820 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
= 0;
9822 wxListBox
*arg1
= (wxListBox
*) 0 ;
9824 wxColour
*arg3
= 0 ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9832 PyObject
* obj2
= 0 ;
9833 char * kwnames
[] = {
9834 (char *) "self",(char *) "item",(char *) "c", NULL
9837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9839 if (!SWIG_IsOK(res1
)) {
9840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9842 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9844 if (!SWIG_IsOK(ecode2
)) {
9845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9847 arg2
= static_cast< int >(val2
);
9850 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_Py_Void();
9865 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9867 wxListBox
*arg1
= (wxListBox
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 PyObject
* obj2
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "self",(char *) "item",(char *) "f", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9888 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9890 if (!SWIG_IsOK(ecode2
)) {
9891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9893 arg2
= static_cast< int >(val2
);
9894 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9895 if (!SWIG_IsOK(res3
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9901 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_Py_Void();
9915 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
= 0;
9917 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9918 SwigValueWrapper
<wxVisualAttributes
> result
;
9921 PyObject
* obj0
= 0 ;
9922 char * kwnames
[] = {
9923 (char *) "variant", NULL
9926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9929 if (!SWIG_IsOK(ecode1
)) {
9930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9932 arg1
= static_cast< wxWindowVariant
>(val1
);
9935 if (!wxPyCheckForApp()) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9948 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9951 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9952 return SWIG_Py_Void();
9955 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9956 return SWIG_Python_InitShadowInstance(args
);
9959 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
= 0;
9961 wxWindow
*arg1
= (wxWindow
*) 0 ;
9962 int arg2
= (int) -1 ;
9963 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9964 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9965 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9966 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9967 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9968 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9969 long arg6
= (long) 0 ;
9970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9972 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9974 wxCheckListBox
*result
= 0 ;
9981 bool temp5
= false ;
9986 bool temp8
= false ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9990 PyObject
* obj3
= 0 ;
9991 PyObject
* obj4
= 0 ;
9992 PyObject
* obj5
= 0 ;
9993 PyObject
* obj6
= 0 ;
9994 PyObject
* obj7
= 0 ;
9995 char * kwnames
[] = {
9996 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10001 if (!SWIG_IsOK(res1
)) {
10002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10004 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10007 if (!SWIG_IsOK(ecode2
)) {
10008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10010 arg2
= static_cast< int >(val2
);
10015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10021 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10026 if (! PySequence_Check(obj4
)) {
10027 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10030 arg5
= new wxArrayString
;
10032 int i
, len
=PySequence_Length(obj4
);
10033 for (i
=0; i
<len
; i
++) {
10034 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10035 wxString
* s
= wxString_in_helper(item
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10044 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10045 if (!SWIG_IsOK(ecode6
)) {
10046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10048 arg6
= static_cast< long >(val6
);
10051 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10052 if (!SWIG_IsOK(res7
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10058 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10062 arg8
= wxString_in_helper(obj7
);
10063 if (arg8
== NULL
) SWIG_fail
;
10068 if (!wxPyCheckForApp()) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10076 if (temp5
) delete arg5
;
10085 if (temp5
) delete arg5
;
10095 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10096 PyObject
*resultobj
= 0;
10097 wxCheckListBox
*result
= 0 ;
10099 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10101 if (!wxPyCheckForApp()) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (wxCheckListBox
*)new wxCheckListBox();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10114 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
= 0;
10116 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10117 wxWindow
*arg2
= (wxWindow
*) 0 ;
10118 int arg3
= (int) -1 ;
10119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10123 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10124 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10125 long arg7
= (long) 0 ;
10126 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10127 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10128 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10129 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10139 bool temp6
= false ;
10144 bool temp9
= false ;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 PyObject
* obj2
= 0 ;
10148 PyObject
* obj3
= 0 ;
10149 PyObject
* obj4
= 0 ;
10150 PyObject
* obj5
= 0 ;
10151 PyObject
* obj6
= 0 ;
10152 PyObject
* obj7
= 0 ;
10153 PyObject
* obj8
= 0 ;
10154 char * kwnames
[] = {
10155 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10160 if (!SWIG_IsOK(res1
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10163 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10165 if (!SWIG_IsOK(res2
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10168 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10171 if (!SWIG_IsOK(ecode3
)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10174 arg3
= static_cast< int >(val3
);
10179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10190 if (! PySequence_Check(obj5
)) {
10191 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10194 arg6
= new wxArrayString
;
10196 int i
, len
=PySequence_Length(obj5
);
10197 for (i
=0; i
<len
; i
++) {
10198 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10199 wxString
* s
= wxString_in_helper(item
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10208 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10209 if (!SWIG_IsOK(ecode7
)) {
10210 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10212 arg7
= static_cast< long >(val7
);
10215 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10216 if (!SWIG_IsOK(res8
)) {
10217 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10222 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10226 arg9
= wxString_in_helper(obj8
);
10227 if (arg9
== NULL
) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10241 if (temp6
) delete arg6
;
10250 if (temp6
) delete arg6
;
10260 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
= 0;
10262 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10263 unsigned int arg2
;
10267 unsigned int val2
;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 char * kwnames
[] = {
10272 (char *) "self",(char *) "index", NULL
10275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10277 if (!SWIG_IsOK(res1
)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10280 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10281 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10282 if (!SWIG_IsOK(ecode2
)) {
10283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10285 arg2
= static_cast< unsigned int >(val2
);
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (bool)(arg1
)->IsChecked(arg2
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10301 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
= 0;
10303 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10304 unsigned int arg2
;
10305 int arg3
= (int) true ;
10308 unsigned int val2
;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 PyObject
* obj2
= 0 ;
10315 char * kwnames
[] = {
10316 (char *) "self",(char *) "index",(char *) "check", NULL
10319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10321 if (!SWIG_IsOK(res1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10324 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10325 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10326 if (!SWIG_IsOK(ecode2
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10329 arg2
= static_cast< unsigned int >(val2
);
10331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10332 if (!SWIG_IsOK(ecode3
)) {
10333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10335 arg3
= static_cast< int >(val3
);
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 (arg1
)->Check(arg2
,arg3
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_Py_Void();
10350 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10353 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10354 return SWIG_Py_Void();
10357 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10358 return SWIG_Python_InitShadowInstance(args
);
10361 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10362 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10367 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10368 PyObject
*pyobj
= 0;
10372 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10374 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10381 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
= 0;
10383 wxColour
const &arg1_defvalue
= wxNullColour
;
10384 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10385 wxColour
const &arg2_defvalue
= wxNullColour
;
10386 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10387 wxFont
const &arg3_defvalue
= wxNullFont
;
10388 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10389 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10390 wxTextAttr
*result
= 0 ;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 PyObject
* obj2
= 0 ;
10400 PyObject
* obj3
= 0 ;
10401 char * kwnames
[] = {
10402 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10409 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10419 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10420 if (!SWIG_IsOK(res3
)) {
10421 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10426 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10429 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10430 if (!SWIG_IsOK(ecode4
)) {
10431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10433 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10448 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10449 PyObject
*resultobj
= 0;
10450 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10453 PyObject
*swig_obj
[1] ;
10455 if (!args
) SWIG_fail
;
10456 swig_obj
[0] = args
;
10457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10458 if (!SWIG_IsOK(res1
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10461 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_Py_Void();
10476 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10477 PyObject
*resultobj
= 0;
10478 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10481 PyObject
*swig_obj
[1] ;
10483 if (!args
) SWIG_fail
;
10484 swig_obj
[0] = args
;
10485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10489 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_Py_Void();
10503 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
= 0;
10505 wxTextAttr
*arg1
= 0 ;
10506 wxTextAttr
*arg2
= 0 ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 char * kwnames
[] = {
10515 (char *) "base",(char *) "overlay", NULL
10518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10519 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10520 if (!SWIG_IsOK(res1
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10526 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10528 if (!SWIG_IsOK(res2
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10534 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10548 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
= 0;
10550 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10551 wxColour
*arg2
= 0 ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char * kwnames
[] = {
10558 (char *) "self",(char *) "colText", NULL
10561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10566 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10569 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_Py_Void();
10584 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10587 wxColour
*arg2
= 0 ;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 char * kwnames
[] = {
10594 (char *) "self",(char *) "colBack", NULL
10597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10602 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10605 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_Py_Void();
10620 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
= 0;
10622 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10624 long arg3
= (long) wxTEXT_ATTR_FONT
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 char * kwnames
[] = {
10635 (char *) "self",(char *) "font",(char *) "flags", NULL
10638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10640 if (!SWIG_IsOK(res1
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10643 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10645 if (!SWIG_IsOK(res2
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10651 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10653 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10654 if (!SWIG_IsOK(ecode3
)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10657 arg3
= static_cast< long >(val3
);
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_Py_Void();
10672 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
= 0;
10674 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10675 wxTextAttrAlignment arg2
;
10680 PyObject
* obj0
= 0 ;
10681 PyObject
* obj1
= 0 ;
10682 char * kwnames
[] = {
10683 (char *) "self",(char *) "alignment", NULL
10686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10688 if (!SWIG_IsOK(res1
)) {
10689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10691 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10693 if (!SWIG_IsOK(ecode2
)) {
10694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10696 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->SetAlignment(arg2
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= SWIG_Py_Void();
10710 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
= 0;
10712 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10713 wxArrayInt
*arg2
= 0 ;
10716 bool temp2
= false ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 char * kwnames
[] = {
10720 (char *) "self",(char *) "tabs", NULL
10723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10725 if (!SWIG_IsOK(res1
)) {
10726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10728 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10730 if (! PySequence_Check(obj1
)) {
10731 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10734 arg2
= new wxArrayInt
;
10736 int i
, len
=PySequence_Length(obj1
);
10737 for (i
=0; i
<len
; i
++) {
10738 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10739 PyObject
* number
= PyNumber_Int(item
);
10741 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10744 arg2
->Add(PyInt_AS_LONG(number
));
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= SWIG_Py_Void();
10757 if (temp2
) delete arg2
;
10762 if (temp2
) delete arg2
;
10768 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
= 0;
10770 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10772 int arg3
= (int) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 PyObject
* obj2
= 0 ;
10782 char * kwnames
[] = {
10783 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10788 if (!SWIG_IsOK(res1
)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10791 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10793 if (!SWIG_IsOK(ecode2
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10796 arg2
= static_cast< int >(val2
);
10798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10799 if (!SWIG_IsOK(ecode3
)) {
10800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10802 arg3
= static_cast< int >(val3
);
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->SetLeftIndent(arg2
,arg3
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_Py_Void();
10817 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
= 0;
10819 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 char * kwnames
[] = {
10828 (char *) "self",(char *) "indent", NULL
10831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10833 if (!SWIG_IsOK(res1
)) {
10834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10836 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10838 if (!SWIG_IsOK(ecode2
)) {
10839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10841 arg2
= static_cast< int >(val2
);
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 (arg1
)->SetRightIndent(arg2
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= SWIG_Py_Void();
10855 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
= 0;
10857 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 char * kwnames
[] = {
10866 (char *) "self",(char *) "flags", NULL
10869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10871 if (!SWIG_IsOK(res1
)) {
10872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10874 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10876 if (!SWIG_IsOK(ecode2
)) {
10877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10879 arg2
= static_cast< long >(val2
);
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 (arg1
)->SetFlags(arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 resultobj
= SWIG_Py_Void();
10893 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10894 PyObject
*resultobj
= 0;
10895 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10899 PyObject
*swig_obj
[1] ;
10901 if (!args
) SWIG_fail
;
10902 swig_obj
[0] = args
;
10903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10904 if (!SWIG_IsOK(res1
)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10907 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10923 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10924 PyObject
*resultobj
= 0;
10925 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10929 PyObject
*swig_obj
[1] ;
10931 if (!args
) SWIG_fail
;
10932 swig_obj
[0] = args
;
10933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10934 if (!SWIG_IsOK(res1
)) {
10935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10937 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10953 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10954 PyObject
*resultobj
= 0;
10955 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10959 PyObject
*swig_obj
[1] ;
10961 if (!args
) SWIG_fail
;
10962 swig_obj
[0] = args
;
10963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10964 if (!SWIG_IsOK(res1
)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10967 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10983 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10984 PyObject
*resultobj
= 0;
10985 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10989 PyObject
*swig_obj
[1] ;
10991 if (!args
) SWIG_fail
;
10992 swig_obj
[0] = args
;
10993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10997 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11013 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11014 PyObject
*resultobj
= 0;
11015 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11019 PyObject
*swig_obj
[1] ;
11021 if (!args
) SWIG_fail
;
11022 swig_obj
[0] = args
;
11023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11024 if (!SWIG_IsOK(res1
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11027 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11043 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11044 PyObject
*resultobj
= 0;
11045 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11049 PyObject
*swig_obj
[1] ;
11051 if (!args
) SWIG_fail
;
11052 swig_obj
[0] = args
;
11053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11054 if (!SWIG_IsOK(res1
)) {
11055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11057 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11074 PyObject
*resultobj
= 0;
11075 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11079 PyObject
*swig_obj
[1] ;
11081 if (!args
) SWIG_fail
;
11082 swig_obj
[0] = args
;
11083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11084 if (!SWIG_IsOK(res1
)) {
11085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11087 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11103 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
= 0;
11105 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 char * kwnames
[] = {
11115 (char *) "self",(char *) "flag", NULL
11118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11120 if (!SWIG_IsOK(res1
)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11123 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11124 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11125 if (!SWIG_IsOK(ecode2
)) {
11126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11128 arg2
= static_cast< long >(val2
);
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11145 PyObject
*resultobj
= 0;
11146 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11147 wxColour
*result
= 0 ;
11150 PyObject
*swig_obj
[1] ;
11152 if (!args
) SWIG_fail
;
11153 swig_obj
[0] = args
;
11154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11155 if (!SWIG_IsOK(res1
)) {
11156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11158 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11163 result
= (wxColour
*) &_result_ref
;
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11175 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11176 PyObject
*resultobj
= 0;
11177 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11178 wxColour
*result
= 0 ;
11181 PyObject
*swig_obj
[1] ;
11183 if (!args
) SWIG_fail
;
11184 swig_obj
[0] = args
;
11185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11189 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11194 result
= (wxColour
*) &_result_ref
;
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11206 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11207 PyObject
*resultobj
= 0;
11208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11209 wxFont
*result
= 0 ;
11212 PyObject
*swig_obj
[1] ;
11214 if (!args
) SWIG_fail
;
11215 swig_obj
[0] = args
;
11216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11217 if (!SWIG_IsOK(res1
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11220 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11225 result
= (wxFont
*) &_result_ref
;
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 wxFont
* resultptr
= new wxFont(*result
);
11232 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11240 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11241 PyObject
*resultobj
= 0;
11242 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11243 wxTextAttrAlignment result
;
11246 PyObject
*swig_obj
[1] ;
11248 if (!args
) SWIG_fail
;
11249 swig_obj
[0] = args
;
11250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11251 if (!SWIG_IsOK(res1
)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11254 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_From_int(static_cast< int >(result
));
11268 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11269 PyObject
*resultobj
= 0;
11270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11271 wxArrayInt
*result
= 0 ;
11274 PyObject
*swig_obj
[1] ;
11276 if (!args
) SWIG_fail
;
11277 swig_obj
[0] = args
;
11278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11282 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11287 result
= (wxArrayInt
*) &_result_ref
;
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= wxArrayInt2PyList_helper(*result
);
11301 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11302 PyObject
*resultobj
= 0;
11303 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11307 PyObject
*swig_obj
[1] ;
11309 if (!args
) SWIG_fail
;
11310 swig_obj
[0] = args
;
11311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11312 if (!SWIG_IsOK(res1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11315 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= SWIG_From_long(static_cast< long >(result
));
11329 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11330 PyObject
*resultobj
= 0;
11331 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11335 PyObject
*swig_obj
[1] ;
11337 if (!args
) SWIG_fail
;
11338 swig_obj
[0] = args
;
11339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11340 if (!SWIG_IsOK(res1
)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11343 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_From_long(static_cast< long >(result
));
11357 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11358 PyObject
*resultobj
= 0;
11359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11363 PyObject
*swig_obj
[1] ;
11365 if (!args
) SWIG_fail
;
11366 swig_obj
[0] = args
;
11367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11371 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= SWIG_From_long(static_cast< long >(result
));
11385 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11386 PyObject
*resultobj
= 0;
11387 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11391 PyObject
*swig_obj
[1] ;
11393 if (!args
) SWIG_fail
;
11394 swig_obj
[0] = args
;
11395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11396 if (!SWIG_IsOK(res1
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11399 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= SWIG_From_long(static_cast< long >(result
));
11413 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11414 PyObject
*resultobj
= 0;
11415 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11419 PyObject
*swig_obj
[1] ;
11421 if (!args
) SWIG_fail
;
11422 swig_obj
[0] = args
;
11423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11424 if (!SWIG_IsOK(res1
)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11427 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11443 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
= 0;
11445 wxTextAttr
*arg1
= 0 ;
11446 wxTextAttr
*arg2
= 0 ;
11447 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 PyObject
* obj2
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11463 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11470 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11472 if (!SWIG_IsOK(res2
)) {
11473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11478 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11480 if (!SWIG_IsOK(res3
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11483 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11497 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11500 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11501 return SWIG_Py_Void();
11504 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11505 return SWIG_Python_InitShadowInstance(args
);
11508 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
= 0;
11510 wxWindow
*arg1
= (wxWindow
*) 0 ;
11511 int arg2
= (int) -1 ;
11512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11518 long arg6
= (long) 0 ;
11519 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11520 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11521 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11522 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11523 wxTextCtrl
*result
= 0 ;
11528 bool temp3
= false ;
11535 bool temp8
= false ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 PyObject
* obj2
= 0 ;
11539 PyObject
* obj3
= 0 ;
11540 PyObject
* obj4
= 0 ;
11541 PyObject
* obj5
= 0 ;
11542 PyObject
* obj6
= 0 ;
11543 PyObject
* obj7
= 0 ;
11544 char * kwnames
[] = {
11545 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11553 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11556 if (!SWIG_IsOK(ecode2
)) {
11557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11559 arg2
= static_cast< int >(val2
);
11563 arg3
= wxString_in_helper(obj2
);
11564 if (arg3
== NULL
) SWIG_fail
;
11571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11581 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11582 if (!SWIG_IsOK(ecode6
)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11585 arg6
= static_cast< long >(val6
);
11588 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11589 if (!SWIG_IsOK(res7
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11595 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11599 arg8
= wxString_in_helper(obj7
);
11600 if (arg8
== NULL
) SWIG_fail
;
11605 if (!wxPyCheckForApp()) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11634 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11635 PyObject
*resultobj
= 0;
11636 wxTextCtrl
*result
= 0 ;
11638 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11640 if (!wxPyCheckForApp()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (wxTextCtrl
*)new wxTextCtrl();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11653 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
= 0;
11655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11656 wxWindow
*arg2
= (wxWindow
*) 0 ;
11657 int arg3
= (int) -1 ;
11658 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11659 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11660 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11661 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11662 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11663 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11664 long arg7
= (long) 0 ;
11665 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11666 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11667 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11668 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11676 bool temp4
= false ;
11683 bool temp9
= false ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 PyObject
* obj3
= 0 ;
11688 PyObject
* obj4
= 0 ;
11689 PyObject
* obj5
= 0 ;
11690 PyObject
* obj6
= 0 ;
11691 PyObject
* obj7
= 0 ;
11692 PyObject
* obj8
= 0 ;
11693 char * kwnames
[] = {
11694 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11699 if (!SWIG_IsOK(res1
)) {
11700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11702 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11704 if (!SWIG_IsOK(res2
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11710 if (!SWIG_IsOK(ecode3
)) {
11711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11713 arg3
= static_cast< int >(val3
);
11717 arg4
= wxString_in_helper(obj3
);
11718 if (arg4
== NULL
) SWIG_fail
;
11725 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11731 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11735 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11736 if (!SWIG_IsOK(ecode7
)) {
11737 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11739 arg7
= static_cast< long >(val7
);
11742 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11743 if (!SWIG_IsOK(res8
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11749 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11753 arg9
= wxString_in_helper(obj8
);
11754 if (arg9
== NULL
) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11790 PyObject
*resultobj
= 0;
11791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11795 PyObject
*swig_obj
[1] ;
11797 if (!args
) SWIG_fail
;
11798 swig_obj
[0] = args
;
11799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11800 if (!SWIG_IsOK(res1
)) {
11801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11803 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11823 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11826 wxString
*arg2
= 0 ;
11829 bool temp2
= false ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char * kwnames
[] = {
11833 (char *) "self",(char *) "value", NULL
11836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11838 if (!SWIG_IsOK(res1
)) {
11839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11841 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11843 arg2
= wxString_in_helper(obj1
);
11844 if (arg2
== NULL
) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 (arg1
)->SetValue((wxString
const &)*arg2
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_Py_Void();
11868 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11869 PyObject
*resultobj
= 0;
11870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11874 PyObject
*swig_obj
[1] ;
11876 if (!args
) SWIG_fail
;
11877 swig_obj
[0] = args
;
11878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11879 if (!SWIG_IsOK(res1
)) {
11880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11882 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11885 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11898 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
= 0;
11900 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11901 wxString
*arg2
= 0 ;
11904 bool temp2
= false ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 char * kwnames
[] = {
11908 (char *) "self",(char *) "value", NULL
11911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11918 arg2
= wxString_in_helper(obj1
);
11919 if (arg2
== NULL
) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_Py_Void();
11943 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
= 0;
11945 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 PyObject
* obj2
= 0 ;
11958 char * kwnames
[] = {
11959 (char *) "self",(char *) "from",(char *) "to", NULL
11962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11964 if (!SWIG_IsOK(res1
)) {
11965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11967 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11968 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11969 if (!SWIG_IsOK(ecode2
)) {
11970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11972 arg2
= static_cast< long >(val2
);
11973 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11974 if (!SWIG_IsOK(ecode3
)) {
11975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11977 arg3
= static_cast< long >(val3
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11997 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
= 0;
11999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char * kwnames
[] = {
12009 (char *) "self",(char *) "lineNo", NULL
12012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12017 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12019 if (!SWIG_IsOK(ecode2
)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12022 arg2
= static_cast< long >(val2
);
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_From_int(static_cast< int >(result
));
12036 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
= 0;
12038 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12045 PyObject
* obj0
= 0 ;
12046 PyObject
* obj1
= 0 ;
12047 char * kwnames
[] = {
12048 (char *) "self",(char *) "lineNo", NULL
12051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12053 if (!SWIG_IsOK(res1
)) {
12054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12056 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12057 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12058 if (!SWIG_IsOK(ecode2
)) {
12059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12061 arg2
= static_cast< long >(val2
);
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12081 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12082 PyObject
*resultobj
= 0;
12083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12087 PyObject
*swig_obj
[1] ;
12089 if (!args
) SWIG_fail
;
12090 swig_obj
[0] = args
;
12091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12092 if (!SWIG_IsOK(res1
)) {
12093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12095 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= SWIG_From_int(static_cast< int >(result
));
12109 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12110 PyObject
*resultobj
= 0;
12111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12115 PyObject
*swig_obj
[1] ;
12117 if (!args
) SWIG_fail
;
12118 swig_obj
[0] = args
;
12119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12120 if (!SWIG_IsOK(res1
)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12123 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12139 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12140 PyObject
*resultobj
= 0;
12141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12145 PyObject
*swig_obj
[1] ;
12147 if (!args
) SWIG_fail
;
12148 swig_obj
[0] = args
;
12149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12153 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12169 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12170 PyObject
*resultobj
= 0;
12171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12183 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12199 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12205 PyObject
*swig_obj
[1] ;
12207 if (!args
) SWIG_fail
;
12208 swig_obj
[0] = args
;
12209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12213 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12229 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12230 PyObject
*resultobj
= 0;
12231 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12232 long *arg2
= (long *) 0 ;
12233 long *arg3
= (long *) 0 ;
12237 int res2
= SWIG_TMPOBJ
;
12239 int res3
= SWIG_TMPOBJ
;
12240 PyObject
*swig_obj
[1] ;
12244 if (!args
) SWIG_fail
;
12245 swig_obj
[0] = args
;
12246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12247 if (!SWIG_IsOK(res1
)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12250 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_Py_Void();
12258 if (SWIG_IsTmpObj(res2
)) {
12259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12261 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12264 if (SWIG_IsTmpObj(res3
)) {
12265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12267 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12276 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12277 PyObject
*resultobj
= 0;
12278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12282 PyObject
*swig_obj
[1] ;
12284 if (!args
) SWIG_fail
;
12285 swig_obj
[0] = args
;
12286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12287 if (!SWIG_IsOK(res1
)) {
12288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12310 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12311 PyObject
*resultobj
= 0;
12312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12315 PyObject
*swig_obj
[1] ;
12317 if (!args
) SWIG_fail
;
12318 swig_obj
[0] = args
;
12319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12320 if (!SWIG_IsOK(res1
)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12323 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_Py_Void();
12337 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= 0;
12339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12342 wxString
*arg4
= 0 ;
12349 bool temp4
= false ;
12350 PyObject
* obj0
= 0 ;
12351 PyObject
* obj1
= 0 ;
12352 PyObject
* obj2
= 0 ;
12353 PyObject
* obj3
= 0 ;
12354 char * kwnames
[] = {
12355 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12363 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12364 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12365 if (!SWIG_IsOK(ecode2
)) {
12366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12368 arg2
= static_cast< long >(val2
);
12369 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12370 if (!SWIG_IsOK(ecode3
)) {
12371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12373 arg3
= static_cast< long >(val3
);
12375 arg4
= wxString_in_helper(obj3
);
12376 if (arg4
== NULL
) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_Py_Void();
12400 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
= 0;
12402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 PyObject
* obj2
= 0 ;
12414 char * kwnames
[] = {
12415 (char *) "self",(char *) "from",(char *) "to", NULL
12418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12420 if (!SWIG_IsOK(res1
)) {
12421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12423 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12425 if (!SWIG_IsOK(ecode2
)) {
12426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12428 arg2
= static_cast< long >(val2
);
12429 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12430 if (!SWIG_IsOK(ecode3
)) {
12431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12433 arg3
= static_cast< long >(val3
);
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 (arg1
)->Remove(arg2
,arg3
);
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= SWIG_Py_Void();
12447 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
= 0;
12449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12450 wxString
*arg2
= 0 ;
12451 int arg3
= (int) wxTEXT_TYPE_ANY
;
12455 bool temp2
= false ;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 PyObject
* obj2
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "self",(char *) "file",(char *) "fileType", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12470 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12472 arg2
= wxString_in_helper(obj1
);
12473 if (arg2
== NULL
) SWIG_fail
;
12477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12478 if (!SWIG_IsOK(ecode3
)) {
12479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12481 arg3
= static_cast< int >(val3
);
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12506 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
= 0;
12508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12509 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12510 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12511 int arg3
= (int) wxTEXT_TYPE_ANY
;
12515 bool temp2
= false ;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj1
= 0 ;
12520 PyObject
* obj2
= 0 ;
12521 char * kwnames
[] = {
12522 (char *) "self",(char *) "file",(char *) "fileType", NULL
12525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12530 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12533 arg2
= wxString_in_helper(obj1
);
12534 if (arg2
== NULL
) SWIG_fail
;
12539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12540 if (!SWIG_IsOK(ecode3
)) {
12541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12543 arg3
= static_cast< int >(val3
);
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12568 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12569 PyObject
*resultobj
= 0;
12570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12573 PyObject
*swig_obj
[1] ;
12575 if (!args
) SWIG_fail
;
12576 swig_obj
[0] = args
;
12577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12578 if (!SWIG_IsOK(res1
)) {
12579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12581 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->MarkDirty();
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_Py_Void();
12595 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12596 PyObject
*resultobj
= 0;
12597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12600 PyObject
*swig_obj
[1] ;
12602 if (!args
) SWIG_fail
;
12603 swig_obj
[0] = args
;
12604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12605 if (!SWIG_IsOK(res1
)) {
12606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12608 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 (arg1
)->DiscardEdits();
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= SWIG_Py_Void();
12622 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
= 0;
12624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 char * kwnames
[] = {
12633 (char *) "self",(char *) "modified", NULL
12636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12638 if (!SWIG_IsOK(res1
)) {
12639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12641 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12642 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12643 if (!SWIG_IsOK(ecode2
)) {
12644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12646 arg2
= static_cast< bool >(val2
);
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 (arg1
)->SetModified(arg2
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= SWIG_Py_Void();
12660 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
= 0;
12662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12663 unsigned long arg2
;
12666 unsigned long val2
;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 char * kwnames
[] = {
12671 (char *) "self",(char *) "len", NULL
12674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12676 if (!SWIG_IsOK(res1
)) {
12677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12679 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12680 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12681 if (!SWIG_IsOK(ecode2
)) {
12682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12684 arg2
= static_cast< unsigned long >(val2
);
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetMaxLength(arg2
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_Py_Void();
12698 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
= 0;
12700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12701 wxString
*arg2
= 0 ;
12704 bool temp2
= false ;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 char * kwnames
[] = {
12708 (char *) "self",(char *) "text", NULL
12711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12713 if (!SWIG_IsOK(res1
)) {
12714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12716 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12718 arg2
= wxString_in_helper(obj1
);
12719 if (arg2
== NULL
) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 (arg1
)->WriteText((wxString
const &)*arg2
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= SWIG_Py_Void();
12743 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
= 0;
12745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12746 wxString
*arg2
= 0 ;
12749 bool temp2
= false ;
12750 PyObject
* obj0
= 0 ;
12751 PyObject
* obj1
= 0 ;
12752 char * kwnames
[] = {
12753 (char *) "self",(char *) "text", NULL
12756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12758 if (!SWIG_IsOK(res1
)) {
12759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12761 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12763 arg2
= wxString_in_helper(obj1
);
12764 if (arg2
== NULL
) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 (arg1
)->AppendText((wxString
const &)*arg2
);
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= SWIG_Py_Void();
12788 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
= 0;
12790 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12791 wxKeyEvent
*arg2
= 0 ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char * kwnames
[] = {
12800 (char *) "self",(char *) "event", NULL
12803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12808 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12810 if (!SWIG_IsOK(res2
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12816 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12832 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
= 0;
12834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12837 wxTextAttr
*arg4
= 0 ;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 PyObject
* obj2
= 0 ;
12850 PyObject
* obj3
= 0 ;
12851 char * kwnames
[] = {
12852 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12857 if (!SWIG_IsOK(res1
)) {
12858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12860 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12861 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12862 if (!SWIG_IsOK(ecode2
)) {
12863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12865 arg2
= static_cast< long >(val2
);
12866 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12867 if (!SWIG_IsOK(ecode3
)) {
12868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12870 arg3
= static_cast< long >(val3
);
12871 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12872 if (!SWIG_IsOK(res4
)) {
12873 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12878 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12894 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
= 0;
12896 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12898 wxTextAttr
*arg3
= 0 ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 PyObject
* obj2
= 0 ;
12909 char * kwnames
[] = {
12910 (char *) "self",(char *) "position",(char *) "style", NULL
12913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12915 if (!SWIG_IsOK(res1
)) {
12916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12918 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12920 if (!SWIG_IsOK(ecode2
)) {
12921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12923 arg2
= static_cast< long >(val2
);
12924 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12925 if (!SWIG_IsOK(res3
)) {
12926 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12931 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12947 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
= 0;
12949 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12950 wxTextAttr
*arg2
= 0 ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 char * kwnames
[] = {
12959 (char *) "self",(char *) "style", NULL
12962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12964 if (!SWIG_IsOK(res1
)) {
12965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12967 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12969 if (!SWIG_IsOK(res2
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12975 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12991 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12992 PyObject
*resultobj
= 0;
12993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12994 wxTextAttr
*result
= 0 ;
12997 PyObject
*swig_obj
[1] ;
12999 if (!args
) SWIG_fail
;
13000 swig_obj
[0] = args
;
13001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13002 if (!SWIG_IsOK(res1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13005 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13010 result
= (wxTextAttr
*) &_result_ref
;
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13022 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
= 0;
13024 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 PyObject
* obj2
= 0 ;
13037 char * kwnames
[] = {
13038 (char *) "self",(char *) "x",(char *) "y", NULL
13041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13043 if (!SWIG_IsOK(res1
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13046 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13047 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13048 if (!SWIG_IsOK(ecode2
)) {
13049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13051 arg2
= static_cast< long >(val2
);
13052 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13053 if (!SWIG_IsOK(ecode3
)) {
13054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13056 arg3
= static_cast< long >(val3
);
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_From_long(static_cast< long >(result
));
13070 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
= 0;
13072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13074 long *arg3
= (long *) 0 ;
13075 long *arg4
= (long *) 0 ;
13081 int res3
= SWIG_TMPOBJ
;
13083 int res4
= SWIG_TMPOBJ
;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char * kwnames
[] = {
13087 (char *) "self",(char *) "pos", NULL
13092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13094 if (!SWIG_IsOK(res1
)) {
13095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13097 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13099 if (!SWIG_IsOK(ecode2
)) {
13100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13102 arg2
= static_cast< long >(val2
);
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= SWIG_Py_Void();
13110 if (SWIG_IsTmpObj(res3
)) {
13111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13113 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13116 if (SWIG_IsTmpObj(res4
)) {
13117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13119 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13128 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
= 0;
13130 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 char * kwnames
[] = {
13139 (char *) "self",(char *) "pos", NULL
13142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13144 if (!SWIG_IsOK(res1
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13147 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13148 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13149 if (!SWIG_IsOK(ecode2
)) {
13150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13152 arg2
= static_cast< long >(val2
);
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 (arg1
)->ShowPosition(arg2
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= SWIG_Py_Void();
13166 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
= 0;
13168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13169 wxPoint
*arg2
= 0 ;
13170 long *arg3
= (long *) 0 ;
13171 long *arg4
= (long *) 0 ;
13172 wxTextCtrlHitTestResult result
;
13177 int res3
= SWIG_TMPOBJ
;
13179 int res4
= SWIG_TMPOBJ
;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char * kwnames
[] = {
13183 (char *) "self",(char *) "pt", NULL
13188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13190 if (!SWIG_IsOK(res1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_From_int(static_cast< int >(result
));
13205 if (SWIG_IsTmpObj(res3
)) {
13206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13208 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13211 if (SWIG_IsTmpObj(res4
)) {
13212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13214 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13223 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
= 0;
13225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13226 wxPoint
*arg2
= 0 ;
13227 long *arg3
= (long *) 0 ;
13228 wxTextCtrlHitTestResult result
;
13233 int res3
= SWIG_TMPOBJ
;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 char * kwnames
[] = {
13237 (char *) "self",(char *) "pt", NULL
13241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13243 if (!SWIG_IsOK(res1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13246 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_From_int(static_cast< int >(result
));
13258 if (SWIG_IsTmpObj(res3
)) {
13259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13261 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13270 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13271 PyObject
*resultobj
= 0;
13272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13275 PyObject
*swig_obj
[1] ;
13277 if (!args
) SWIG_fail
;
13278 swig_obj
[0] = args
;
13279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13280 if (!SWIG_IsOK(res1
)) {
13281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= SWIG_Py_Void();
13297 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13298 PyObject
*resultobj
= 0;
13299 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13302 PyObject
*swig_obj
[1] ;
13304 if (!args
) SWIG_fail
;
13305 swig_obj
[0] = args
;
13306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13307 if (!SWIG_IsOK(res1
)) {
13308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13310 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= SWIG_Py_Void();
13324 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13325 PyObject
*resultobj
= 0;
13326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13329 PyObject
*swig_obj
[1] ;
13331 if (!args
) SWIG_fail
;
13332 swig_obj
[0] = args
;
13333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13334 if (!SWIG_IsOK(res1
)) {
13335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13337 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_Py_Void();
13351 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13352 PyObject
*resultobj
= 0;
13353 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13357 PyObject
*swig_obj
[1] ;
13359 if (!args
) SWIG_fail
;
13360 swig_obj
[0] = args
;
13361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13365 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13381 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13382 PyObject
*resultobj
= 0;
13383 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13387 PyObject
*swig_obj
[1] ;
13389 if (!args
) SWIG_fail
;
13390 swig_obj
[0] = args
;
13391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13392 if (!SWIG_IsOK(res1
)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13395 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13411 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13412 PyObject
*resultobj
= 0;
13413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13417 PyObject
*swig_obj
[1] ;
13419 if (!args
) SWIG_fail
;
13420 swig_obj
[0] = args
;
13421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13422 if (!SWIG_IsOK(res1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13425 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13441 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13442 PyObject
*resultobj
= 0;
13443 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13446 PyObject
*swig_obj
[1] ;
13448 if (!args
) SWIG_fail
;
13449 swig_obj
[0] = args
;
13450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13451 if (!SWIG_IsOK(res1
)) {
13452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13454 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_Py_Void();
13468 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 PyObject
*resultobj
= 0;
13470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13473 PyObject
*swig_obj
[1] ;
13475 if (!args
) SWIG_fail
;
13476 swig_obj
[0] = args
;
13477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13478 if (!SWIG_IsOK(res1
)) {
13479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13481 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= SWIG_Py_Void();
13495 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13496 PyObject
*resultobj
= 0;
13497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13501 PyObject
*swig_obj
[1] ;
13503 if (!args
) SWIG_fail
;
13504 swig_obj
[0] = args
;
13505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13506 if (!SWIG_IsOK(res1
)) {
13507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13509 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13525 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13526 PyObject
*resultobj
= 0;
13527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13531 PyObject
*swig_obj
[1] ;
13533 if (!args
) SWIG_fail
;
13534 swig_obj
[0] = args
;
13535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13536 if (!SWIG_IsOK(res1
)) {
13537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13539 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13555 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
= 0;
13557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 char * kwnames
[] = {
13566 (char *) "self",(char *) "pos", NULL
13569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13571 if (!SWIG_IsOK(res1
)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13574 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13575 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13576 if (!SWIG_IsOK(ecode2
)) {
13577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13579 arg2
= static_cast< long >(val2
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 (arg1
)->SetInsertionPoint(arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_Py_Void();
13593 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13594 PyObject
*resultobj
= 0;
13595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13598 PyObject
*swig_obj
[1] ;
13600 if (!args
) SWIG_fail
;
13601 swig_obj
[0] = args
;
13602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13606 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->SetInsertionPointEnd();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_Py_Void();
13620 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13621 PyObject
*resultobj
= 0;
13622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13626 PyObject
*swig_obj
[1] ;
13628 if (!args
) SWIG_fail
;
13629 swig_obj
[0] = args
;
13630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13631 if (!SWIG_IsOK(res1
)) {
13632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13634 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_From_long(static_cast< long >(result
));
13648 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13649 PyObject
*resultobj
= 0;
13650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13654 PyObject
*swig_obj
[1] ;
13656 if (!args
) SWIG_fail
;
13657 swig_obj
[0] = args
;
13658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13659 if (!SWIG_IsOK(res1
)) {
13660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13662 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= SWIG_From_long(static_cast< long >(result
));
13676 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
= 0;
13678 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 PyObject
* obj2
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "self",(char *) "from",(char *) "to", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13700 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13701 if (!SWIG_IsOK(ecode2
)) {
13702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13704 arg2
= static_cast< long >(val2
);
13705 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13706 if (!SWIG_IsOK(ecode3
)) {
13707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13709 arg3
= static_cast< long >(val3
);
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 (arg1
)->SetSelection(arg2
,arg3
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_Py_Void();
13723 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13724 PyObject
*resultobj
= 0;
13725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13728 PyObject
*swig_obj
[1] ;
13730 if (!args
) SWIG_fail
;
13731 swig_obj
[0] = args
;
13732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13733 if (!SWIG_IsOK(res1
)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13736 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->SelectAll();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_Py_Void();
13750 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
= 0;
13752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 char * kwnames
[] = {
13761 (char *) "self",(char *) "editable", NULL
13764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13766 if (!SWIG_IsOK(res1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13769 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13771 if (!SWIG_IsOK(ecode2
)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13774 arg2
= static_cast< bool >(val2
);
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 (arg1
)->SetEditable(arg2
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= SWIG_Py_Void();
13788 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
= 0;
13790 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 char * kwnames
[] = {
13799 (char *) "self",(char *) "check", NULL
13802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13804 if (!SWIG_IsOK(res1
)) {
13805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13807 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13809 if (!SWIG_IsOK(ecode2
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13812 arg2
= static_cast< bool >(val2
);
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 (arg1
)->MacCheckSpelling(arg2
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_Py_Void();
13826 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13827 PyObject
*resultobj
= 0;
13828 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13831 PyObject
*swig_obj
[1] ;
13833 if (!args
) SWIG_fail
;
13834 swig_obj
[0] = args
;
13835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13836 if (!SWIG_IsOK(res1
)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13839 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 (arg1
)->SendTextUpdatedEvent();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_Py_Void();
13853 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
= 0;
13855 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13856 wxString
*arg2
= 0 ;
13859 bool temp2
= false ;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 char * kwnames
[] = {
13863 (char *) "self",(char *) "text", NULL
13866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13871 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13873 arg2
= wxString_in_helper(obj1
);
13874 if (arg2
== NULL
) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_Py_Void();
13898 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
= 0;
13900 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 PyObject
* obj2
= 0 ;
13913 char * kwnames
[] = {
13914 (char *) "self",(char *) "from",(char *) "to", NULL
13917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13919 if (!SWIG_IsOK(res1
)) {
13920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13922 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13923 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13924 if (!SWIG_IsOK(ecode2
)) {
13925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13927 arg2
= static_cast< long >(val2
);
13928 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13929 if (!SWIG_IsOK(ecode3
)) {
13930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13932 arg3
= static_cast< long >(val3
);
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13952 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
= 0;
13954 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13955 SwigValueWrapper
<wxVisualAttributes
> result
;
13958 PyObject
* obj0
= 0 ;
13959 char * kwnames
[] = {
13960 (char *) "variant", NULL
13963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13966 if (!SWIG_IsOK(ecode1
)) {
13967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13969 arg1
= static_cast< wxWindowVariant
>(val1
);
13972 if (!wxPyCheckForApp()) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13985 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13988 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13989 return SWIG_Py_Void();
13992 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13993 return SWIG_Python_InitShadowInstance(args
);
13996 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
= 0;
13999 wxMouseEvent
*arg2
= 0 ;
14002 wxTextUrlEvent
*result
= 0 ;
14011 PyObject
* obj0
= 0 ;
14012 PyObject
* obj1
= 0 ;
14013 PyObject
* obj2
= 0 ;
14014 PyObject
* obj3
= 0 ;
14015 char * kwnames
[] = {
14016 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14020 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14021 if (!SWIG_IsOK(ecode1
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14024 arg1
= static_cast< int >(val1
);
14025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14026 if (!SWIG_IsOK(res2
)) {
14027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14032 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14033 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14034 if (!SWIG_IsOK(ecode3
)) {
14035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14037 arg3
= static_cast< long >(val3
);
14038 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14039 if (!SWIG_IsOK(ecode4
)) {
14040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14042 arg4
= static_cast< long >(val4
);
14044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14056 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14057 PyObject
*resultobj
= 0;
14058 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14059 wxMouseEvent
*result
= 0 ;
14062 PyObject
*swig_obj
[1] ;
14064 if (!args
) SWIG_fail
;
14065 swig_obj
[0] = args
;
14066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14067 if (!SWIG_IsOK(res1
)) {
14068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14070 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14075 result
= (wxMouseEvent
*) &_result_ref
;
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14087 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14088 PyObject
*resultobj
= 0;
14089 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14093 PyObject
*swig_obj
[1] ;
14095 if (!args
) SWIG_fail
;
14096 swig_obj
[0] = args
;
14097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14098 if (!SWIG_IsOK(res1
)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14101 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= SWIG_From_long(static_cast< long >(result
));
14115 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14116 PyObject
*resultobj
= 0;
14117 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14121 PyObject
*swig_obj
[1] ;
14123 if (!args
) SWIG_fail
;
14124 swig_obj
[0] = args
;
14125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14126 if (!SWIG_IsOK(res1
)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14129 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_From_long(static_cast< long >(result
));
14143 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14146 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14147 return SWIG_Py_Void();
14150 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14151 return SWIG_Python_InitShadowInstance(args
);
14154 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14155 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14160 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14161 PyObject
*pyobj
= 0;
14165 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14167 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14174 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
= 0;
14176 wxWindow
*arg1
= (wxWindow
*) 0 ;
14177 int arg2
= (int) -1 ;
14178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14182 long arg5
= (long) wxSB_HORIZONTAL
;
14183 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14184 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14185 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14186 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14187 wxScrollBar
*result
= 0 ;
14198 bool temp7
= false ;
14199 PyObject
* obj0
= 0 ;
14200 PyObject
* obj1
= 0 ;
14201 PyObject
* obj2
= 0 ;
14202 PyObject
* obj3
= 0 ;
14203 PyObject
* obj4
= 0 ;
14204 PyObject
* obj5
= 0 ;
14205 PyObject
* obj6
= 0 ;
14206 char * kwnames
[] = {
14207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14212 if (!SWIG_IsOK(res1
)) {
14213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14215 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14218 if (!SWIG_IsOK(ecode2
)) {
14219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14221 arg2
= static_cast< int >(val2
);
14226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14232 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14236 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14237 if (!SWIG_IsOK(ecode5
)) {
14238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14240 arg5
= static_cast< long >(val5
);
14243 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14244 if (!SWIG_IsOK(res6
)) {
14245 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14250 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14254 arg7
= wxString_in_helper(obj6
);
14255 if (arg7
== NULL
) SWIG_fail
;
14260 if (!wxPyCheckForApp()) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14281 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14282 PyObject
*resultobj
= 0;
14283 wxScrollBar
*result
= 0 ;
14285 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14287 if (!wxPyCheckForApp()) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (wxScrollBar
*)new wxScrollBar();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14300 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
= 0;
14302 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14303 wxWindow
*arg2
= (wxWindow
*) 0 ;
14304 int arg3
= (int) -1 ;
14305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14309 long arg6
= (long) wxSB_HORIZONTAL
;
14310 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14311 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14312 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14313 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14327 bool temp8
= false ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 PyObject
* obj2
= 0 ;
14331 PyObject
* obj3
= 0 ;
14332 PyObject
* obj4
= 0 ;
14333 PyObject
* obj5
= 0 ;
14334 PyObject
* obj6
= 0 ;
14335 PyObject
* obj7
= 0 ;
14336 char * kwnames
[] = {
14337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14342 if (!SWIG_IsOK(res1
)) {
14343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14345 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14347 if (!SWIG_IsOK(res2
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14353 if (!SWIG_IsOK(ecode3
)) {
14354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14356 arg3
= static_cast< int >(val3
);
14361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14371 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14372 if (!SWIG_IsOK(ecode6
)) {
14373 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14375 arg6
= static_cast< long >(val6
);
14378 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14379 if (!SWIG_IsOK(res7
)) {
14380 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14385 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14389 arg8
= wxString_in_helper(obj7
);
14390 if (arg8
== NULL
) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14417 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14418 PyObject
*resultobj
= 0;
14419 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14423 PyObject
*swig_obj
[1] ;
14425 if (!args
) SWIG_fail
;
14426 swig_obj
[0] = args
;
14427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14428 if (!SWIG_IsOK(res1
)) {
14429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14431 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_From_int(static_cast< int >(result
));
14445 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14446 PyObject
*resultobj
= 0;
14447 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14451 PyObject
*swig_obj
[1] ;
14453 if (!args
) SWIG_fail
;
14454 swig_obj
[0] = args
;
14455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14456 if (!SWIG_IsOK(res1
)) {
14457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14459 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= SWIG_From_int(static_cast< int >(result
));
14473 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14474 PyObject
*resultobj
= 0;
14475 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14479 PyObject
*swig_obj
[1] ;
14481 if (!args
) SWIG_fail
;
14482 swig_obj
[0] = args
;
14483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14487 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_From_int(static_cast< int >(result
));
14501 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14502 PyObject
*resultobj
= 0;
14503 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14507 PyObject
*swig_obj
[1] ;
14509 if (!args
) SWIG_fail
;
14510 swig_obj
[0] = args
;
14511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14512 if (!SWIG_IsOK(res1
)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14515 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= SWIG_From_int(static_cast< int >(result
));
14529 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14530 PyObject
*resultobj
= 0;
14531 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14535 PyObject
*swig_obj
[1] ;
14537 if (!args
) SWIG_fail
;
14538 swig_obj
[0] = args
;
14539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14540 if (!SWIG_IsOK(res1
)) {
14541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14543 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14559 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
= 0;
14561 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 char * kwnames
[] = {
14570 (char *) "self",(char *) "viewStart", NULL
14573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14578 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14580 if (!SWIG_IsOK(ecode2
)) {
14581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14583 arg2
= static_cast< int >(val2
);
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 (arg1
)->SetThumbPosition(arg2
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= SWIG_Py_Void();
14597 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
= 0;
14599 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14600 SwigValueWrapper
<wxVisualAttributes
> result
;
14603 PyObject
* obj0
= 0 ;
14604 char * kwnames
[] = {
14605 (char *) "variant", NULL
14608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14610 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14611 if (!SWIG_IsOK(ecode1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14614 arg1
= static_cast< wxWindowVariant
>(val1
);
14617 if (!wxPyCheckForApp()) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14630 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14633 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14634 return SWIG_Py_Void();
14637 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14638 return SWIG_Python_InitShadowInstance(args
);
14641 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14642 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14647 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14648 PyObject
*pyobj
= 0;
14652 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14654 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14661 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14662 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14667 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14668 PyObject
*pyobj
= 0;
14672 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14674 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14681 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
= 0;
14683 wxWindow
*arg1
= (wxWindow
*) 0 ;
14684 int arg2
= (int) -1 ;
14685 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14686 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14687 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14688 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14689 long arg5
= (long) wxSP_HORIZONTAL
;
14690 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14691 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14692 wxSpinButton
*result
= 0 ;
14701 bool temp6
= false ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 PyObject
* obj2
= 0 ;
14705 PyObject
* obj3
= 0 ;
14706 PyObject
* obj4
= 0 ;
14707 PyObject
* obj5
= 0 ;
14708 char * kwnames
[] = {
14709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14714 if (!SWIG_IsOK(res1
)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14720 if (!SWIG_IsOK(ecode2
)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14723 arg2
= static_cast< int >(val2
);
14728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14734 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14738 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14739 if (!SWIG_IsOK(ecode5
)) {
14740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14742 arg5
= static_cast< long >(val5
);
14746 arg6
= wxString_in_helper(obj5
);
14747 if (arg6
== NULL
) SWIG_fail
;
14752 if (!wxPyCheckForApp()) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14773 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14774 PyObject
*resultobj
= 0;
14775 wxSpinButton
*result
= 0 ;
14777 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14779 if (!wxPyCheckForApp()) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (wxSpinButton
*)new wxSpinButton();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14792 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
= 0;
14794 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14795 wxWindow
*arg2
= (wxWindow
*) 0 ;
14796 int arg3
= (int) -1 ;
14797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14801 long arg6
= (long) wxSP_HORIZONTAL
;
14802 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14803 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14815 bool temp7
= false ;
14816 PyObject
* obj0
= 0 ;
14817 PyObject
* obj1
= 0 ;
14818 PyObject
* obj2
= 0 ;
14819 PyObject
* obj3
= 0 ;
14820 PyObject
* obj4
= 0 ;
14821 PyObject
* obj5
= 0 ;
14822 PyObject
* obj6
= 0 ;
14823 char * kwnames
[] = {
14824 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14832 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14833 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14834 if (!SWIG_IsOK(res2
)) {
14835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14837 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14840 if (!SWIG_IsOK(ecode3
)) {
14841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14843 arg3
= static_cast< int >(val3
);
14848 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14854 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14858 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14859 if (!SWIG_IsOK(ecode6
)) {
14860 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14862 arg6
= static_cast< long >(val6
);
14866 arg7
= wxString_in_helper(obj6
);
14867 if (arg7
== NULL
) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14894 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14895 PyObject
*resultobj
= 0;
14896 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14900 PyObject
*swig_obj
[1] ;
14902 if (!args
) SWIG_fail
;
14903 swig_obj
[0] = args
;
14904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14908 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_From_int(static_cast< int >(result
));
14922 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14923 PyObject
*resultobj
= 0;
14924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14928 PyObject
*swig_obj
[1] ;
14930 if (!args
) SWIG_fail
;
14931 swig_obj
[0] = args
;
14932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14936 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_From_int(static_cast< int >(result
));
14950 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14951 PyObject
*resultobj
= 0;
14952 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14956 PyObject
*swig_obj
[1] ;
14958 if (!args
) SWIG_fail
;
14959 swig_obj
[0] = args
;
14960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14961 if (!SWIG_IsOK(res1
)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14964 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= SWIG_From_int(static_cast< int >(result
));
14978 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
= 0;
14980 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14988 char * kwnames
[] = {
14989 (char *) "self",(char *) "val", NULL
14992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14994 if (!SWIG_IsOK(res1
)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14997 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14999 if (!SWIG_IsOK(ecode2
)) {
15000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15002 arg2
= static_cast< int >(val2
);
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 (arg1
)->SetValue(arg2
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= SWIG_Py_Void();
15016 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
= 0;
15018 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 PyObject
* obj1
= 0 ;
15026 char * kwnames
[] = {
15027 (char *) "self",(char *) "minVal", NULL
15030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15032 if (!SWIG_IsOK(res1
)) {
15033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15035 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15037 if (!SWIG_IsOK(ecode2
)) {
15038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15040 arg2
= static_cast< int >(val2
);
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 (arg1
)->SetMin(arg2
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_Py_Void();
15054 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
= 0;
15056 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char * kwnames
[] = {
15065 (char *) "self",(char *) "maxVal", NULL
15068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15073 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15075 if (!SWIG_IsOK(ecode2
)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15078 arg2
= static_cast< int >(val2
);
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 (arg1
)->SetMax(arg2
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_Py_Void();
15092 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
= 0;
15094 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 PyObject
* obj2
= 0 ;
15106 char * kwnames
[] = {
15107 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15112 if (!SWIG_IsOK(res1
)) {
15113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15115 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15117 if (!SWIG_IsOK(ecode2
)) {
15118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15120 arg2
= static_cast< int >(val2
);
15121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15122 if (!SWIG_IsOK(ecode3
)) {
15123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15125 arg3
= static_cast< int >(val3
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->SetRange(arg2
,arg3
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15140 PyObject
*resultobj
= 0;
15141 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15145 PyObject
*swig_obj
[1] ;
15147 if (!args
) SWIG_fail
;
15148 swig_obj
[0] = args
;
15149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15153 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15169 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
= 0;
15171 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15172 SwigValueWrapper
<wxVisualAttributes
> result
;
15175 PyObject
* obj0
= 0 ;
15176 char * kwnames
[] = {
15177 (char *) "variant", NULL
15180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15183 if (!SWIG_IsOK(ecode1
)) {
15184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15186 arg1
= static_cast< wxWindowVariant
>(val1
);
15189 if (!wxPyCheckForApp()) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15202 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15205 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15206 return SWIG_Py_Void();
15209 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15210 return SWIG_Python_InitShadowInstance(args
);
15213 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
= 0;
15215 wxWindow
*arg1
= (wxWindow
*) 0 ;
15216 int arg2
= (int) -1 ;
15217 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15218 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15219 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15220 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15221 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15222 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15223 long arg6
= (long) wxSP_ARROW_KEYS
;
15224 int arg7
= (int) 0 ;
15225 int arg8
= (int) 100 ;
15226 int arg9
= (int) 0 ;
15227 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15228 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15229 wxSpinCtrl
*result
= 0 ;
15234 bool temp3
= false ;
15245 bool temp10
= false ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 PyObject
* obj2
= 0 ;
15249 PyObject
* obj3
= 0 ;
15250 PyObject
* obj4
= 0 ;
15251 PyObject
* obj5
= 0 ;
15252 PyObject
* obj6
= 0 ;
15253 PyObject
* obj7
= 0 ;
15254 PyObject
* obj8
= 0 ;
15255 PyObject
* obj9
= 0 ;
15256 char * kwnames
[] = {
15257 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15265 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15268 if (!SWIG_IsOK(ecode2
)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15271 arg2
= static_cast< int >(val2
);
15275 arg3
= wxString_in_helper(obj2
);
15276 if (arg3
== NULL
) SWIG_fail
;
15283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15293 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15294 if (!SWIG_IsOK(ecode6
)) {
15295 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15297 arg6
= static_cast< long >(val6
);
15300 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15301 if (!SWIG_IsOK(ecode7
)) {
15302 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15304 arg7
= static_cast< int >(val7
);
15307 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15308 if (!SWIG_IsOK(ecode8
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', 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 '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15318 arg9
= static_cast< int >(val9
);
15322 arg10
= wxString_in_helper(obj9
);
15323 if (arg10
== NULL
) SWIG_fail
;
15328 if (!wxPyCheckForApp()) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15357 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15358 PyObject
*resultobj
= 0;
15359 wxSpinCtrl
*result
= 0 ;
15361 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15363 if (!wxPyCheckForApp()) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15376 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
= 0;
15378 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15379 wxWindow
*arg2
= (wxWindow
*) 0 ;
15380 int arg3
= (int) -1 ;
15381 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15383 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15384 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15385 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15386 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15387 long arg7
= (long) wxSP_ARROW_KEYS
;
15388 int arg8
= (int) 0 ;
15389 int arg9
= (int) 100 ;
15390 int arg10
= (int) 0 ;
15391 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15392 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15400 bool temp4
= false ;
15411 bool temp11
= false ;
15412 PyObject
* obj0
= 0 ;
15413 PyObject
* obj1
= 0 ;
15414 PyObject
* obj2
= 0 ;
15415 PyObject
* obj3
= 0 ;
15416 PyObject
* obj4
= 0 ;
15417 PyObject
* obj5
= 0 ;
15418 PyObject
* obj6
= 0 ;
15419 PyObject
* obj7
= 0 ;
15420 PyObject
* obj8
= 0 ;
15421 PyObject
* obj9
= 0 ;
15422 PyObject
* obj10
= 0 ;
15423 char * kwnames
[] = {
15424 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15429 if (!SWIG_IsOK(res1
)) {
15430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15432 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15434 if (!SWIG_IsOK(res2
)) {
15435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15437 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15440 if (!SWIG_IsOK(ecode3
)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15443 arg3
= static_cast< int >(val3
);
15447 arg4
= wxString_in_helper(obj3
);
15448 if (arg4
== NULL
) SWIG_fail
;
15455 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15461 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15465 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15466 if (!SWIG_IsOK(ecode7
)) {
15467 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15469 arg7
= static_cast< long >(val7
);
15472 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15473 if (!SWIG_IsOK(ecode8
)) {
15474 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15476 arg8
= static_cast< int >(val8
);
15479 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15480 if (!SWIG_IsOK(ecode9
)) {
15481 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15483 arg9
= static_cast< int >(val9
);
15486 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15487 if (!SWIG_IsOK(ecode10
)) {
15488 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15490 arg10
= static_cast< int >(val10
);
15494 arg11
= wxString_in_helper(obj10
);
15495 if (arg11
== NULL
) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15530 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15531 PyObject
*resultobj
= 0;
15532 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15536 PyObject
*swig_obj
[1] ;
15538 if (!args
) SWIG_fail
;
15539 swig_obj
[0] = args
;
15540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15541 if (!SWIG_IsOK(res1
)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15544 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= SWIG_From_int(static_cast< int >(result
));
15558 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
= 0;
15560 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char * kwnames
[] = {
15569 (char *) "self",(char *) "value", NULL
15572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15574 if (!SWIG_IsOK(res1
)) {
15575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15577 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15579 if (!SWIG_IsOK(ecode2
)) {
15580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15582 arg2
= static_cast< int >(val2
);
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 (arg1
)->SetValue(arg2
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_Py_Void();
15596 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
= 0;
15598 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15599 wxString
*arg2
= 0 ;
15602 bool temp2
= false ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 char * kwnames
[] = {
15606 (char *) "self",(char *) "text", NULL
15609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15611 if (!SWIG_IsOK(res1
)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15614 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15616 arg2
= wxString_in_helper(obj1
);
15617 if (arg2
== NULL
) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 (arg1
)->SetValue((wxString
const &)*arg2
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_Py_Void();
15641 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
= 0;
15643 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15652 PyObject
* obj0
= 0 ;
15653 PyObject
* obj1
= 0 ;
15654 PyObject
* obj2
= 0 ;
15655 char * kwnames
[] = {
15656 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15661 if (!SWIG_IsOK(res1
)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15664 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15666 if (!SWIG_IsOK(ecode2
)) {
15667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15669 arg2
= static_cast< int >(val2
);
15670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15671 if (!SWIG_IsOK(ecode3
)) {
15672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15674 arg3
= static_cast< int >(val3
);
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 (arg1
)->SetRange(arg2
,arg3
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_Py_Void();
15688 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15689 PyObject
*resultobj
= 0;
15690 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15694 PyObject
*swig_obj
[1] ;
15696 if (!args
) SWIG_fail
;
15697 swig_obj
[0] = args
;
15698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15699 if (!SWIG_IsOK(res1
)) {
15700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15702 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= SWIG_From_int(static_cast< int >(result
));
15716 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15717 PyObject
*resultobj
= 0;
15718 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15722 PyObject
*swig_obj
[1] ;
15724 if (!args
) SWIG_fail
;
15725 swig_obj
[0] = args
;
15726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15727 if (!SWIG_IsOK(res1
)) {
15728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15730 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_From_int(static_cast< int >(result
));
15744 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
= 0;
15746 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15755 PyObject
* obj0
= 0 ;
15756 PyObject
* obj1
= 0 ;
15757 PyObject
* obj2
= 0 ;
15758 char * kwnames
[] = {
15759 (char *) "self",(char *) "from",(char *) "to", NULL
15762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15764 if (!SWIG_IsOK(res1
)) {
15765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15767 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15768 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15769 if (!SWIG_IsOK(ecode2
)) {
15770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15772 arg2
= static_cast< long >(val2
);
15773 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15774 if (!SWIG_IsOK(ecode3
)) {
15775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15777 arg3
= static_cast< long >(val3
);
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 (arg1
)->SetSelection(arg2
,arg3
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= SWIG_Py_Void();
15791 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= 0;
15793 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15794 SwigValueWrapper
<wxVisualAttributes
> result
;
15797 PyObject
* obj0
= 0 ;
15798 char * kwnames
[] = {
15799 (char *) "variant", NULL
15802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15804 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15805 if (!SWIG_IsOK(ecode1
)) {
15806 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15808 arg1
= static_cast< wxWindowVariant
>(val1
);
15811 if (!wxPyCheckForApp()) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15824 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15827 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15828 return SWIG_Py_Void();
15831 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15832 return SWIG_Python_InitShadowInstance(args
);
15835 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
= 0;
15837 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15838 int arg2
= (int) 0 ;
15839 wxSpinEvent
*result
= 0 ;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 char * kwnames
[] = {
15847 (char *) "commandType",(char *) "winid", NULL
15850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15852 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15853 if (!SWIG_IsOK(ecode1
)) {
15854 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15856 arg1
= static_cast< wxEventType
>(val1
);
15859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15860 if (!SWIG_IsOK(ecode2
)) {
15861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15863 arg2
= static_cast< int >(val2
);
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15878 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15879 PyObject
*resultobj
= 0;
15880 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15884 PyObject
*swig_obj
[1] ;
15886 if (!args
) SWIG_fail
;
15887 swig_obj
[0] = args
;
15888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15889 if (!SWIG_IsOK(res1
)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15892 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_From_int(static_cast< int >(result
));
15906 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
= 0;
15908 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 char * kwnames
[] = {
15917 (char *) "self",(char *) "pos", NULL
15920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15922 if (!SWIG_IsOK(res1
)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15925 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15927 if (!SWIG_IsOK(ecode2
)) {
15928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15930 arg2
= static_cast< int >(val2
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 (arg1
)->SetPosition(arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_Py_Void();
15944 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15947 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15948 return SWIG_Py_Void();
15951 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15952 return SWIG_Python_InitShadowInstance(args
);
15955 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15956 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15961 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15962 PyObject
*pyobj
= 0;
15966 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15968 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15975 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15976 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15981 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15982 PyObject
*pyobj
= 0;
15986 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15988 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15995 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
= 0;
15997 wxWindow
*arg1
= (wxWindow
*) 0 ;
15998 int arg2
= (int) -1 ;
15999 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16000 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16003 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16004 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16005 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16006 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16007 int arg7
= (int) 0 ;
16008 long arg8
= (long) wxRA_HORIZONTAL
;
16009 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16010 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16011 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16012 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16013 wxRadioBox
*result
= 0 ;
16018 bool temp3
= false ;
16021 bool temp6
= false ;
16028 bool temp10
= false ;
16029 PyObject
* obj0
= 0 ;
16030 PyObject
* obj1
= 0 ;
16031 PyObject
* obj2
= 0 ;
16032 PyObject
* obj3
= 0 ;
16033 PyObject
* obj4
= 0 ;
16034 PyObject
* obj5
= 0 ;
16035 PyObject
* obj6
= 0 ;
16036 PyObject
* obj7
= 0 ;
16037 PyObject
* obj8
= 0 ;
16038 PyObject
* obj9
= 0 ;
16039 char * kwnames
[] = {
16040 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16045 if (!SWIG_IsOK(res1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16051 if (!SWIG_IsOK(ecode2
)) {
16052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16054 arg2
= static_cast< int >(val2
);
16058 arg3
= wxString_in_helper(obj2
);
16059 if (arg3
== NULL
) SWIG_fail
;
16066 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16072 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16077 if (! PySequence_Check(obj5
)) {
16078 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16081 arg6
= new wxArrayString
;
16083 int i
, len
=PySequence_Length(obj5
);
16084 for (i
=0; i
<len
; i
++) {
16085 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16086 wxString
* s
= wxString_in_helper(item
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16095 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16096 if (!SWIG_IsOK(ecode7
)) {
16097 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16099 arg7
= static_cast< int >(val7
);
16102 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16103 if (!SWIG_IsOK(ecode8
)) {
16104 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16106 arg8
= static_cast< long >(val8
);
16109 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16110 if (!SWIG_IsOK(res9
)) {
16111 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16116 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16120 arg10
= wxString_in_helper(obj9
);
16121 if (arg10
== NULL
) SWIG_fail
;
16126 if (!wxPyCheckForApp()) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 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
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16138 if (temp6
) delete arg6
;
16151 if (temp6
) delete arg6
;
16161 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16162 PyObject
*resultobj
= 0;
16163 wxRadioBox
*result
= 0 ;
16165 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16167 if (!wxPyCheckForApp()) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (wxRadioBox
*)new wxRadioBox();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16180 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
= 0;
16182 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16183 wxWindow
*arg2
= (wxWindow
*) 0 ;
16184 int arg3
= (int) -1 ;
16185 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16186 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16187 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16188 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16189 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16190 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16191 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16192 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16193 int arg8
= (int) 0 ;
16194 long arg9
= (long) wxRA_HORIZONTAL
;
16195 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16196 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16197 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16198 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16206 bool temp4
= false ;
16209 bool temp7
= false ;
16216 bool temp11
= false ;
16217 PyObject
* obj0
= 0 ;
16218 PyObject
* obj1
= 0 ;
16219 PyObject
* obj2
= 0 ;
16220 PyObject
* obj3
= 0 ;
16221 PyObject
* obj4
= 0 ;
16222 PyObject
* obj5
= 0 ;
16223 PyObject
* obj6
= 0 ;
16224 PyObject
* obj7
= 0 ;
16225 PyObject
* obj8
= 0 ;
16226 PyObject
* obj9
= 0 ;
16227 PyObject
* obj10
= 0 ;
16228 char * kwnames
[] = {
16229 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16234 if (!SWIG_IsOK(res1
)) {
16235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16237 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16239 if (!SWIG_IsOK(res2
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16242 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16245 if (!SWIG_IsOK(ecode3
)) {
16246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16248 arg3
= static_cast< int >(val3
);
16252 arg4
= wxString_in_helper(obj3
);
16253 if (arg4
== NULL
) SWIG_fail
;
16260 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16266 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16271 if (! PySequence_Check(obj6
)) {
16272 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16275 arg7
= new wxArrayString
;
16277 int i
, len
=PySequence_Length(obj6
);
16278 for (i
=0; i
<len
; i
++) {
16279 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16280 wxString
* s
= wxString_in_helper(item
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16289 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16290 if (!SWIG_IsOK(ecode8
)) {
16291 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16293 arg8
= static_cast< int >(val8
);
16296 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16297 if (!SWIG_IsOK(ecode9
)) {
16298 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16300 arg9
= static_cast< long >(val9
);
16303 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16304 if (!SWIG_IsOK(res10
)) {
16305 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16310 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16314 arg11
= wxString_in_helper(obj10
);
16315 if (arg11
== NULL
) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 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
);
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16333 if (temp7
) delete arg7
;
16346 if (temp7
) delete arg7
;
16356 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
= 0;
16358 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 char * kwnames
[] = {
16367 (char *) "self",(char *) "n", NULL
16370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16372 if (!SWIG_IsOK(res1
)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16375 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16377 if (!SWIG_IsOK(ecode2
)) {
16378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16380 arg2
= static_cast< int >(val2
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 (arg1
)->SetSelection(arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_Py_Void();
16394 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16395 PyObject
*resultobj
= 0;
16396 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16400 PyObject
*swig_obj
[1] ;
16402 if (!args
) SWIG_fail
;
16403 swig_obj
[0] = args
;
16404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16405 if (!SWIG_IsOK(res1
)) {
16406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16408 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= SWIG_From_int(static_cast< int >(result
));
16422 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16423 PyObject
*resultobj
= 0;
16424 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16428 PyObject
*swig_obj
[1] ;
16430 if (!args
) SWIG_fail
;
16431 swig_obj
[0] = args
;
16432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16436 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16456 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
= 0;
16458 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16459 wxString
*arg2
= 0 ;
16463 bool temp2
= false ;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 char * kwnames
[] = {
16467 (char *) "self",(char *) "s", NULL
16470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16472 if (!SWIG_IsOK(res1
)) {
16473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16475 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16477 arg2
= wxString_in_helper(obj1
);
16478 if (arg2
== NULL
) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16504 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16505 PyObject
*resultobj
= 0;
16506 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16510 PyObject
*swig_obj
[1] ;
16512 if (!args
) SWIG_fail
;
16513 swig_obj
[0] = args
;
16514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16518 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16532 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
= 0;
16534 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16535 wxString
*arg2
= 0 ;
16539 bool temp2
= false ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 char * kwnames
[] = {
16543 (char *) "self",(char *) "s", NULL
16546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16551 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16553 arg2
= wxString_in_helper(obj1
);
16554 if (arg2
== NULL
) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= SWIG_From_int(static_cast< int >(result
));
16578 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
= 0;
16580 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char * kwnames
[] = {
16590 (char *) "self",(char *) "n", NULL
16593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16595 if (!SWIG_IsOK(res1
)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16598 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16600 if (!SWIG_IsOK(ecode2
)) {
16601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16603 arg2
= static_cast< int >(val2
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16623 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
= 0;
16625 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16627 wxString
*arg3
= 0 ;
16632 bool temp3
= false ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 PyObject
* obj2
= 0 ;
16636 char * kwnames
[] = {
16637 (char *) "self",(char *) "n",(char *) "label", NULL
16640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16642 if (!SWIG_IsOK(res1
)) {
16643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16645 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16647 if (!SWIG_IsOK(ecode2
)) {
16648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16650 arg2
= static_cast< int >(val2
);
16652 arg3
= wxString_in_helper(obj2
);
16653 if (arg3
== NULL
) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= SWIG_Py_Void();
16677 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
= 0;
16679 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16680 unsigned int arg2
;
16681 bool arg3
= (bool) true ;
16684 unsigned int val2
;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 PyObject
* obj2
= 0 ;
16691 char * kwnames
[] = {
16692 (char *) "self",(char *) "n",(char *) "enable", NULL
16695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16697 if (!SWIG_IsOK(res1
)) {
16698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16700 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16701 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16702 if (!SWIG_IsOK(ecode2
)) {
16703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16705 arg2
= static_cast< unsigned int >(val2
);
16707 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16708 if (!SWIG_IsOK(ecode3
)) {
16709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16711 arg3
= static_cast< bool >(val3
);
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 (arg1
)->Enable(arg2
,arg3
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16719 resultobj
= SWIG_Py_Void();
16726 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
= 0;
16728 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16729 unsigned int arg2
;
16730 bool arg3
= (bool) true ;
16733 unsigned int val2
;
16737 PyObject
* obj0
= 0 ;
16738 PyObject
* obj1
= 0 ;
16739 PyObject
* obj2
= 0 ;
16740 char * kwnames
[] = {
16741 (char *) "self",(char *) "n",(char *) "show", NULL
16744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16746 if (!SWIG_IsOK(res1
)) {
16747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16749 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16750 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16751 if (!SWIG_IsOK(ecode2
)) {
16752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16754 arg2
= static_cast< unsigned int >(val2
);
16756 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16757 if (!SWIG_IsOK(ecode3
)) {
16758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16760 arg3
= static_cast< bool >(val3
);
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 (arg1
)->Show(arg2
,arg3
);
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= SWIG_Py_Void();
16775 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
= 0;
16777 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16778 unsigned int arg2
;
16782 unsigned int val2
;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char * kwnames
[] = {
16787 (char *) "self",(char *) "n", NULL
16790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16792 if (!SWIG_IsOK(res1
)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16795 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16796 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16797 if (!SWIG_IsOK(ecode2
)) {
16798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16800 arg2
= static_cast< unsigned int >(val2
);
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16816 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
= 0;
16818 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16819 unsigned int arg2
;
16823 unsigned int val2
;
16825 PyObject
* obj0
= 0 ;
16826 PyObject
* obj1
= 0 ;
16827 char * kwnames
[] = {
16828 (char *) "self",(char *) "n", NULL
16831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16833 if (!SWIG_IsOK(res1
)) {
16834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16836 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16837 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16838 if (!SWIG_IsOK(ecode2
)) {
16839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16841 arg2
= static_cast< unsigned int >(val2
);
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16857 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16858 PyObject
*resultobj
= 0;
16859 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16860 unsigned int result
;
16863 PyObject
*swig_obj
[1] ;
16865 if (!args
) SWIG_fail
;
16866 swig_obj
[0] = args
;
16867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16868 if (!SWIG_IsOK(res1
)) {
16869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16871 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16885 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16886 PyObject
*resultobj
= 0;
16887 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16888 unsigned int result
;
16891 PyObject
*swig_obj
[1] ;
16893 if (!args
) SWIG_fail
;
16894 swig_obj
[0] = args
;
16895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16896 if (!SWIG_IsOK(res1
)) {
16897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16899 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16913 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
= 0;
16915 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 PyObject
* obj2
= 0 ;
16931 PyObject
* obj3
= 0 ;
16932 char * kwnames
[] = {
16933 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16938 if (!SWIG_IsOK(res1
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16941 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16943 if (!SWIG_IsOK(ecode2
)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16946 arg2
= static_cast< int >(val2
);
16947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16948 if (!SWIG_IsOK(ecode3
)) {
16949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16951 arg3
= static_cast< wxDirection
>(val3
);
16952 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16953 if (!SWIG_IsOK(ecode4
)) {
16954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16956 arg4
= static_cast< long >(val4
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_From_int(static_cast< int >(result
));
16970 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
= 0;
16972 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16973 unsigned int arg2
;
16974 wxString
*arg3
= 0 ;
16977 unsigned int val2
;
16979 bool temp3
= false ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 PyObject
* obj2
= 0 ;
16983 char * kwnames
[] = {
16984 (char *) "self",(char *) "item",(char *) "text", NULL
16987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16989 if (!SWIG_IsOK(res1
)) {
16990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16992 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16993 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16994 if (!SWIG_IsOK(ecode2
)) {
16995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16997 arg2
= static_cast< unsigned int >(val2
);
16999 arg3
= wxString_in_helper(obj2
);
17000 if (arg3
== NULL
) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= SWIG_Py_Void();
17024 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
= 0;
17026 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17027 unsigned int arg2
;
17028 wxToolTip
*result
= 0 ;
17031 unsigned int val2
;
17033 PyObject
* obj0
= 0 ;
17034 PyObject
* obj1
= 0 ;
17035 char * kwnames
[] = {
17036 (char *) "self",(char *) "item", NULL
17039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17041 if (!SWIG_IsOK(res1
)) {
17042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17044 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17045 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17046 if (!SWIG_IsOK(ecode2
)) {
17047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17049 arg2
= static_cast< unsigned int >(val2
);
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17065 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
= 0;
17067 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17068 unsigned int arg2
;
17069 wxString
*arg3
= 0 ;
17072 unsigned int val2
;
17074 bool temp3
= false ;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 PyObject
* obj2
= 0 ;
17078 char * kwnames
[] = {
17079 (char *) "self",(char *) "n",(char *) "helpText", NULL
17082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17084 if (!SWIG_IsOK(res1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17087 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17088 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17089 if (!SWIG_IsOK(ecode2
)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17092 arg2
= static_cast< unsigned int >(val2
);
17094 arg3
= wxString_in_helper(obj2
);
17095 if (arg3
== NULL
) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= SWIG_Py_Void();
17119 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
= 0;
17121 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17122 unsigned int arg2
;
17126 unsigned int val2
;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 char * kwnames
[] = {
17131 (char *) "self",(char *) "n", NULL
17134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17136 if (!SWIG_IsOK(res1
)) {
17137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17139 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17140 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17141 if (!SWIG_IsOK(ecode2
)) {
17142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17144 arg2
= static_cast< unsigned int >(val2
);
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17164 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
= 0;
17166 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17167 SwigValueWrapper
<wxVisualAttributes
> result
;
17170 PyObject
* obj0
= 0 ;
17171 char * kwnames
[] = {
17172 (char *) "variant", NULL
17175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17178 if (!SWIG_IsOK(ecode1
)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17181 arg1
= static_cast< wxWindowVariant
>(val1
);
17184 if (!wxPyCheckForApp()) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17197 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17200 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17201 return SWIG_Py_Void();
17204 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17205 return SWIG_Python_InitShadowInstance(args
);
17208 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
= 0;
17210 wxWindow
*arg1
= (wxWindow
*) 0 ;
17211 int arg2
= (int) -1 ;
17212 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17213 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17214 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17215 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17216 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17217 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17218 long arg6
= (long) 0 ;
17219 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17220 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17221 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17222 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17223 wxRadioButton
*result
= 0 ;
17228 bool temp3
= false ;
17235 bool temp8
= false ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 PyObject
* obj2
= 0 ;
17239 PyObject
* obj3
= 0 ;
17240 PyObject
* obj4
= 0 ;
17241 PyObject
* obj5
= 0 ;
17242 PyObject
* obj6
= 0 ;
17243 PyObject
* obj7
= 0 ;
17244 char * kwnames
[] = {
17245 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17250 if (!SWIG_IsOK(res1
)) {
17251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17253 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17256 if (!SWIG_IsOK(ecode2
)) {
17257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17259 arg2
= static_cast< int >(val2
);
17263 arg3
= wxString_in_helper(obj2
);
17264 if (arg3
== NULL
) SWIG_fail
;
17271 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17277 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17281 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17282 if (!SWIG_IsOK(ecode6
)) {
17283 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17285 arg6
= static_cast< long >(val6
);
17288 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17289 if (!SWIG_IsOK(res7
)) {
17290 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17295 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17299 arg8
= wxString_in_helper(obj7
);
17300 if (arg8
== NULL
) SWIG_fail
;
17305 if (!wxPyCheckForApp()) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17334 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17335 PyObject
*resultobj
= 0;
17336 wxRadioButton
*result
= 0 ;
17338 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17340 if (!wxPyCheckForApp()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (wxRadioButton
*)new wxRadioButton();
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17353 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
= 0;
17355 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17356 wxWindow
*arg2
= (wxWindow
*) 0 ;
17357 int arg3
= (int) -1 ;
17358 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17359 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17360 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17361 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17362 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17363 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17364 long arg7
= (long) 0 ;
17365 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17366 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17367 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17368 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17376 bool temp4
= false ;
17383 bool temp9
= false ;
17384 PyObject
* obj0
= 0 ;
17385 PyObject
* obj1
= 0 ;
17386 PyObject
* obj2
= 0 ;
17387 PyObject
* obj3
= 0 ;
17388 PyObject
* obj4
= 0 ;
17389 PyObject
* obj5
= 0 ;
17390 PyObject
* obj6
= 0 ;
17391 PyObject
* obj7
= 0 ;
17392 PyObject
* obj8
= 0 ;
17393 char * kwnames
[] = {
17394 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17399 if (!SWIG_IsOK(res1
)) {
17400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17402 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17404 if (!SWIG_IsOK(res2
)) {
17405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17407 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17410 if (!SWIG_IsOK(ecode3
)) {
17411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17413 arg3
= static_cast< int >(val3
);
17417 arg4
= wxString_in_helper(obj3
);
17418 if (arg4
== NULL
) SWIG_fail
;
17425 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17431 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17435 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17436 if (!SWIG_IsOK(ecode7
)) {
17437 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17439 arg7
= static_cast< long >(val7
);
17442 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17443 if (!SWIG_IsOK(res8
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17449 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17453 arg9
= wxString_in_helper(obj8
);
17454 if (arg9
== NULL
) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17489 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17490 PyObject
*resultobj
= 0;
17491 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17495 PyObject
*swig_obj
[1] ;
17497 if (!args
) SWIG_fail
;
17498 swig_obj
[0] = args
;
17499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17500 if (!SWIG_IsOK(res1
)) {
17501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17503 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= (bool)(arg1
)->GetValue();
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17519 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
= 0;
17521 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 char * kwnames
[] = {
17530 (char *) "self",(char *) "value", NULL
17533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17535 if (!SWIG_IsOK(res1
)) {
17536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17538 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17539 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17540 if (!SWIG_IsOK(ecode2
)) {
17541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17543 arg2
= static_cast< bool >(val2
);
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 (arg1
)->SetValue(arg2
);
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 resultobj
= SWIG_Py_Void();
17557 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
= 0;
17559 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17560 SwigValueWrapper
<wxVisualAttributes
> result
;
17563 PyObject
* obj0
= 0 ;
17564 char * kwnames
[] = {
17565 (char *) "variant", NULL
17568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17570 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17571 if (!SWIG_IsOK(ecode1
)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17574 arg1
= static_cast< wxWindowVariant
>(val1
);
17577 if (!wxPyCheckForApp()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17590 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17593 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17594 return SWIG_Py_Void();
17597 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17598 return SWIG_Python_InitShadowInstance(args
);
17601 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17602 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17607 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17608 PyObject
*pyobj
= 0;
17612 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17614 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17621 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
= 0;
17623 wxWindow
*arg1
= (wxWindow
*) 0 ;
17624 int arg2
= (int) -1 ;
17625 int arg3
= (int) 0 ;
17626 int arg4
= (int) 0 ;
17627 int arg5
= (int) 100 ;
17628 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17629 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17630 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17631 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17632 long arg8
= (long) wxSL_HORIZONTAL
;
17633 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17634 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17635 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17636 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17637 wxSlider
*result
= 0 ;
17654 bool temp10
= false ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 PyObject
* obj2
= 0 ;
17658 PyObject
* obj3
= 0 ;
17659 PyObject
* obj4
= 0 ;
17660 PyObject
* obj5
= 0 ;
17661 PyObject
* obj6
= 0 ;
17662 PyObject
* obj7
= 0 ;
17663 PyObject
* obj8
= 0 ;
17664 PyObject
* obj9
= 0 ;
17665 char * kwnames
[] = {
17666 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17671 if (!SWIG_IsOK(res1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17677 if (!SWIG_IsOK(ecode2
)) {
17678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17680 arg2
= static_cast< int >(val2
);
17683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17684 if (!SWIG_IsOK(ecode3
)) {
17685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17687 arg3
= static_cast< int >(val3
);
17690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17691 if (!SWIG_IsOK(ecode4
)) {
17692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17694 arg4
= static_cast< int >(val4
);
17697 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17698 if (!SWIG_IsOK(ecode5
)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17701 arg5
= static_cast< int >(val5
);
17706 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17712 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17716 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17717 if (!SWIG_IsOK(ecode8
)) {
17718 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17720 arg8
= static_cast< long >(val8
);
17723 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17724 if (!SWIG_IsOK(res9
)) {
17725 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17730 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17734 arg10
= wxString_in_helper(obj9
);
17735 if (arg10
== NULL
) SWIG_fail
;
17740 if (!wxPyCheckForApp()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17761 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17762 PyObject
*resultobj
= 0;
17763 wxSlider
*result
= 0 ;
17765 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17767 if (!wxPyCheckForApp()) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (wxSlider
*)new wxSlider();
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17780 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
= 0;
17782 wxSlider
*arg1
= (wxSlider
*) 0 ;
17783 wxWindow
*arg2
= (wxWindow
*) 0 ;
17784 int arg3
= (int) -1 ;
17785 int arg4
= (int) 0 ;
17786 int arg5
= (int) 0 ;
17787 int arg6
= (int) 100 ;
17788 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17789 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17790 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17791 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17792 long arg9
= (long) wxSL_HORIZONTAL
;
17793 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17794 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17795 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17796 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17816 bool temp11
= false ;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 PyObject
* obj2
= 0 ;
17820 PyObject
* obj3
= 0 ;
17821 PyObject
* obj4
= 0 ;
17822 PyObject
* obj5
= 0 ;
17823 PyObject
* obj6
= 0 ;
17824 PyObject
* obj7
= 0 ;
17825 PyObject
* obj8
= 0 ;
17826 PyObject
* obj9
= 0 ;
17827 PyObject
* obj10
= 0 ;
17828 char * kwnames
[] = {
17829 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17834 if (!SWIG_IsOK(res1
)) {
17835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17837 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17838 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17839 if (!SWIG_IsOK(res2
)) {
17840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17842 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17845 if (!SWIG_IsOK(ecode3
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17848 arg3
= static_cast< int >(val3
);
17851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17852 if (!SWIG_IsOK(ecode4
)) {
17853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17855 arg4
= static_cast< int >(val4
);
17858 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17859 if (!SWIG_IsOK(ecode5
)) {
17860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17862 arg5
= static_cast< int >(val5
);
17865 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17866 if (!SWIG_IsOK(ecode6
)) {
17867 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17869 arg6
= static_cast< int >(val6
);
17874 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17880 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17884 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17885 if (!SWIG_IsOK(ecode9
)) {
17886 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17888 arg9
= static_cast< long >(val9
);
17891 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17892 if (!SWIG_IsOK(res10
)) {
17893 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17898 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17902 arg11
= wxString_in_helper(obj10
);
17903 if (arg11
== NULL
) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17930 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17931 PyObject
*resultobj
= 0;
17932 wxSlider
*arg1
= (wxSlider
*) 0 ;
17936 PyObject
*swig_obj
[1] ;
17938 if (!args
) SWIG_fail
;
17939 swig_obj
[0] = args
;
17940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17941 if (!SWIG_IsOK(res1
)) {
17942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17944 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= SWIG_From_int(static_cast< int >(result
));
17958 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
= 0;
17960 wxSlider
*arg1
= (wxSlider
*) 0 ;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char * kwnames
[] = {
17969 (char *) "self",(char *) "value", NULL
17972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17974 if (!SWIG_IsOK(res1
)) {
17975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17977 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17979 if (!SWIG_IsOK(ecode2
)) {
17980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17982 arg2
= static_cast< int >(val2
);
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 (arg1
)->SetValue(arg2
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= SWIG_Py_Void();
17996 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
= 0;
17998 wxSlider
*arg1
= (wxSlider
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 PyObject
* obj2
= 0 ;
18010 char * kwnames
[] = {
18011 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18016 if (!SWIG_IsOK(res1
)) {
18017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18019 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18021 if (!SWIG_IsOK(ecode2
)) {
18022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18024 arg2
= static_cast< int >(val2
);
18025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18026 if (!SWIG_IsOK(ecode3
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18029 arg3
= static_cast< int >(val3
);
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetRange(arg2
,arg3
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_Py_Void();
18043 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18044 PyObject
*resultobj
= 0;
18045 wxSlider
*arg1
= (wxSlider
*) 0 ;
18049 PyObject
*swig_obj
[1] ;
18051 if (!args
) SWIG_fail
;
18052 swig_obj
[0] = args
;
18053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18054 if (!SWIG_IsOK(res1
)) {
18055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18057 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_From_int(static_cast< int >(result
));
18071 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18072 PyObject
*resultobj
= 0;
18073 wxSlider
*arg1
= (wxSlider
*) 0 ;
18077 PyObject
*swig_obj
[1] ;
18079 if (!args
) SWIG_fail
;
18080 swig_obj
[0] = args
;
18081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18082 if (!SWIG_IsOK(res1
)) {
18083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18085 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_From_int(static_cast< int >(result
));
18099 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
= 0;
18101 wxSlider
*arg1
= (wxSlider
*) 0 ;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj1
= 0 ;
18109 char * kwnames
[] = {
18110 (char *) "self",(char *) "minValue", NULL
18113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18115 if (!SWIG_IsOK(res1
)) {
18116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18118 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18120 if (!SWIG_IsOK(ecode2
)) {
18121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18123 arg2
= static_cast< int >(val2
);
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 (arg1
)->SetMin(arg2
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_Py_Void();
18137 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
= 0;
18139 wxSlider
*arg1
= (wxSlider
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 char * kwnames
[] = {
18148 (char *) "self",(char *) "maxValue", NULL
18151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18153 if (!SWIG_IsOK(res1
)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18156 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18158 if (!SWIG_IsOK(ecode2
)) {
18159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18161 arg2
= static_cast< int >(val2
);
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 (arg1
)->SetMax(arg2
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_Py_Void();
18175 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
= 0;
18177 wxSlider
*arg1
= (wxSlider
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 char * kwnames
[] = {
18186 (char *) "self",(char *) "lineSize", NULL
18189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18191 if (!SWIG_IsOK(res1
)) {
18192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18194 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18196 if (!SWIG_IsOK(ecode2
)) {
18197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18199 arg2
= static_cast< int >(val2
);
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 (arg1
)->SetLineSize(arg2
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_Py_Void();
18213 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
= 0;
18215 wxSlider
*arg1
= (wxSlider
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char * kwnames
[] = {
18224 (char *) "self",(char *) "pageSize", NULL
18227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18229 if (!SWIG_IsOK(res1
)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18232 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18234 if (!SWIG_IsOK(ecode2
)) {
18235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18237 arg2
= static_cast< int >(val2
);
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->SetPageSize(arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= SWIG_Py_Void();
18251 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18252 PyObject
*resultobj
= 0;
18253 wxSlider
*arg1
= (wxSlider
*) 0 ;
18257 PyObject
*swig_obj
[1] ;
18259 if (!args
) SWIG_fail
;
18260 swig_obj
[0] = args
;
18261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18262 if (!SWIG_IsOK(res1
)) {
18263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18265 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_From_int(static_cast< int >(result
));
18279 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18280 PyObject
*resultobj
= 0;
18281 wxSlider
*arg1
= (wxSlider
*) 0 ;
18285 PyObject
*swig_obj
[1] ;
18287 if (!args
) SWIG_fail
;
18288 swig_obj
[0] = args
;
18289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18290 if (!SWIG_IsOK(res1
)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18293 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_From_int(static_cast< int >(result
));
18307 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
= 0;
18309 wxSlider
*arg1
= (wxSlider
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 char * kwnames
[] = {
18318 (char *) "self",(char *) "lenPixels", NULL
18321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18323 if (!SWIG_IsOK(res1
)) {
18324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18326 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18328 if (!SWIG_IsOK(ecode2
)) {
18329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18331 arg2
= static_cast< int >(val2
);
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 (arg1
)->SetThumbLength(arg2
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_Py_Void();
18345 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18346 PyObject
*resultobj
= 0;
18347 wxSlider
*arg1
= (wxSlider
*) 0 ;
18351 PyObject
*swig_obj
[1] ;
18353 if (!args
) SWIG_fail
;
18354 swig_obj
[0] = args
;
18355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18356 if (!SWIG_IsOK(res1
)) {
18357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18359 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_From_int(static_cast< int >(result
));
18373 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
= 0;
18375 wxSlider
*arg1
= (wxSlider
*) 0 ;
18377 int arg3
= (int) 1 ;
18384 PyObject
* obj0
= 0 ;
18385 PyObject
* obj1
= 0 ;
18386 PyObject
* obj2
= 0 ;
18387 char * kwnames
[] = {
18388 (char *) "self",(char *) "n",(char *) "pos", NULL
18391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18393 if (!SWIG_IsOK(res1
)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18396 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18398 if (!SWIG_IsOK(ecode2
)) {
18399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18401 arg2
= static_cast< int >(val2
);
18403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18404 if (!SWIG_IsOK(ecode3
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18407 arg3
= static_cast< int >(val3
);
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 (arg1
)->SetTickFreq(arg2
,arg3
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_Py_Void();
18422 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18423 PyObject
*resultobj
= 0;
18424 wxSlider
*arg1
= (wxSlider
*) 0 ;
18428 PyObject
*swig_obj
[1] ;
18430 if (!args
) SWIG_fail
;
18431 swig_obj
[0] = args
;
18432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18436 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_From_int(static_cast< int >(result
));
18450 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18451 PyObject
*resultobj
= 0;
18452 wxSlider
*arg1
= (wxSlider
*) 0 ;
18455 PyObject
*swig_obj
[1] ;
18457 if (!args
) SWIG_fail
;
18458 swig_obj
[0] = args
;
18459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18460 if (!SWIG_IsOK(res1
)) {
18461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18463 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->ClearTicks();
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= SWIG_Py_Void();
18477 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
= 0;
18479 wxSlider
*arg1
= (wxSlider
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 char * kwnames
[] = {
18488 (char *) "self",(char *) "tickPos", NULL
18491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18493 if (!SWIG_IsOK(res1
)) {
18494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18496 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18498 if (!SWIG_IsOK(ecode2
)) {
18499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18501 arg2
= static_cast< int >(val2
);
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 (arg1
)->SetTick(arg2
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_Py_Void();
18515 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18516 PyObject
*resultobj
= 0;
18517 wxSlider
*arg1
= (wxSlider
*) 0 ;
18520 PyObject
*swig_obj
[1] ;
18522 if (!args
) SWIG_fail
;
18523 swig_obj
[0] = args
;
18524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18525 if (!SWIG_IsOK(res1
)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18528 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->ClearSel();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_Py_Void();
18542 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18543 PyObject
*resultobj
= 0;
18544 wxSlider
*arg1
= (wxSlider
*) 0 ;
18548 PyObject
*swig_obj
[1] ;
18550 if (!args
) SWIG_fail
;
18551 swig_obj
[0] = args
;
18552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18553 if (!SWIG_IsOK(res1
)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18556 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_From_int(static_cast< int >(result
));
18570 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18571 PyObject
*resultobj
= 0;
18572 wxSlider
*arg1
= (wxSlider
*) 0 ;
18576 PyObject
*swig_obj
[1] ;
18578 if (!args
) SWIG_fail
;
18579 swig_obj
[0] = args
;
18580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18581 if (!SWIG_IsOK(res1
)) {
18582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18584 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_From_int(static_cast< int >(result
));
18598 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
= 0;
18600 wxSlider
*arg1
= (wxSlider
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 PyObject
* obj1
= 0 ;
18611 PyObject
* obj2
= 0 ;
18612 char * kwnames
[] = {
18613 (char *) "self",(char *) "min",(char *) "max", NULL
18616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18618 if (!SWIG_IsOK(res1
)) {
18619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18621 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18623 if (!SWIG_IsOK(ecode2
)) {
18624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18626 arg2
= static_cast< int >(val2
);
18627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18628 if (!SWIG_IsOK(ecode3
)) {
18629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18631 arg3
= static_cast< int >(val3
);
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->SetSelection(arg2
,arg3
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_Py_Void();
18645 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
= 0;
18647 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18648 SwigValueWrapper
<wxVisualAttributes
> result
;
18651 PyObject
* obj0
= 0 ;
18652 char * kwnames
[] = {
18653 (char *) "variant", NULL
18656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18658 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18659 if (!SWIG_IsOK(ecode1
)) {
18660 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18662 arg1
= static_cast< wxWindowVariant
>(val1
);
18665 if (!wxPyCheckForApp()) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18678 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18681 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18682 return SWIG_Py_Void();
18685 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18686 return SWIG_Python_InitShadowInstance(args
);
18689 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18690 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18695 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18696 PyObject
*pyobj
= 0;
18700 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18702 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18709 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
= 0;
18711 wxWindow
*arg1
= (wxWindow
*) 0 ;
18712 int arg2
= (int) -1 ;
18713 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18714 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18719 long arg6
= (long) 0 ;
18720 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18721 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18722 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18723 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18724 wxToggleButton
*result
= 0 ;
18729 bool temp3
= false ;
18736 bool temp8
= false ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 PyObject
* obj2
= 0 ;
18740 PyObject
* obj3
= 0 ;
18741 PyObject
* obj4
= 0 ;
18742 PyObject
* obj5
= 0 ;
18743 PyObject
* obj6
= 0 ;
18744 PyObject
* obj7
= 0 ;
18745 char * kwnames
[] = {
18746 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18751 if (!SWIG_IsOK(res1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18754 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18757 if (!SWIG_IsOK(ecode2
)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18760 arg2
= static_cast< int >(val2
);
18764 arg3
= wxString_in_helper(obj2
);
18765 if (arg3
== NULL
) SWIG_fail
;
18772 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18778 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18782 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18783 if (!SWIG_IsOK(ecode6
)) {
18784 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18786 arg6
= static_cast< long >(val6
);
18789 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18790 if (!SWIG_IsOK(res7
)) {
18791 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18796 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18800 arg8
= wxString_in_helper(obj7
);
18801 if (arg8
== NULL
) SWIG_fail
;
18806 if (!wxPyCheckForApp()) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18835 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18836 PyObject
*resultobj
= 0;
18837 wxToggleButton
*result
= 0 ;
18839 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18841 if (!wxPyCheckForApp()) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 result
= (wxToggleButton
*)new wxToggleButton();
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18854 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
= 0;
18856 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18857 wxWindow
*arg2
= (wxWindow
*) 0 ;
18858 int arg3
= (int) -1 ;
18859 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18860 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18861 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18862 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18863 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18864 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18865 long arg7
= (long) 0 ;
18866 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18867 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18868 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18869 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18877 bool temp4
= false ;
18884 bool temp9
= false ;
18885 PyObject
* obj0
= 0 ;
18886 PyObject
* obj1
= 0 ;
18887 PyObject
* obj2
= 0 ;
18888 PyObject
* obj3
= 0 ;
18889 PyObject
* obj4
= 0 ;
18890 PyObject
* obj5
= 0 ;
18891 PyObject
* obj6
= 0 ;
18892 PyObject
* obj7
= 0 ;
18893 PyObject
* obj8
= 0 ;
18894 char * kwnames
[] = {
18895 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18900 if (!SWIG_IsOK(res1
)) {
18901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18903 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18905 if (!SWIG_IsOK(res2
)) {
18906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18911 if (!SWIG_IsOK(ecode3
)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18914 arg3
= static_cast< int >(val3
);
18918 arg4
= wxString_in_helper(obj3
);
18919 if (arg4
== NULL
) SWIG_fail
;
18926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18936 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18937 if (!SWIG_IsOK(ecode7
)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18940 arg7
= static_cast< long >(val7
);
18943 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18944 if (!SWIG_IsOK(res8
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18950 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18954 arg9
= wxString_in_helper(obj8
);
18955 if (arg9
== NULL
) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18990 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
= 0;
18992 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char * kwnames
[] = {
19001 (char *) "self",(char *) "value", NULL
19004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19006 if (!SWIG_IsOK(res1
)) {
19007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19009 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19010 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19011 if (!SWIG_IsOK(ecode2
)) {
19012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19014 arg2
= static_cast< bool >(val2
);
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 (arg1
)->SetValue(arg2
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_Py_Void();
19028 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19029 PyObject
*resultobj
= 0;
19030 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19034 PyObject
*swig_obj
[1] ;
19036 if (!args
) SWIG_fail
;
19037 swig_obj
[0] = args
;
19038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19039 if (!SWIG_IsOK(res1
)) {
19040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19042 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19058 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
= 0;
19060 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19061 SwigValueWrapper
<wxVisualAttributes
> result
;
19064 PyObject
* obj0
= 0 ;
19065 char * kwnames
[] = {
19066 (char *) "variant", NULL
19069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19071 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19072 if (!SWIG_IsOK(ecode1
)) {
19073 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19075 arg1
= static_cast< wxWindowVariant
>(val1
);
19078 if (!wxPyCheckForApp()) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19091 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19094 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19095 return SWIG_Py_Void();
19098 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19099 return SWIG_Python_InitShadowInstance(args
);
19102 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19103 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19108 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19109 PyObject
*pyobj
= 0;
19113 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19115 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19122 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19123 PyObject
*resultobj
= 0;
19124 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19128 PyObject
*swig_obj
[1] ;
19130 if (!args
) SWIG_fail
;
19131 swig_obj
[0] = args
;
19132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19133 if (!SWIG_IsOK(res1
)) {
19134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19136 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19150 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
= 0;
19152 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19154 wxWindow
*result
= 0 ;
19159 PyObject
* obj0
= 0 ;
19160 PyObject
* obj1
= 0 ;
19161 char * kwnames
[] = {
19162 (char *) "self",(char *) "n", NULL
19165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19167 if (!SWIG_IsOK(res1
)) {
19168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19170 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19171 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19172 if (!SWIG_IsOK(ecode2
)) {
19173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19175 arg2
= static_cast< size_t >(val2
);
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= wxPyMake_wxObject(result
, 0);
19191 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19192 PyObject
*resultobj
= 0;
19193 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19194 wxWindow
*result
= 0 ;
19197 PyObject
*swig_obj
[1] ;
19199 if (!args
) SWIG_fail
;
19200 swig_obj
[0] = args
;
19201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19205 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= wxPyMake_wxObject(result
, 0);
19221 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19222 PyObject
*resultobj
= 0;
19223 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19227 PyObject
*swig_obj
[1] ;
19229 if (!args
) SWIG_fail
;
19230 swig_obj
[0] = args
;
19231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19232 if (!SWIG_IsOK(res1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19235 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= SWIG_From_int(static_cast< int >(result
));
19249 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
= 0;
19251 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19253 wxString
*arg3
= 0 ;
19259 bool temp3
= false ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 PyObject
* obj2
= 0 ;
19263 char * kwnames
[] = {
19264 (char *) "self",(char *) "n",(char *) "strText", NULL
19267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19269 if (!SWIG_IsOK(res1
)) {
19270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19272 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19273 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19274 if (!SWIG_IsOK(ecode2
)) {
19275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19277 arg2
= static_cast< size_t >(val2
);
19279 arg3
= wxString_in_helper(obj2
);
19280 if (arg3
== NULL
) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19306 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
= 0;
19308 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char * kwnames
[] = {
19318 (char *) "self",(char *) "n", NULL
19321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19323 if (!SWIG_IsOK(res1
)) {
19324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19326 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19327 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19328 if (!SWIG_IsOK(ecode2
)) {
19329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19331 arg2
= static_cast< size_t >(val2
);
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19351 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
= 0;
19353 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19354 wxImageList
*arg2
= (wxImageList
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 char * kwnames
[] = {
19362 (char *) "self",(char *) "imageList", NULL
19365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19367 if (!SWIG_IsOK(res1
)) {
19368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19370 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19371 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19372 if (!SWIG_IsOK(res2
)) {
19373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19375 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 (arg1
)->SetImageList(arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= SWIG_Py_Void();
19389 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
= 0;
19391 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19392 wxImageList
*arg2
= (wxImageList
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 char * kwnames
[] = {
19399 (char *) "self",(char *) "imageList", NULL
19402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19404 if (!SWIG_IsOK(res1
)) {
19405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19407 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19408 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19409 if (!SWIG_IsOK(res2
)) {
19410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 (arg1
)->AssignImageList(arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= SWIG_Py_Void();
19425 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19426 PyObject
*resultobj
= 0;
19427 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19428 wxImageList
*result
= 0 ;
19431 PyObject
*swig_obj
[1] ;
19433 if (!args
) SWIG_fail
;
19434 swig_obj
[0] = args
;
19435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19436 if (!SWIG_IsOK(res1
)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19439 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19455 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
= 0;
19457 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 char * kwnames
[] = {
19467 (char *) "self",(char *) "n", NULL
19470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19472 if (!SWIG_IsOK(res1
)) {
19473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19475 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19476 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19477 if (!SWIG_IsOK(ecode2
)) {
19478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19480 arg2
= static_cast< size_t >(val2
);
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= SWIG_From_int(static_cast< int >(result
));
19494 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
= 0;
19496 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 PyObject
* obj2
= 0 ;
19509 char * kwnames
[] = {
19510 (char *) "self",(char *) "n",(char *) "imageId", NULL
19513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19515 if (!SWIG_IsOK(res1
)) {
19516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19518 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19519 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19520 if (!SWIG_IsOK(ecode2
)) {
19521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19523 arg2
= static_cast< size_t >(val2
);
19524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19525 if (!SWIG_IsOK(ecode3
)) {
19526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19528 arg3
= static_cast< int >(val3
);
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19544 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
= 0;
19546 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 PyObject
* obj1
= 0 ;
19553 char * kwnames
[] = {
19554 (char *) "self",(char *) "size", NULL
19557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19559 if (!SWIG_IsOK(res1
)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19562 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19565 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_Py_Void();
19580 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
= 0;
19582 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 PyObject
* obj1
= 0 ;
19590 char * kwnames
[] = {
19591 (char *) "self",(char *) "sizePage", NULL
19594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19596 if (!SWIG_IsOK(res1
)) {
19597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19599 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19602 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19617 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19618 PyObject
*resultobj
= 0;
19619 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19620 unsigned int result
;
19623 PyObject
*swig_obj
[1] ;
19625 if (!args
) SWIG_fail
;
19626 swig_obj
[0] = args
;
19627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19628 if (!SWIG_IsOK(res1
)) {
19629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19631 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19645 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
= 0;
19647 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19648 unsigned int arg2
;
19651 unsigned int val2
;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char * kwnames
[] = {
19656 (char *) "self",(char *) "internalBorder", NULL
19659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19664 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19665 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19666 if (!SWIG_IsOK(ecode2
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19669 arg2
= static_cast< unsigned int >(val2
);
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 (arg1
)->SetInternalBorder(arg2
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_Py_Void();
19683 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19684 PyObject
*resultobj
= 0;
19685 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19689 PyObject
*swig_obj
[1] ;
19691 if (!args
) SWIG_fail
;
19692 swig_obj
[0] = args
;
19693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19694 if (!SWIG_IsOK(res1
)) {
19695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19697 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19713 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
= 0;
19715 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 char * kwnames
[] = {
19724 (char *) "self",(char *) "margin", NULL
19727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",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_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19732 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19734 if (!SWIG_IsOK(ecode2
)) {
19735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19737 arg2
= static_cast< int >(val2
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 (arg1
)->SetControlMargin(arg2
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_Py_Void();
19751 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19752 PyObject
*resultobj
= 0;
19753 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19757 PyObject
*swig_obj
[1] ;
19759 if (!args
) SWIG_fail
;
19760 swig_obj
[0] = args
;
19761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19762 if (!SWIG_IsOK(res1
)) {
19763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19765 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_From_int(static_cast< int >(result
));
19779 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
= 0;
19781 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char * kwnames
[] = {
19790 (char *) "self",(char *) "fit", NULL
19793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19795 if (!SWIG_IsOK(res1
)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19798 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19799 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19800 if (!SWIG_IsOK(ecode2
)) {
19801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19803 arg2
= static_cast< bool >(val2
);
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 (arg1
)->SetFitToCurrentPage(arg2
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= SWIG_Py_Void();
19817 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19818 PyObject
*resultobj
= 0;
19819 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19823 PyObject
*swig_obj
[1] ;
19825 if (!args
) SWIG_fail
;
19826 swig_obj
[0] = args
;
19827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19828 if (!SWIG_IsOK(res1
)) {
19829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19831 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19847 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19848 PyObject
*resultobj
= 0;
19849 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19850 wxSizer
*result
= 0 ;
19853 PyObject
*swig_obj
[1] ;
19855 if (!args
) SWIG_fail
;
19856 swig_obj
[0] = args
;
19857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19858 if (!SWIG_IsOK(res1
)) {
19859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19861 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19877 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
= 0;
19879 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char * kwnames
[] = {
19889 (char *) "self",(char *) "n", NULL
19892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19894 if (!SWIG_IsOK(res1
)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19897 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19898 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19899 if (!SWIG_IsOK(ecode2
)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19902 arg2
= static_cast< size_t >(val2
);
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= (bool)(arg1
)->DeletePage(arg2
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19918 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
= 0;
19920 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char * kwnames
[] = {
19930 (char *) "self",(char *) "n", NULL
19933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) 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_RemovePage" "', 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_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19943 arg2
= static_cast< size_t >(val2
);
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (bool)(arg1
)->RemovePage(arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19959 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19960 PyObject
*resultobj
= 0;
19961 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19965 PyObject
*swig_obj
[1] ;
19967 if (!args
) SWIG_fail
;
19968 swig_obj
[0] = args
;
19969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19970 if (!SWIG_IsOK(res1
)) {
19971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19973 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (bool)(arg1
)->DeleteAllPages();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19989 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
= 0;
19991 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19992 wxWindow
*arg2
= (wxWindow
*) 0 ;
19993 wxString
*arg3
= 0 ;
19994 bool arg4
= (bool) false ;
19995 int arg5
= (int) -1 ;
20001 bool temp3
= false ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 PyObject
* obj2
= 0 ;
20009 PyObject
* obj3
= 0 ;
20010 PyObject
* obj4
= 0 ;
20011 char * kwnames
[] = {
20012 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20020 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20022 if (!SWIG_IsOK(res2
)) {
20023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20027 arg3
= wxString_in_helper(obj2
);
20028 if (arg3
== NULL
) SWIG_fail
;
20032 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20033 if (!SWIG_IsOK(ecode4
)) {
20034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20036 arg4
= static_cast< bool >(val4
);
20039 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20040 if (!SWIG_IsOK(ecode5
)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20043 arg5
= static_cast< int >(val5
);
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20068 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= 0;
20070 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20072 wxWindow
*arg3
= (wxWindow
*) 0 ;
20073 wxString
*arg4
= 0 ;
20074 bool arg5
= (bool) false ;
20075 int arg6
= (int) -1 ;
20083 bool temp4
= false ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20090 PyObject
* obj2
= 0 ;
20091 PyObject
* obj3
= 0 ;
20092 PyObject
* obj4
= 0 ;
20093 PyObject
* obj5
= 0 ;
20094 char * kwnames
[] = {
20095 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20100 if (!SWIG_IsOK(res1
)) {
20101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20103 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20104 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20105 if (!SWIG_IsOK(ecode2
)) {
20106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20108 arg2
= static_cast< size_t >(val2
);
20109 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20110 if (!SWIG_IsOK(res3
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20113 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20115 arg4
= wxString_in_helper(obj3
);
20116 if (arg4
== NULL
) SWIG_fail
;
20120 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20121 if (!SWIG_IsOK(ecode5
)) {
20122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20124 arg5
= static_cast< bool >(val5
);
20127 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20128 if (!SWIG_IsOK(ecode6
)) {
20129 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20131 arg6
= static_cast< int >(val6
);
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20156 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
= 0;
20158 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 char * kwnames
[] = {
20168 (char *) "self",(char *) "n", NULL
20171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20173 if (!SWIG_IsOK(res1
)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20176 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20177 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20178 if (!SWIG_IsOK(ecode2
)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20181 arg2
= static_cast< size_t >(val2
);
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 result
= (int)(arg1
)->SetSelection(arg2
);
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= SWIG_From_int(static_cast< int >(result
));
20195 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
= 0;
20197 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 PyObject
* obj1
= 0 ;
20206 char * kwnames
[] = {
20207 (char *) "self",(char *) "n", NULL
20210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20212 if (!SWIG_IsOK(res1
)) {
20213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20215 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20216 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20217 if (!SWIG_IsOK(ecode2
)) {
20218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20220 arg2
= static_cast< size_t >(val2
);
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 result
= (int)(arg1
)->ChangeSelection(arg2
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_From_int(static_cast< int >(result
));
20234 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= 0;
20236 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20237 bool arg2
= (bool) true ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 char * kwnames
[] = {
20245 (char *) "self",(char *) "forward", NULL
20248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20250 if (!SWIG_IsOK(res1
)) {
20251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20253 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20255 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20256 if (!SWIG_IsOK(ecode2
)) {
20257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20259 arg2
= static_cast< bool >(val2
);
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 (arg1
)->AdvanceSelection(arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_Py_Void();
20274 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
= 0;
20276 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20277 wxPoint
*arg2
= 0 ;
20278 long *arg3
= (long *) 0 ;
20284 int res3
= SWIG_TMPOBJ
;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 char * kwnames
[] = {
20288 (char *) "self",(char *) "pt", NULL
20292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20294 if (!SWIG_IsOK(res1
)) {
20295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20297 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_From_int(static_cast< int >(result
));
20309 if (SWIG_IsTmpObj(res3
)) {
20310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20312 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20321 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20324 SwigValueWrapper
<wxVisualAttributes
> result
;
20327 PyObject
* obj0
= 0 ;
20328 char * kwnames
[] = {
20329 (char *) "variant", NULL
20332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20334 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20335 if (!SWIG_IsOK(ecode1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20338 arg1
= static_cast< wxWindowVariant
>(val1
);
20341 if (!wxPyCheckForApp()) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20354 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20357 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20358 return SWIG_Py_Void();
20361 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= 0;
20363 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20364 int arg2
= (int) 0 ;
20365 int arg3
= (int) -1 ;
20366 int arg4
= (int) -1 ;
20367 wxBookCtrlBaseEvent
*result
= 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 PyObject
* obj2
= 0 ;
20379 PyObject
* obj3
= 0 ;
20380 char * kwnames
[] = {
20381 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20386 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20387 if (!SWIG_IsOK(ecode1
)) {
20388 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20390 arg1
= static_cast< wxEventType
>(val1
);
20393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20394 if (!SWIG_IsOK(ecode2
)) {
20395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20397 arg2
= static_cast< int >(val2
);
20400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20401 if (!SWIG_IsOK(ecode3
)) {
20402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20404 arg3
= static_cast< int >(val3
);
20407 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20408 if (!SWIG_IsOK(ecode4
)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20411 arg4
= static_cast< int >(val4
);
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20426 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20427 PyObject
*resultobj
= 0;
20428 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20432 PyObject
*swig_obj
[1] ;
20434 if (!args
) SWIG_fail
;
20435 swig_obj
[0] = args
;
20436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20437 if (!SWIG_IsOK(res1
)) {
20438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20440 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= SWIG_From_int(static_cast< int >(result
));
20454 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
= 0;
20456 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char * kwnames
[] = {
20465 (char *) "self",(char *) "nSel", NULL
20468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20470 if (!SWIG_IsOK(res1
)) {
20471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20473 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20475 if (!SWIG_IsOK(ecode2
)) {
20476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20478 arg2
= static_cast< int >(val2
);
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 (arg1
)->SetSelection(arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_Py_Void();
20492 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20493 PyObject
*resultobj
= 0;
20494 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20498 PyObject
*swig_obj
[1] ;
20500 if (!args
) SWIG_fail
;
20501 swig_obj
[0] = args
;
20502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20503 if (!SWIG_IsOK(res1
)) {
20504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20506 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_From_int(static_cast< int >(result
));
20520 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
= 0;
20522 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 char * kwnames
[] = {
20531 (char *) "self",(char *) "nOldSel", NULL
20534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20536 if (!SWIG_IsOK(res1
)) {
20537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20539 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20541 if (!SWIG_IsOK(ecode2
)) {
20542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20544 arg2
= static_cast< int >(val2
);
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 (arg1
)->SetOldSelection(arg2
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= SWIG_Py_Void();
20558 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20561 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20562 return SWIG_Py_Void();
20565 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20566 return SWIG_Python_InitShadowInstance(args
);
20569 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
= 0;
20571 wxWindow
*arg1
= (wxWindow
*) 0 ;
20572 int arg2
= (int) -1 ;
20573 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20574 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20575 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20576 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20577 long arg5
= (long) 0 ;
20578 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20579 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20580 wxNotebook
*result
= 0 ;
20589 bool temp6
= false ;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 PyObject
* obj2
= 0 ;
20593 PyObject
* obj3
= 0 ;
20594 PyObject
* obj4
= 0 ;
20595 PyObject
* obj5
= 0 ;
20596 char * kwnames
[] = {
20597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20602 if (!SWIG_IsOK(res1
)) {
20603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20608 if (!SWIG_IsOK(ecode2
)) {
20609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20611 arg2
= static_cast< int >(val2
);
20616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20626 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20627 if (!SWIG_IsOK(ecode5
)) {
20628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20630 arg5
= static_cast< long >(val5
);
20634 arg6
= wxString_in_helper(obj5
);
20635 if (arg6
== NULL
) SWIG_fail
;
20640 if (!wxPyCheckForApp()) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20661 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20662 PyObject
*resultobj
= 0;
20663 wxNotebook
*result
= 0 ;
20665 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20667 if (!wxPyCheckForApp()) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (wxNotebook
*)new wxNotebook();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20680 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
= 0;
20682 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20683 wxWindow
*arg2
= (wxWindow
*) 0 ;
20684 int arg3
= (int) -1 ;
20685 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20686 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20687 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20688 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20689 long arg6
= (long) 0 ;
20690 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20691 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20703 bool temp7
= false ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 PyObject
* obj2
= 0 ;
20707 PyObject
* obj3
= 0 ;
20708 PyObject
* obj4
= 0 ;
20709 PyObject
* obj5
= 0 ;
20710 PyObject
* obj6
= 0 ;
20711 char * kwnames
[] = {
20712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20717 if (!SWIG_IsOK(res1
)) {
20718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20720 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20722 if (!SWIG_IsOK(res2
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20725 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20728 if (!SWIG_IsOK(ecode3
)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20731 arg3
= static_cast< int >(val3
);
20736 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20742 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20746 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20747 if (!SWIG_IsOK(ecode6
)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20750 arg6
= static_cast< long >(val6
);
20754 arg7
= wxString_in_helper(obj6
);
20755 if (arg7
== NULL
) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20782 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20783 PyObject
*resultobj
= 0;
20784 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20788 PyObject
*swig_obj
[1] ;
20790 if (!args
) SWIG_fail
;
20791 swig_obj
[0] = args
;
20792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20793 if (!SWIG_IsOK(res1
)) {
20794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20796 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_From_int(static_cast< int >(result
));
20810 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= 0;
20812 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 char * kwnames
[] = {
20820 (char *) "self",(char *) "padding", NULL
20823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20825 if (!SWIG_IsOK(res1
)) {
20826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20828 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20831 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_Py_Void();
20846 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
= 0;
20848 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20853 PyObject
* obj0
= 0 ;
20854 PyObject
* obj1
= 0 ;
20855 char * kwnames
[] = {
20856 (char *) "self",(char *) "sz", NULL
20859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20861 if (!SWIG_IsOK(res1
)) {
20862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20864 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20867 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= SWIG_Py_Void();
20882 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 PyObject
*resultobj
= 0;
20884 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20888 PyObject
*swig_obj
[1] ;
20890 if (!args
) SWIG_fail
;
20891 swig_obj
[0] = args
;
20892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20893 if (!SWIG_IsOK(res1
)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20896 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20910 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
= 0;
20912 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20913 SwigValueWrapper
<wxVisualAttributes
> result
;
20916 PyObject
* obj0
= 0 ;
20917 char * kwnames
[] = {
20918 (char *) "variant", NULL
20921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20924 if (!SWIG_IsOK(ecode1
)) {
20925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20927 arg1
= static_cast< wxWindowVariant
>(val1
);
20930 if (!wxPyCheckForApp()) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20943 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
= 0;
20945 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20954 char * kwnames
[] = {
20955 (char *) "self",(char *) "nPage", NULL
20958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20960 if (!SWIG_IsOK(res1
)) {
20961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20963 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20965 if (!SWIG_IsOK(ecode2
)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
20968 arg2
= static_cast< int >(val2
);
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20984 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
= 0;
20986 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20988 int arg3
= (int) -1 ;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 PyObject
* obj2
= 0 ;
20998 char * kwnames
[] = {
20999 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21004 if (!SWIG_IsOK(res1
)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21007 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21009 if (!SWIG_IsOK(ecode2
)) {
21010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21012 arg2
= static_cast< int >(val2
);
21014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21015 if (!SWIG_IsOK(ecode3
)) {
21016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21018 arg3
= static_cast< int >(val3
);
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= SWIG_Py_Void();
21033 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21036 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21037 return SWIG_Py_Void();
21040 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21041 return SWIG_Python_InitShadowInstance(args
);
21044 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
= 0;
21046 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21047 int arg2
= (int) 0 ;
21048 int arg3
= (int) -1 ;
21049 int arg4
= (int) -1 ;
21050 wxNotebookEvent
*result
= 0 ;
21059 PyObject
* obj0
= 0 ;
21060 PyObject
* obj1
= 0 ;
21061 PyObject
* obj2
= 0 ;
21062 PyObject
* obj3
= 0 ;
21063 char * kwnames
[] = {
21064 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21070 if (!SWIG_IsOK(ecode1
)) {
21071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21073 arg1
= static_cast< wxEventType
>(val1
);
21076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21077 if (!SWIG_IsOK(ecode2
)) {
21078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21080 arg2
= static_cast< int >(val2
);
21083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21084 if (!SWIG_IsOK(ecode3
)) {
21085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21087 arg3
= static_cast< int >(val3
);
21090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21091 if (!SWIG_IsOK(ecode4
)) {
21092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21094 arg4
= static_cast< int >(val4
);
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21109 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21112 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21113 return SWIG_Py_Void();
21116 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21117 return SWIG_Python_InitShadowInstance(args
);
21120 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
= 0;
21122 wxWindow
*arg1
= (wxWindow
*) 0 ;
21123 int arg2
= (int) -1 ;
21124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21128 long arg5
= (long) 0 ;
21129 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21130 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21131 wxListbook
*result
= 0 ;
21140 bool temp6
= false ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 PyObject
* obj2
= 0 ;
21144 PyObject
* obj3
= 0 ;
21145 PyObject
* obj4
= 0 ;
21146 PyObject
* obj5
= 0 ;
21147 char * kwnames
[] = {
21148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21153 if (!SWIG_IsOK(res1
)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21159 if (!SWIG_IsOK(ecode2
)) {
21160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21162 arg2
= static_cast< int >(val2
);
21167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21177 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21178 if (!SWIG_IsOK(ecode5
)) {
21179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21181 arg5
= static_cast< long >(val5
);
21185 arg6
= wxString_in_helper(obj5
);
21186 if (arg6
== NULL
) SWIG_fail
;
21191 if (!wxPyCheckForApp()) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21212 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21213 PyObject
*resultobj
= 0;
21214 wxListbook
*result
= 0 ;
21216 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21218 if (!wxPyCheckForApp()) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (wxListbook
*)new wxListbook();
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21231 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
= 0;
21233 wxListbook
*arg1
= (wxListbook
*) 0 ;
21234 wxWindow
*arg2
= (wxWindow
*) 0 ;
21235 int arg3
= (int) -1 ;
21236 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21237 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21238 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21239 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21240 long arg6
= (long) 0 ;
21241 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21254 bool temp7
= false ;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 PyObject
* obj2
= 0 ;
21258 PyObject
* obj3
= 0 ;
21259 PyObject
* obj4
= 0 ;
21260 PyObject
* obj5
= 0 ;
21261 PyObject
* obj6
= 0 ;
21262 char * kwnames
[] = {
21263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21268 if (!SWIG_IsOK(res1
)) {
21269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21271 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21273 if (!SWIG_IsOK(res2
)) {
21274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21276 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21279 if (!SWIG_IsOK(ecode3
)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21282 arg3
= static_cast< int >(val3
);
21287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21297 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21298 if (!SWIG_IsOK(ecode6
)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21301 arg6
= static_cast< long >(val6
);
21305 arg7
= wxString_in_helper(obj6
);
21306 if (arg7
== NULL
) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21333 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21334 PyObject
*resultobj
= 0;
21335 wxListbook
*arg1
= (wxListbook
*) 0 ;
21336 wxListView
*result
= 0 ;
21339 PyObject
*swig_obj
[1] ;
21341 if (!args
) SWIG_fail
;
21342 swig_obj
[0] = args
;
21343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21344 if (!SWIG_IsOK(res1
)) {
21345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21347 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (wxListView
*)(arg1
)->GetListView();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21361 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21364 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21365 return SWIG_Py_Void();
21368 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21369 return SWIG_Python_InitShadowInstance(args
);
21372 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
= 0;
21374 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21375 int arg2
= (int) 0 ;
21376 int arg3
= (int) -1 ;
21377 int arg4
= (int) -1 ;
21378 wxListbookEvent
*result
= 0 ;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 PyObject
* obj2
= 0 ;
21390 PyObject
* obj3
= 0 ;
21391 char * kwnames
[] = {
21392 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21398 if (!SWIG_IsOK(ecode1
)) {
21399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21401 arg1
= static_cast< wxEventType
>(val1
);
21404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21405 if (!SWIG_IsOK(ecode2
)) {
21406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21408 arg2
= static_cast< int >(val2
);
21411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21412 if (!SWIG_IsOK(ecode3
)) {
21413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21415 arg3
= static_cast< int >(val3
);
21418 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21419 if (!SWIG_IsOK(ecode4
)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21422 arg4
= static_cast< int >(val4
);
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21437 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21440 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21441 return SWIG_Py_Void();
21444 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21445 return SWIG_Python_InitShadowInstance(args
);
21448 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
= 0;
21450 wxWindow
*arg1
= (wxWindow
*) 0 ;
21452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21456 long arg5
= (long) 0 ;
21457 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21458 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21459 wxChoicebook
*result
= 0 ;
21468 bool temp6
= false ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 PyObject
* obj2
= 0 ;
21472 PyObject
* obj3
= 0 ;
21473 PyObject
* obj4
= 0 ;
21474 PyObject
* obj5
= 0 ;
21475 char * kwnames
[] = {
21476 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21481 if (!SWIG_IsOK(res1
)) {
21482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21484 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21486 if (!SWIG_IsOK(ecode2
)) {
21487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21489 arg2
= static_cast< int >(val2
);
21493 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21499 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21503 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21504 if (!SWIG_IsOK(ecode5
)) {
21505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21507 arg5
= static_cast< long >(val5
);
21511 arg6
= wxString_in_helper(obj5
);
21512 if (arg6
== NULL
) SWIG_fail
;
21517 if (!wxPyCheckForApp()) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21538 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21539 PyObject
*resultobj
= 0;
21540 wxChoicebook
*result
= 0 ;
21542 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21544 if (!wxPyCheckForApp()) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (wxChoicebook
*)new wxChoicebook();
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21557 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
= 0;
21559 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21560 wxWindow
*arg2
= (wxWindow
*) 0 ;
21562 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21563 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21564 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21565 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21566 long arg6
= (long) 0 ;
21567 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21568 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21580 bool temp7
= false ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 PyObject
* obj3
= 0 ;
21585 PyObject
* obj4
= 0 ;
21586 PyObject
* obj5
= 0 ;
21587 PyObject
* obj6
= 0 ;
21588 char * kwnames
[] = {
21589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21594 if (!SWIG_IsOK(res1
)) {
21595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21597 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21598 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21599 if (!SWIG_IsOK(res2
)) {
21600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21602 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21604 if (!SWIG_IsOK(ecode3
)) {
21605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21607 arg3
= static_cast< int >(val3
);
21611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21621 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21622 if (!SWIG_IsOK(ecode6
)) {
21623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21625 arg6
= static_cast< long >(val6
);
21629 arg7
= wxString_in_helper(obj6
);
21630 if (arg7
== NULL
) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21657 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21658 PyObject
*resultobj
= 0;
21659 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21660 wxChoice
*result
= 0 ;
21663 PyObject
*swig_obj
[1] ;
21665 if (!args
) SWIG_fail
;
21666 swig_obj
[0] = args
;
21667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21668 if (!SWIG_IsOK(res1
)) {
21669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21671 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21685 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21688 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21689 return SWIG_Py_Void();
21692 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21693 return SWIG_Python_InitShadowInstance(args
);
21696 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
= 0;
21698 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21699 int arg2
= (int) 0 ;
21700 int arg3
= (int) -1 ;
21701 int arg4
= (int) -1 ;
21702 wxChoicebookEvent
*result
= 0 ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 PyObject
* obj2
= 0 ;
21714 PyObject
* obj3
= 0 ;
21715 char * kwnames
[] = {
21716 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21722 if (!SWIG_IsOK(ecode1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21725 arg1
= static_cast< wxEventType
>(val1
);
21728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21729 if (!SWIG_IsOK(ecode2
)) {
21730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21732 arg2
= static_cast< int >(val2
);
21735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21736 if (!SWIG_IsOK(ecode3
)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21739 arg3
= static_cast< int >(val3
);
21742 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21743 if (!SWIG_IsOK(ecode4
)) {
21744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21746 arg4
= static_cast< int >(val4
);
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21761 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21764 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21765 return SWIG_Py_Void();
21768 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21769 return SWIG_Python_InitShadowInstance(args
);
21772 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
= 0;
21774 wxWindow
*arg1
= (wxWindow
*) 0 ;
21776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21780 long arg5
= (long) wxBK_DEFAULT
;
21781 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21782 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21783 wxTreebook
*result
= 0 ;
21792 bool temp6
= false ;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 PyObject
* obj2
= 0 ;
21796 PyObject
* obj3
= 0 ;
21797 PyObject
* obj4
= 0 ;
21798 PyObject
* obj5
= 0 ;
21799 char * kwnames
[] = {
21800 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21805 if (!SWIG_IsOK(res1
)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21810 if (!SWIG_IsOK(ecode2
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21813 arg2
= static_cast< int >(val2
);
21817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21827 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21828 if (!SWIG_IsOK(ecode5
)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21831 arg5
= static_cast< long >(val5
);
21835 arg6
= wxString_in_helper(obj5
);
21836 if (arg6
== NULL
) SWIG_fail
;
21841 if (!wxPyCheckForApp()) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21862 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21863 PyObject
*resultobj
= 0;
21864 wxTreebook
*result
= 0 ;
21866 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21868 if (!wxPyCheckForApp()) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= (wxTreebook
*)new wxTreebook();
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21881 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
= 0;
21883 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21884 wxWindow
*arg2
= (wxWindow
*) 0 ;
21886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21890 long arg6
= (long) wxBK_DEFAULT
;
21891 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21892 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21904 bool temp7
= false ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 PyObject
* obj2
= 0 ;
21908 PyObject
* obj3
= 0 ;
21909 PyObject
* obj4
= 0 ;
21910 PyObject
* obj5
= 0 ;
21911 PyObject
* obj6
= 0 ;
21912 char * kwnames
[] = {
21913 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21918 if (!SWIG_IsOK(res1
)) {
21919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21921 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21923 if (!SWIG_IsOK(res2
)) {
21924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21926 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21928 if (!SWIG_IsOK(ecode3
)) {
21929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21931 arg3
= static_cast< int >(val3
);
21935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21945 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21946 if (!SWIG_IsOK(ecode6
)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21949 arg6
= static_cast< long >(val6
);
21953 arg7
= wxString_in_helper(obj6
);
21954 if (arg7
== NULL
) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21981 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
= 0;
21983 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21985 wxWindow
*arg3
= (wxWindow
*) 0 ;
21986 wxString
*arg4
= 0 ;
21987 bool arg5
= (bool) false ;
21988 int arg6
= (int) wxNOT_FOUND
;
21996 bool temp4
= false ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 PyObject
* obj2
= 0 ;
22004 PyObject
* obj3
= 0 ;
22005 PyObject
* obj4
= 0 ;
22006 PyObject
* obj5
= 0 ;
22007 char * kwnames
[] = {
22008 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22013 if (!SWIG_IsOK(res1
)) {
22014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22016 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22017 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22018 if (!SWIG_IsOK(ecode2
)) {
22019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22021 arg2
= static_cast< size_t >(val2
);
22022 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22023 if (!SWIG_IsOK(res3
)) {
22024 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22026 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22028 arg4
= wxString_in_helper(obj3
);
22029 if (arg4
== NULL
) SWIG_fail
;
22033 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22034 if (!SWIG_IsOK(ecode5
)) {
22035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22037 arg5
= static_cast< bool >(val5
);
22040 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22041 if (!SWIG_IsOK(ecode6
)) {
22042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22044 arg6
= static_cast< int >(val6
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
= 0;
22071 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22072 wxWindow
*arg2
= (wxWindow
*) 0 ;
22073 wxString
*arg3
= 0 ;
22074 bool arg4
= (bool) false ;
22075 int arg5
= (int) wxNOT_FOUND
;
22081 bool temp3
= false ;
22086 PyObject
* obj0
= 0 ;
22087 PyObject
* obj1
= 0 ;
22088 PyObject
* obj2
= 0 ;
22089 PyObject
* obj3
= 0 ;
22090 PyObject
* obj4
= 0 ;
22091 char * kwnames
[] = {
22092 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22097 if (!SWIG_IsOK(res1
)) {
22098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22100 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22102 if (!SWIG_IsOK(res2
)) {
22103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22105 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22107 arg3
= wxString_in_helper(obj2
);
22108 if (arg3
== NULL
) SWIG_fail
;
22112 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22113 if (!SWIG_IsOK(ecode4
)) {
22114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22116 arg4
= static_cast< bool >(val4
);
22119 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22120 if (!SWIG_IsOK(ecode5
)) {
22121 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22123 arg5
= static_cast< int >(val5
);
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22148 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
= 0;
22150 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22157 PyObject
* obj0
= 0 ;
22158 PyObject
* obj1
= 0 ;
22159 char * kwnames
[] = {
22160 (char *) "self",(char *) "pos", NULL
22163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22165 if (!SWIG_IsOK(res1
)) {
22166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22168 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22169 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22170 if (!SWIG_IsOK(ecode2
)) {
22171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22173 arg2
= static_cast< size_t >(val2
);
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22189 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
= 0;
22191 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22193 bool arg3
= (bool) true ;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 PyObject
* obj2
= 0 ;
22204 char * kwnames
[] = {
22205 (char *) "self",(char *) "pos",(char *) "expand", NULL
22208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22213 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22214 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22215 if (!SWIG_IsOK(ecode2
)) {
22216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22218 arg2
= static_cast< size_t >(val2
);
22220 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22221 if (!SWIG_IsOK(ecode3
)) {
22222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22224 arg3
= static_cast< bool >(val3
);
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22241 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
= 0;
22243 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22252 char * kwnames
[] = {
22253 (char *) "self",(char *) "pos", NULL
22256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22258 if (!SWIG_IsOK(res1
)) {
22259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22261 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22262 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22263 if (!SWIG_IsOK(ecode2
)) {
22264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22266 arg2
= static_cast< size_t >(val2
);
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (bool)(arg1
)->CollapseNode(arg2
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22282 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
= 0;
22284 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char * kwnames
[] = {
22294 (char *) "self",(char *) "pos", NULL
22297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22299 if (!SWIG_IsOK(res1
)) {
22300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22302 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22303 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22304 if (!SWIG_IsOK(ecode2
)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22307 arg2
= static_cast< size_t >(val2
);
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_From_int(static_cast< int >(result
));
22321 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22322 PyObject
*resultobj
= 0;
22323 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22324 wxPyTreeCtrl
*result
= 0 ;
22327 PyObject
*swig_obj
[1] ;
22329 if (!args
) SWIG_fail
;
22330 swig_obj
[0] = args
;
22331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22332 if (!SWIG_IsOK(res1
)) {
22333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22335 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22351 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22354 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22355 return SWIG_Py_Void();
22358 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22359 return SWIG_Python_InitShadowInstance(args
);
22362 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
= 0;
22364 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22365 int arg2
= (int) 0 ;
22366 int arg3
= (int) wxNOT_FOUND
;
22367 int arg4
= (int) wxNOT_FOUND
;
22368 wxTreebookEvent
*result
= 0 ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 PyObject
* obj2
= 0 ;
22380 PyObject
* obj3
= 0 ;
22381 char * kwnames
[] = {
22382 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22388 if (!SWIG_IsOK(ecode1
)) {
22389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22391 arg1
= static_cast< wxEventType
>(val1
);
22394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22395 if (!SWIG_IsOK(ecode2
)) {
22396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22398 arg2
= static_cast< int >(val2
);
22401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22402 if (!SWIG_IsOK(ecode3
)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22405 arg3
= static_cast< int >(val3
);
22408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22409 if (!SWIG_IsOK(ecode4
)) {
22410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22412 arg4
= static_cast< int >(val4
);
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22427 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22430 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22431 return SWIG_Py_Void();
22434 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 return SWIG_Python_InitShadowInstance(args
);
22438 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
= 0;
22440 wxWindow
*arg1
= (wxWindow
*) 0 ;
22442 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22443 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22444 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22445 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22446 long arg5
= (long) wxBK_DEFAULT
;
22447 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22448 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22449 wxToolbook
*result
= 0 ;
22458 bool temp6
= false ;
22459 PyObject
* obj0
= 0 ;
22460 PyObject
* obj1
= 0 ;
22461 PyObject
* obj2
= 0 ;
22462 PyObject
* obj3
= 0 ;
22463 PyObject
* obj4
= 0 ;
22464 PyObject
* obj5
= 0 ;
22465 char * kwnames
[] = {
22466 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22471 if (!SWIG_IsOK(res1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22474 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22476 if (!SWIG_IsOK(ecode2
)) {
22477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22479 arg2
= static_cast< int >(val2
);
22483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22493 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22494 if (!SWIG_IsOK(ecode5
)) {
22495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22497 arg5
= static_cast< long >(val5
);
22501 arg6
= wxString_in_helper(obj5
);
22502 if (arg6
== NULL
) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22527 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 PyObject
*resultobj
= 0;
22529 wxToolbook
*result
= 0 ;
22531 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (wxToolbook
*)new wxToolbook();
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22545 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22546 PyObject
*resultobj
= 0;
22547 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22548 wxWindow
*arg2
= (wxWindow
*) 0 ;
22550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22554 long arg6
= (long) 0 ;
22555 wxString
const &arg7_defvalue
= wxEmptyString
;
22556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22568 bool temp7
= false ;
22569 PyObject
* obj0
= 0 ;
22570 PyObject
* obj1
= 0 ;
22571 PyObject
* obj2
= 0 ;
22572 PyObject
* obj3
= 0 ;
22573 PyObject
* obj4
= 0 ;
22574 PyObject
* obj5
= 0 ;
22575 PyObject
* obj6
= 0 ;
22576 char * kwnames
[] = {
22577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22582 if (!SWIG_IsOK(res1
)) {
22583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22585 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22587 if (!SWIG_IsOK(res2
)) {
22588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22590 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22592 if (!SWIG_IsOK(ecode3
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22595 arg3
= static_cast< int >(val3
);
22599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22609 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22610 if (!SWIG_IsOK(ecode6
)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22613 arg6
= static_cast< long >(val6
);
22617 arg7
= wxString_in_helper(obj6
);
22618 if (arg7
== NULL
) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22645 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22646 PyObject
*resultobj
= 0;
22647 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22648 wxToolBarBase
*result
= 0 ;
22651 PyObject
*swig_obj
[1] ;
22653 if (!args
) SWIG_fail
;
22654 swig_obj
[0] = args
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22659 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22675 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22676 PyObject
*resultobj
= 0;
22677 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22680 PyObject
*swig_obj
[1] ;
22682 if (!args
) SWIG_fail
;
22683 swig_obj
[0] = args
;
22684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22685 if (!SWIG_IsOK(res1
)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22688 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= SWIG_Py_Void();
22702 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22705 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22706 return SWIG_Py_Void();
22709 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22710 return SWIG_Python_InitShadowInstance(args
);
22713 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
= 0;
22715 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22716 int arg2
= (int) 0 ;
22717 int arg3
= (int) wxNOT_FOUND
;
22718 int arg4
= (int) wxNOT_FOUND
;
22719 wxToolbookEvent
*result
= 0 ;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 PyObject
* obj2
= 0 ;
22731 PyObject
* obj3
= 0 ;
22732 char * kwnames
[] = {
22733 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22738 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22739 if (!SWIG_IsOK(ecode1
)) {
22740 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22742 arg1
= static_cast< wxEventType
>(val1
);
22745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22746 if (!SWIG_IsOK(ecode2
)) {
22747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22749 arg2
= static_cast< int >(val2
);
22752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22753 if (!SWIG_IsOK(ecode3
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22756 arg3
= static_cast< int >(val3
);
22759 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22760 if (!SWIG_IsOK(ecode4
)) {
22761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22763 arg4
= static_cast< int >(val4
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22778 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22781 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22782 return SWIG_Py_Void();
22785 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22786 return SWIG_Python_InitShadowInstance(args
);
22789 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22790 PyObject
*resultobj
= 0;
22791 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22795 PyObject
*swig_obj
[1] ;
22797 if (!args
) SWIG_fail
;
22798 swig_obj
[0] = args
;
22799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22800 if (!SWIG_IsOK(res1
)) {
22801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22803 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (int)(arg1
)->GetId();
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_From_int(static_cast< int >(result
));
22817 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22818 PyObject
*resultobj
= 0;
22819 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22820 wxControl
*result
= 0 ;
22823 PyObject
*swig_obj
[1] ;
22825 if (!args
) SWIG_fail
;
22826 swig_obj
[0] = args
;
22827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22828 if (!SWIG_IsOK(res1
)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22831 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (wxControl
*)(arg1
)->GetControl();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= wxPyMake_wxObject(result
, 0);
22847 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22848 PyObject
*resultobj
= 0;
22849 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22850 wxToolBarBase
*result
= 0 ;
22853 PyObject
*swig_obj
[1] ;
22855 if (!args
) SWIG_fail
;
22856 swig_obj
[0] = args
;
22857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22861 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22877 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22878 PyObject
*resultobj
= 0;
22879 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22883 PyObject
*swig_obj
[1] ;
22885 if (!args
) SWIG_fail
;
22886 swig_obj
[0] = args
;
22887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22888 if (!SWIG_IsOK(res1
)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22891 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= (int)(arg1
)->IsButton();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_From_int(static_cast< int >(result
));
22905 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22906 PyObject
*resultobj
= 0;
22907 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22911 PyObject
*swig_obj
[1] ;
22913 if (!args
) SWIG_fail
;
22914 swig_obj
[0] = args
;
22915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22919 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= (int)(arg1
)->IsControl();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_From_int(static_cast< int >(result
));
22933 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22934 PyObject
*resultobj
= 0;
22935 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22939 PyObject
*swig_obj
[1] ;
22941 if (!args
) SWIG_fail
;
22942 swig_obj
[0] = args
;
22943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22947 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 result
= (int)(arg1
)->IsSeparator();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_From_int(static_cast< int >(result
));
22961 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22962 PyObject
*resultobj
= 0;
22963 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22967 PyObject
*swig_obj
[1] ;
22969 if (!args
) SWIG_fail
;
22970 swig_obj
[0] = args
;
22971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22972 if (!SWIG_IsOK(res1
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22975 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 result
= (int)(arg1
)->GetStyle();
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_From_int(static_cast< int >(result
));
22989 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22990 PyObject
*resultobj
= 0;
22991 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22995 PyObject
*swig_obj
[1] ;
22997 if (!args
) SWIG_fail
;
22998 swig_obj
[0] = args
;
22999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23000 if (!SWIG_IsOK(res1
)) {
23001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23003 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (wxItemKind
)(arg1
)->GetKind();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_From_int(static_cast< int >(result
));
23017 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23018 PyObject
*resultobj
= 0;
23019 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23023 PyObject
*swig_obj
[1] ;
23025 if (!args
) SWIG_fail
;
23026 swig_obj
[0] = args
;
23027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23031 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (bool)(arg1
)->IsEnabled();
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23047 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23048 PyObject
*resultobj
= 0;
23049 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23053 PyObject
*swig_obj
[1] ;
23055 if (!args
) SWIG_fail
;
23056 swig_obj
[0] = args
;
23057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23058 if (!SWIG_IsOK(res1
)) {
23059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23061 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= (bool)(arg1
)->IsToggled();
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23077 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23078 PyObject
*resultobj
= 0;
23079 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23083 PyObject
*swig_obj
[1] ;
23085 if (!args
) SWIG_fail
;
23086 swig_obj
[0] = args
;
23087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23088 if (!SWIG_IsOK(res1
)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23091 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (bool)(arg1
)->CanBeToggled();
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23107 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23108 PyObject
*resultobj
= 0;
23109 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23110 wxBitmap
*result
= 0 ;
23113 PyObject
*swig_obj
[1] ;
23115 if (!args
) SWIG_fail
;
23116 swig_obj
[0] = args
;
23117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23118 if (!SWIG_IsOK(res1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23121 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23126 result
= (wxBitmap
*) &_result_ref
;
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23132 wxBitmap
* resultptr
= new wxBitmap(*result
);
23133 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23141 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23142 PyObject
*resultobj
= 0;
23143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23144 wxBitmap
*result
= 0 ;
23147 PyObject
*swig_obj
[1] ;
23149 if (!args
) SWIG_fail
;
23150 swig_obj
[0] = args
;
23151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23152 if (!SWIG_IsOK(res1
)) {
23153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23155 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23160 result
= (wxBitmap
*) &_result_ref
;
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23166 wxBitmap
* resultptr
= new wxBitmap(*result
);
23167 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23175 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23176 PyObject
*resultobj
= 0;
23177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23181 PyObject
*swig_obj
[1] ;
23183 if (!args
) SWIG_fail
;
23184 swig_obj
[0] = args
;
23185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23186 if (!SWIG_IsOK(res1
)) {
23187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23189 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (arg1
)->GetBitmap();
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23203 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23204 PyObject
*resultobj
= 0;
23205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23209 PyObject
*swig_obj
[1] ;
23211 if (!args
) SWIG_fail
;
23212 swig_obj
[0] = args
;
23213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23214 if (!SWIG_IsOK(res1
)) {
23215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23217 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (arg1
)->GetLabel();
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23237 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23238 PyObject
*resultobj
= 0;
23239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23243 PyObject
*swig_obj
[1] ;
23245 if (!args
) SWIG_fail
;
23246 swig_obj
[0] = args
;
23247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23248 if (!SWIG_IsOK(res1
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23251 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (arg1
)->GetShortHelp();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23271 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23272 PyObject
*resultobj
= 0;
23273 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23277 PyObject
*swig_obj
[1] ;
23279 if (!args
) SWIG_fail
;
23280 swig_obj
[0] = args
;
23281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23282 if (!SWIG_IsOK(res1
)) {
23283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23285 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (arg1
)->GetLongHelp();
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23305 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= 0;
23307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "self",(char *) "enable", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23325 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23326 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23327 if (!SWIG_IsOK(ecode2
)) {
23328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23330 arg2
= static_cast< bool >(val2
);
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 result
= (bool)(arg1
)->Enable(arg2
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23346 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 PyObject
*resultobj
= 0;
23348 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23351 PyObject
*swig_obj
[1] ;
23353 if (!args
) SWIG_fail
;
23354 swig_obj
[0] = args
;
23355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23359 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_Py_Void();
23373 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
= 0;
23375 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 PyObject
* obj1
= 0 ;
23384 char * kwnames
[] = {
23385 (char *) "self",(char *) "toggle", NULL
23388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23390 if (!SWIG_IsOK(res1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23393 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23394 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23395 if (!SWIG_IsOK(ecode2
)) {
23396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23398 arg2
= static_cast< bool >(val2
);
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (bool)(arg1
)->SetToggle(arg2
);
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23414 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
= 0;
23416 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23417 wxString
*arg2
= 0 ;
23421 bool temp2
= false ;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 char * kwnames
[] = {
23425 (char *) "self",(char *) "help", NULL
23428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23433 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23435 arg2
= wxString_in_helper(obj1
);
23436 if (arg2
== NULL
) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23462 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
= 0;
23464 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23465 wxString
*arg2
= 0 ;
23469 bool temp2
= false ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 char * kwnames
[] = {
23473 (char *) "self",(char *) "help", NULL
23476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23478 if (!SWIG_IsOK(res1
)) {
23479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23481 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23483 arg2
= wxString_in_helper(obj1
);
23484 if (arg2
== NULL
) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23510 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
= 0;
23512 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23513 wxBitmap
*arg2
= 0 ;
23518 PyObject
* obj0
= 0 ;
23519 PyObject
* obj1
= 0 ;
23520 char * kwnames
[] = {
23521 (char *) "self",(char *) "bmp", NULL
23524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23526 if (!SWIG_IsOK(res1
)) {
23527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23529 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23531 if (!SWIG_IsOK(res2
)) {
23532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23537 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 resultobj
= SWIG_Py_Void();
23551 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
= 0;
23553 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23554 wxBitmap
*arg2
= 0 ;
23559 PyObject
* obj0
= 0 ;
23560 PyObject
* obj1
= 0 ;
23561 char * kwnames
[] = {
23562 (char *) "self",(char *) "bmp", NULL
23565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23567 if (!SWIG_IsOK(res1
)) {
23568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23570 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23572 if (!SWIG_IsOK(res2
)) {
23573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23578 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= SWIG_Py_Void();
23592 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
= 0;
23594 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23595 wxString
*arg2
= 0 ;
23598 bool temp2
= false ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char * kwnames
[] = {
23602 (char *) "self",(char *) "label", NULL
23605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23610 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23612 arg2
= wxString_in_helper(obj1
);
23613 if (arg2
== NULL
) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 (arg1
)->SetLabel((wxString
const &)*arg2
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_Py_Void();
23637 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23638 PyObject
*resultobj
= 0;
23639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23642 PyObject
*swig_obj
[1] ;
23644 if (!args
) SWIG_fail
;
23645 swig_obj
[0] = args
;
23646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23650 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= SWIG_Py_Void();
23664 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
= 0;
23666 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23667 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 char * kwnames
[] = {
23675 (char *) "self",(char *) "tbar", NULL
23678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23680 if (!SWIG_IsOK(res1
)) {
23681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23683 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23685 if (!SWIG_IsOK(res2
)) {
23686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23688 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 (arg1
)->Attach(arg2
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_Py_Void();
23702 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 PyObject
*resultobj
= 0;
23704 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23705 PyObject
*result
= 0 ;
23708 PyObject
*swig_obj
[1] ;
23710 if (!args
) SWIG_fail
;
23711 swig_obj
[0] = args
;
23712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23713 if (!SWIG_IsOK(res1
)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23716 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= result
;
23730 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
= 0;
23732 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23733 PyObject
*arg2
= (PyObject
*) 0 ;
23736 PyObject
* obj0
= 0 ;
23737 PyObject
* obj1
= 0 ;
23738 char * kwnames
[] = {
23739 (char *) "self",(char *) "clientData", NULL
23742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23744 if (!SWIG_IsOK(res1
)) {
23745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23747 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= SWIG_Py_Void();
23762 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23765 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23766 return SWIG_Py_Void();
23769 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
= 0;
23771 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23773 wxString
*arg3
= 0 ;
23774 wxBitmap
*arg4
= 0 ;
23775 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23776 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23777 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23778 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23779 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23780 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23782 PyObject
*arg9
= (PyObject
*) NULL
;
23783 wxToolBarToolBase
*result
= 0 ;
23788 bool temp3
= false ;
23795 bool temp7
= false ;
23796 bool temp8
= false ;
23797 PyObject
* obj0
= 0 ;
23798 PyObject
* obj1
= 0 ;
23799 PyObject
* obj2
= 0 ;
23800 PyObject
* obj3
= 0 ;
23801 PyObject
* obj4
= 0 ;
23802 PyObject
* obj5
= 0 ;
23803 PyObject
* obj6
= 0 ;
23804 PyObject
* obj7
= 0 ;
23805 PyObject
* obj8
= 0 ;
23806 char * kwnames
[] = {
23807 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23812 if (!SWIG_IsOK(res1
)) {
23813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23815 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23817 if (!SWIG_IsOK(ecode2
)) {
23818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23820 arg2
= static_cast< int >(val2
);
23822 arg3
= wxString_in_helper(obj2
);
23823 if (arg3
== NULL
) SWIG_fail
;
23826 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23827 if (!SWIG_IsOK(res4
)) {
23828 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23833 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23835 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23836 if (!SWIG_IsOK(res5
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23842 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23845 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23846 if (!SWIG_IsOK(ecode6
)) {
23847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23849 arg6
= static_cast< wxItemKind
>(val6
);
23853 arg7
= wxString_in_helper(obj6
);
23854 if (arg7
== NULL
) SWIG_fail
;
23860 arg8
= wxString_in_helper(obj7
);
23861 if (arg8
== NULL
) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23907 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
= 0;
23909 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23912 wxString
*arg4
= 0 ;
23913 wxBitmap
*arg5
= 0 ;
23914 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23915 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23916 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23917 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23918 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23919 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23920 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23921 PyObject
*arg10
= (PyObject
*) NULL
;
23922 wxToolBarToolBase
*result
= 0 ;
23929 bool temp4
= false ;
23936 bool temp8
= false ;
23937 bool temp9
= false ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 PyObject
* obj2
= 0 ;
23941 PyObject
* obj3
= 0 ;
23942 PyObject
* obj4
= 0 ;
23943 PyObject
* obj5
= 0 ;
23944 PyObject
* obj6
= 0 ;
23945 PyObject
* obj7
= 0 ;
23946 PyObject
* obj8
= 0 ;
23947 PyObject
* obj9
= 0 ;
23948 char * kwnames
[] = {
23949 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23954 if (!SWIG_IsOK(res1
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23957 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23958 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23959 if (!SWIG_IsOK(ecode2
)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23962 arg2
= static_cast< size_t >(val2
);
23963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23964 if (!SWIG_IsOK(ecode3
)) {
23965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23967 arg3
= static_cast< int >(val3
);
23969 arg4
= wxString_in_helper(obj3
);
23970 if (arg4
== NULL
) SWIG_fail
;
23973 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23974 if (!SWIG_IsOK(res5
)) {
23975 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23980 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23982 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23983 if (!SWIG_IsOK(res6
)) {
23984 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23989 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23992 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23993 if (!SWIG_IsOK(ecode7
)) {
23994 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23996 arg7
= static_cast< wxItemKind
>(val7
);
24000 arg8
= wxString_in_helper(obj7
);
24001 if (arg8
== NULL
) SWIG_fail
;
24007 arg9
= wxString_in_helper(obj8
);
24008 if (arg9
== NULL
) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24054 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
= 0;
24056 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24057 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24058 wxToolBarToolBase
*result
= 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "self",(char *) "tool", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24074 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24076 if (!SWIG_IsOK(res2
)) {
24077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24079 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24095 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
= 0;
24097 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24099 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24100 wxToolBarToolBase
*result
= 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 PyObject
* obj2
= 0 ;
24110 char * kwnames
[] = {
24111 (char *) "self",(char *) "pos",(char *) "tool", NULL
24114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24116 if (!SWIG_IsOK(res1
)) {
24117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24119 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24120 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24121 if (!SWIG_IsOK(ecode2
)) {
24122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24124 arg2
= static_cast< size_t >(val2
);
24125 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24126 if (!SWIG_IsOK(res3
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24129 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24145 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24148 wxControl
*arg2
= (wxControl
*) 0 ;
24149 wxToolBarToolBase
*result
= 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 char * kwnames
[] = {
24157 (char *) "self",(char *) "control", NULL
24160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24162 if (!SWIG_IsOK(res1
)) {
24163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24165 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24167 if (!SWIG_IsOK(res2
)) {
24168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24170 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24178 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24186 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
= 0;
24188 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24190 wxControl
*arg3
= (wxControl
*) 0 ;
24191 wxToolBarToolBase
*result
= 0 ;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 PyObject
* obj2
= 0 ;
24201 char * kwnames
[] = {
24202 (char *) "self",(char *) "pos",(char *) "control", NULL
24205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24207 if (!SWIG_IsOK(res1
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24210 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24211 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24212 if (!SWIG_IsOK(ecode2
)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24215 arg2
= static_cast< size_t >(val2
);
24216 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24217 if (!SWIG_IsOK(res3
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24220 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24236 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
= 0;
24238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24240 wxControl
*result
= 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 char * kwnames
[] = {
24248 (char *) "self",(char *) "id", NULL
24251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24256 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24258 if (!SWIG_IsOK(ecode2
)) {
24259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24261 arg2
= static_cast< int >(val2
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= wxPyMake_wxObject(result
, 0);
24277 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24278 PyObject
*resultobj
= 0;
24279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24280 wxToolBarToolBase
*result
= 0 ;
24283 PyObject
*swig_obj
[1] ;
24285 if (!args
) SWIG_fail
;
24286 swig_obj
[0] = args
;
24287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24288 if (!SWIG_IsOK(res1
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24291 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24307 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
= 0;
24309 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24311 wxToolBarToolBase
*result
= 0 ;
24316 PyObject
* obj0
= 0 ;
24317 PyObject
* obj1
= 0 ;
24318 char * kwnames
[] = {
24319 (char *) "self",(char *) "pos", NULL
24322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24324 if (!SWIG_IsOK(res1
)) {
24325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24327 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24328 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24329 if (!SWIG_IsOK(ecode2
)) {
24330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24332 arg2
= static_cast< size_t >(val2
);
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24348 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
= 0;
24350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24352 wxToolBarToolBase
*result
= 0 ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 char * kwnames
[] = {
24360 (char *) "self",(char *) "id", NULL
24363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24365 if (!SWIG_IsOK(res1
)) {
24366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24368 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24370 if (!SWIG_IsOK(ecode2
)) {
24371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24373 arg2
= static_cast< int >(val2
);
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24389 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
= 0;
24391 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24398 PyObject
* obj0
= 0 ;
24399 PyObject
* obj1
= 0 ;
24400 char * kwnames
[] = {
24401 (char *) "self",(char *) "pos", NULL
24404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24406 if (!SWIG_IsOK(res1
)) {
24407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24409 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24410 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24411 if (!SWIG_IsOK(ecode2
)) {
24412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24414 arg2
= static_cast< size_t >(val2
);
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24430 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
= 0;
24432 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 char * kwnames
[] = {
24442 (char *) "self",(char *) "id", NULL
24445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24450 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24452 if (!SWIG_IsOK(ecode2
)) {
24453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24455 arg2
= static_cast< int >(val2
);
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (bool)(arg1
)->DeleteTool(arg2
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24471 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24472 PyObject
*resultobj
= 0;
24473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24476 PyObject
*swig_obj
[1] ;
24478 if (!args
) SWIG_fail
;
24479 swig_obj
[0] = args
;
24480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24481 if (!SWIG_IsOK(res1
)) {
24482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24484 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 (arg1
)->ClearTools();
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= SWIG_Py_Void();
24498 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24499 PyObject
*resultobj
= 0;
24500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24504 PyObject
*swig_obj
[1] ;
24506 if (!args
) SWIG_fail
;
24507 swig_obj
[0] = args
;
24508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24509 if (!SWIG_IsOK(res1
)) {
24510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24512 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (bool)(arg1
)->Realize();
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24528 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
= 0;
24530 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 PyObject
* obj2
= 0 ;
24542 char * kwnames
[] = {
24543 (char *) "self",(char *) "id",(char *) "enable", NULL
24546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24548 if (!SWIG_IsOK(res1
)) {
24549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24551 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24553 if (!SWIG_IsOK(ecode2
)) {
24554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24556 arg2
= static_cast< int >(val2
);
24557 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24558 if (!SWIG_IsOK(ecode3
)) {
24559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24561 arg3
= static_cast< bool >(val3
);
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 (arg1
)->EnableTool(arg2
,arg3
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_Py_Void();
24575 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
= 0;
24577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 PyObject
* obj2
= 0 ;
24589 char * kwnames
[] = {
24590 (char *) "self",(char *) "id",(char *) "toggle", NULL
24593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24595 if (!SWIG_IsOK(res1
)) {
24596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24600 if (!SWIG_IsOK(ecode2
)) {
24601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24603 arg2
= static_cast< int >(val2
);
24604 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24605 if (!SWIG_IsOK(ecode3
)) {
24606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24608 arg3
= static_cast< bool >(val3
);
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 (arg1
)->ToggleTool(arg2
,arg3
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_Py_Void();
24622 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
= 0;
24624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 PyObject
* obj2
= 0 ;
24636 char * kwnames
[] = {
24637 (char *) "self",(char *) "id",(char *) "toggle", NULL
24640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24642 if (!SWIG_IsOK(res1
)) {
24643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24645 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24647 if (!SWIG_IsOK(ecode2
)) {
24648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24650 arg2
= static_cast< int >(val2
);
24651 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24652 if (!SWIG_IsOK(ecode3
)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24655 arg3
= static_cast< bool >(val3
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->SetToggle(arg2
,arg3
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_Py_Void();
24669 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24673 PyObject
*result
= 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char * kwnames
[] = {
24681 (char *) "self",(char *) "id", NULL
24684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24686 if (!SWIG_IsOK(res1
)) {
24687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24689 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24691 if (!SWIG_IsOK(ecode2
)) {
24692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24694 arg2
= static_cast< int >(val2
);
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= result
;
24708 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
= 0;
24710 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24712 PyObject
*arg3
= (PyObject
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 PyObject
* obj2
= 0 ;
24720 char * kwnames
[] = {
24721 (char *) "self",(char *) "id",(char *) "clientData", NULL
24724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24726 if (!SWIG_IsOK(res1
)) {
24727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24729 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24731 if (!SWIG_IsOK(ecode2
)) {
24732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24734 arg2
= static_cast< int >(val2
);
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= SWIG_Py_Void();
24749 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
= 0;
24751 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 PyObject
* obj1
= 0 ;
24760 char * kwnames
[] = {
24761 (char *) "self",(char *) "id", NULL
24764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24766 if (!SWIG_IsOK(res1
)) {
24767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24769 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24771 if (!SWIG_IsOK(ecode2
)) {
24772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24774 arg2
= static_cast< int >(val2
);
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= SWIG_From_int(static_cast< int >(result
));
24788 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
= 0;
24790 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 char * kwnames
[] = {
24800 (char *) "self",(char *) "id", NULL
24803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24805 if (!SWIG_IsOK(res1
)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24808 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24810 if (!SWIG_IsOK(ecode2
)) {
24811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24813 arg2
= static_cast< int >(val2
);
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (bool)(arg1
)->GetToolState(arg2
);
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24829 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
= 0;
24831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char * kwnames
[] = {
24841 (char *) "self",(char *) "id", NULL
24844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24846 if (!SWIG_IsOK(res1
)) {
24847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24849 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24851 if (!SWIG_IsOK(ecode2
)) {
24852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24854 arg2
= static_cast< int >(val2
);
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24870 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
= 0;
24872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24874 wxString
*arg3
= 0 ;
24879 bool temp3
= false ;
24880 PyObject
* obj0
= 0 ;
24881 PyObject
* obj1
= 0 ;
24882 PyObject
* obj2
= 0 ;
24883 char * kwnames
[] = {
24884 (char *) "self",(char *) "id",(char *) "helpString", NULL
24887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24889 if (!SWIG_IsOK(res1
)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24892 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24894 if (!SWIG_IsOK(ecode2
)) {
24895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24897 arg2
= static_cast< int >(val2
);
24899 arg3
= wxString_in_helper(obj2
);
24900 if (arg3
== NULL
) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= SWIG_Py_Void();
24924 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
= 0;
24926 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char * kwnames
[] = {
24936 (char *) "self",(char *) "id", NULL
24939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24944 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24946 if (!SWIG_IsOK(ecode2
)) {
24947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24949 arg2
= static_cast< int >(val2
);
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (arg1
)->GetToolShortHelp(arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24969 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
= 0;
24971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24973 wxString
*arg3
= 0 ;
24978 bool temp3
= false ;
24979 PyObject
* obj0
= 0 ;
24980 PyObject
* obj1
= 0 ;
24981 PyObject
* obj2
= 0 ;
24982 char * kwnames
[] = {
24983 (char *) "self",(char *) "id",(char *) "helpString", NULL
24986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24988 if (!SWIG_IsOK(res1
)) {
24989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24991 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24993 if (!SWIG_IsOK(ecode2
)) {
24994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24996 arg2
= static_cast< int >(val2
);
24998 arg3
= wxString_in_helper(obj2
);
24999 if (arg3
== NULL
) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= SWIG_Py_Void();
25023 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "self",(char *) "id", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25043 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25045 if (!SWIG_IsOK(ecode2
)) {
25046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25048 arg2
= static_cast< int >(val2
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (arg1
)->GetToolLongHelp(arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25068 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25079 PyObject
* obj0
= 0 ;
25080 PyObject
* obj1
= 0 ;
25081 PyObject
* obj2
= 0 ;
25082 char * kwnames
[] = {
25083 (char *) "self",(char *) "x",(char *) "y", NULL
25086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25088 if (!SWIG_IsOK(res1
)) {
25089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25091 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25093 if (!SWIG_IsOK(ecode2
)) {
25094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25096 arg2
= static_cast< int >(val2
);
25097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25098 if (!SWIG_IsOK(ecode3
)) {
25099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25101 arg3
= static_cast< int >(val3
);
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->SetMargins(arg2
,arg3
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_Py_Void();
25115 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
= 0;
25117 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char * kwnames
[] = {
25125 (char *) "self",(char *) "size", NULL
25128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25133 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25136 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= SWIG_Py_Void();
25151 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
= 0;
25153 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25159 PyObject
* obj0
= 0 ;
25160 PyObject
* obj1
= 0 ;
25161 char * kwnames
[] = {
25162 (char *) "self",(char *) "packing", NULL
25165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25170 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25172 if (!SWIG_IsOK(ecode2
)) {
25173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25175 arg2
= static_cast< int >(val2
);
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 (arg1
)->SetToolPacking(arg2
);
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= SWIG_Py_Void();
25189 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
= 0;
25191 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25197 PyObject
* obj0
= 0 ;
25198 PyObject
* obj1
= 0 ;
25199 char * kwnames
[] = {
25200 (char *) "self",(char *) "separation", NULL
25203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25205 if (!SWIG_IsOK(res1
)) {
25206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25208 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25210 if (!SWIG_IsOK(ecode2
)) {
25211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25213 arg2
= static_cast< int >(val2
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 (arg1
)->SetToolSeparation(arg2
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_Py_Void();
25227 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 PyObject
*resultobj
= 0;
25229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25233 PyObject
*swig_obj
[1] ;
25235 if (!args
) SWIG_fail
;
25236 swig_obj
[0] = args
;
25237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25238 if (!SWIG_IsOK(res1
)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25241 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= (arg1
)->GetToolMargins();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25255 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25256 PyObject
*resultobj
= 0;
25257 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25261 PyObject
*swig_obj
[1] ;
25263 if (!args
) SWIG_fail
;
25264 swig_obj
[0] = args
;
25265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25266 if (!SWIG_IsOK(res1
)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25269 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= (arg1
)->GetMargins();
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25283 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25284 PyObject
*resultobj
= 0;
25285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25289 PyObject
*swig_obj
[1] ;
25291 if (!args
) SWIG_fail
;
25292 swig_obj
[0] = args
;
25293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25294 if (!SWIG_IsOK(res1
)) {
25295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25297 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 result
= (int)(arg1
)->GetToolPacking();
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 resultobj
= SWIG_From_int(static_cast< int >(result
));
25311 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25312 PyObject
*resultobj
= 0;
25313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25317 PyObject
*swig_obj
[1] ;
25319 if (!args
) SWIG_fail
;
25320 swig_obj
[0] = args
;
25321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25322 if (!SWIG_IsOK(res1
)) {
25323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25325 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (int)(arg1
)->GetToolSeparation();
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_From_int(static_cast< int >(result
));
25339 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
= 0;
25341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char * kwnames
[] = {
25350 (char *) "self",(char *) "nRows", NULL
25353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25355 if (!SWIG_IsOK(res1
)) {
25356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25358 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25360 if (!SWIG_IsOK(ecode2
)) {
25361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25363 arg2
= static_cast< int >(val2
);
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->SetRows(arg2
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25370 resultobj
= SWIG_Py_Void();
25377 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
= 0;
25379 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 PyObject
* obj2
= 0 ;
25391 char * kwnames
[] = {
25392 (char *) "self",(char *) "rows",(char *) "cols", NULL
25395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25397 if (!SWIG_IsOK(res1
)) {
25398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25400 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25402 if (!SWIG_IsOK(ecode2
)) {
25403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25405 arg2
= static_cast< int >(val2
);
25406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25407 if (!SWIG_IsOK(ecode3
)) {
25408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25410 arg3
= static_cast< int >(val3
);
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_Py_Void();
25424 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25425 PyObject
*resultobj
= 0;
25426 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25430 PyObject
*swig_obj
[1] ;
25432 if (!args
) SWIG_fail
;
25433 swig_obj
[0] = args
;
25434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25435 if (!SWIG_IsOK(res1
)) {
25436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25438 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 result
= (int)(arg1
)->GetMaxRows();
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_From_int(static_cast< int >(result
));
25452 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25453 PyObject
*resultobj
= 0;
25454 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25458 PyObject
*swig_obj
[1] ;
25460 if (!args
) SWIG_fail
;
25461 swig_obj
[0] = args
;
25462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25463 if (!SWIG_IsOK(res1
)) {
25464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25466 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 result
= (int)(arg1
)->GetMaxCols();
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= SWIG_From_int(static_cast< int >(result
));
25480 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
= 0;
25482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 char * kwnames
[] = {
25490 (char *) "self",(char *) "size", NULL
25493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25495 if (!SWIG_IsOK(res1
)) {
25496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25498 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25501 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_Py_Void();
25516 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 PyObject
*resultobj
= 0;
25518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25522 PyObject
*swig_obj
[1] ;
25524 if (!args
) SWIG_fail
;
25525 swig_obj
[0] = args
;
25526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25527 if (!SWIG_IsOK(res1
)) {
25528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25530 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (arg1
)->GetToolBitmapSize();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25544 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25545 PyObject
*resultobj
= 0;
25546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25550 PyObject
*swig_obj
[1] ;
25552 if (!args
) SWIG_fail
;
25553 swig_obj
[0] = args
;
25554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25555 if (!SWIG_IsOK(res1
)) {
25556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25558 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (arg1
)->GetToolSize();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25572 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
= 0;
25574 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25577 wxToolBarToolBase
*result
= 0 ;
25584 PyObject
* obj0
= 0 ;
25585 PyObject
* obj1
= 0 ;
25586 PyObject
* obj2
= 0 ;
25587 char * kwnames
[] = {
25588 (char *) "self",(char *) "x",(char *) "y", NULL
25591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25593 if (!SWIG_IsOK(res1
)) {
25594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25596 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25598 if (!SWIG_IsOK(ecode2
)) {
25599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25601 arg2
= static_cast< int >(val2
);
25602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25603 if (!SWIG_IsOK(ecode3
)) {
25604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25606 arg3
= static_cast< int >(val3
);
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25622 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
= 0;
25624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25626 wxToolBarToolBase
*result
= 0 ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 char * kwnames
[] = {
25634 (char *) "self",(char *) "toolid", NULL
25637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25639 if (!SWIG_IsOK(res1
)) {
25640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25642 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25644 if (!SWIG_IsOK(ecode2
)) {
25645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25647 arg2
= static_cast< int >(val2
);
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25663 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25664 PyObject
*resultobj
= 0;
25665 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25669 PyObject
*swig_obj
[1] ;
25671 if (!args
) SWIG_fail
;
25672 swig_obj
[0] = args
;
25673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25674 if (!SWIG_IsOK(res1
)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25677 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 result
= (bool)(arg1
)->IsVertical();
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25693 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25694 PyObject
*resultobj
= 0;
25695 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25699 PyObject
*swig_obj
[1] ;
25701 if (!args
) SWIG_fail
;
25702 swig_obj
[0] = args
;
25703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25704 if (!SWIG_IsOK(res1
)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25707 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25721 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25724 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25725 return SWIG_Py_Void();
25728 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
= 0;
25730 wxWindow
*arg1
= (wxWindow
*) 0 ;
25731 int arg2
= (int) -1 ;
25732 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25733 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25734 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25735 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25736 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25737 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25738 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25739 wxToolBar
*result
= 0 ;
25748 bool temp6
= false ;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 PyObject
* obj2
= 0 ;
25752 PyObject
* obj3
= 0 ;
25753 PyObject
* obj4
= 0 ;
25754 PyObject
* obj5
= 0 ;
25755 char * kwnames
[] = {
25756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25764 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25767 if (!SWIG_IsOK(ecode2
)) {
25768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25770 arg2
= static_cast< int >(val2
);
25775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25781 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25785 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25786 if (!SWIG_IsOK(ecode5
)) {
25787 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25789 arg5
= static_cast< long >(val5
);
25793 arg6
= wxString_in_helper(obj5
);
25794 if (arg6
== NULL
) SWIG_fail
;
25799 if (!wxPyCheckForApp()) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25820 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25821 PyObject
*resultobj
= 0;
25822 wxToolBar
*result
= 0 ;
25824 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25826 if (!wxPyCheckForApp()) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (wxToolBar
*)new wxToolBar();
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25839 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
= 0;
25841 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25842 wxWindow
*arg2
= (wxWindow
*) 0 ;
25843 int arg3
= (int) -1 ;
25844 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25845 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25846 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25847 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25848 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25849 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25850 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25862 bool temp7
= false ;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 PyObject
* obj2
= 0 ;
25866 PyObject
* obj3
= 0 ;
25867 PyObject
* obj4
= 0 ;
25868 PyObject
* obj5
= 0 ;
25869 PyObject
* obj6
= 0 ;
25870 char * kwnames
[] = {
25871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25876 if (!SWIG_IsOK(res1
)) {
25877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25879 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25881 if (!SWIG_IsOK(res2
)) {
25882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25884 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25887 if (!SWIG_IsOK(ecode3
)) {
25888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25890 arg3
= static_cast< int >(val3
);
25895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25905 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25906 if (!SWIG_IsOK(ecode6
)) {
25907 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25909 arg6
= static_cast< long >(val6
);
25913 arg7
= wxString_in_helper(obj6
);
25914 if (arg7
== NULL
) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25941 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
= 0;
25943 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25944 SwigValueWrapper
<wxVisualAttributes
> result
;
25947 PyObject
* obj0
= 0 ;
25948 char * kwnames
[] = {
25949 (char *) "variant", NULL
25952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25954 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25955 if (!SWIG_IsOK(ecode1
)) {
25956 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25958 arg1
= static_cast< wxWindowVariant
>(val1
);
25961 if (!wxPyCheckForApp()) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25974 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25977 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25978 return SWIG_Py_Void();
25981 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25982 return SWIG_Python_InitShadowInstance(args
);
25985 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25986 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25991 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25992 PyObject
*pyobj
= 0;
25996 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25998 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26005 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26006 PyObject
*resultobj
= 0;
26007 wxColour
const &arg1_defvalue
= wxNullColour
;
26008 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26009 wxColour
const &arg2_defvalue
= wxNullColour
;
26010 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26011 wxFont
const &arg3_defvalue
= wxNullFont
;
26012 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26013 wxListItemAttr
*result
= 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 PyObject
* obj2
= 0 ;
26021 char * kwnames
[] = {
26022 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26029 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26039 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26040 if (!SWIG_IsOK(res3
)) {
26041 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26046 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26061 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26062 PyObject
*resultobj
= 0;
26063 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26066 PyObject
*swig_obj
[1] ;
26068 if (!args
) SWIG_fail
;
26069 swig_obj
[0] = args
;
26070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26071 if (!SWIG_IsOK(res1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26074 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_Py_Void();
26089 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
= 0;
26091 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26092 wxColour
*arg2
= 0 ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char * kwnames
[] = {
26099 (char *) "self",(char *) "colText", NULL
26102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26104 if (!SWIG_IsOK(res1
)) {
26105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26107 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26110 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_Py_Void();
26125 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
= 0;
26127 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26128 wxColour
*arg2
= 0 ;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj1
= 0 ;
26134 char * kwnames
[] = {
26135 (char *) "self",(char *) "colBack", NULL
26138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26140 if (!SWIG_IsOK(res1
)) {
26141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26143 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26146 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_Py_Void();
26161 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
= 0;
26163 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26169 PyObject
* obj0
= 0 ;
26170 PyObject
* obj1
= 0 ;
26171 char * kwnames
[] = {
26172 (char *) "self",(char *) "font", NULL
26175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26177 if (!SWIG_IsOK(res1
)) {
26178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26180 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26182 if (!SWIG_IsOK(res2
)) {
26183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26188 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 (arg1
)->SetFont((wxFont
const &)*arg2
);
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= SWIG_Py_Void();
26202 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26203 PyObject
*resultobj
= 0;
26204 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26208 PyObject
*swig_obj
[1] ;
26210 if (!args
) SWIG_fail
;
26211 swig_obj
[0] = args
;
26212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26213 if (!SWIG_IsOK(res1
)) {
26214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26216 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 result
= (bool)(arg1
)->HasTextColour();
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26232 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26233 PyObject
*resultobj
= 0;
26234 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26238 PyObject
*swig_obj
[1] ;
26240 if (!args
) SWIG_fail
;
26241 swig_obj
[0] = args
;
26242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26246 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (bool)(arg1
)->HasBackgroundColour();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26262 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26263 PyObject
*resultobj
= 0;
26264 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26268 PyObject
*swig_obj
[1] ;
26270 if (!args
) SWIG_fail
;
26271 swig_obj
[0] = args
;
26272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26276 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 result
= (bool)(arg1
)->HasFont();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26292 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26293 PyObject
*resultobj
= 0;
26294 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26298 PyObject
*swig_obj
[1] ;
26300 if (!args
) SWIG_fail
;
26301 swig_obj
[0] = args
;
26302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26303 if (!SWIG_IsOK(res1
)) {
26304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26306 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 result
= (arg1
)->GetTextColour();
26310 wxPyEndAllowThreads(__tstate
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26313 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26320 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26321 PyObject
*resultobj
= 0;
26322 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26326 PyObject
*swig_obj
[1] ;
26328 if (!args
) SWIG_fail
;
26329 swig_obj
[0] = args
;
26330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26331 if (!SWIG_IsOK(res1
)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26334 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 result
= (arg1
)->GetBackgroundColour();
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26348 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26349 PyObject
*resultobj
= 0;
26350 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26354 PyObject
*swig_obj
[1] ;
26356 if (!args
) SWIG_fail
;
26357 swig_obj
[0] = args
;
26358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26362 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (arg1
)->GetFont();
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26376 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
= 0;
26378 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26379 wxListItemAttr
*arg2
= 0 ;
26384 PyObject
* obj0
= 0 ;
26385 PyObject
* obj1
= 0 ;
26386 char * kwnames
[] = {
26387 (char *) "self",(char *) "source", NULL
26390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26392 if (!SWIG_IsOK(res1
)) {
26393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26395 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26397 if (!SWIG_IsOK(res2
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26403 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_Py_Void();
26417 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26418 PyObject
*resultobj
= 0;
26419 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26422 PyObject
*swig_obj
[1] ;
26424 if (!args
) SWIG_fail
;
26425 swig_obj
[0] = args
;
26426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26427 if (!SWIG_IsOK(res1
)) {
26428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26430 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 wxListItemAttr_Destroy(arg1
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= SWIG_Py_Void();
26444 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26447 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26448 return SWIG_Py_Void();
26451 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26452 return SWIG_Python_InitShadowInstance(args
);
26455 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26456 PyObject
*resultobj
= 0;
26457 wxListItem
*result
= 0 ;
26459 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 result
= (wxListItem
*)new wxListItem();
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26473 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26474 PyObject
*resultobj
= 0;
26475 wxListItem
*arg1
= (wxListItem
*) 0 ;
26478 PyObject
*swig_obj
[1] ;
26480 if (!args
) SWIG_fail
;
26481 swig_obj
[0] = args
;
26482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26483 if (!SWIG_IsOK(res1
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26486 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 resultobj
= SWIG_Py_Void();
26501 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26502 PyObject
*resultobj
= 0;
26503 wxListItem
*arg1
= (wxListItem
*) 0 ;
26506 PyObject
*swig_obj
[1] ;
26508 if (!args
) SWIG_fail
;
26509 swig_obj
[0] = args
;
26510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26511 if (!SWIG_IsOK(res1
)) {
26512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26514 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_Py_Void();
26528 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26529 PyObject
*resultobj
= 0;
26530 wxListItem
*arg1
= (wxListItem
*) 0 ;
26533 PyObject
*swig_obj
[1] ;
26535 if (!args
) SWIG_fail
;
26536 swig_obj
[0] = args
;
26537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26541 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 (arg1
)->ClearAttributes();
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= SWIG_Py_Void();
26555 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
= 0;
26557 wxListItem
*arg1
= (wxListItem
*) 0 ;
26563 PyObject
* obj0
= 0 ;
26564 PyObject
* obj1
= 0 ;
26565 char * kwnames
[] = {
26566 (char *) "self",(char *) "mask", NULL
26569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26574 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26575 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26576 if (!SWIG_IsOK(ecode2
)) {
26577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26579 arg2
= static_cast< long >(val2
);
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 (arg1
)->SetMask(arg2
);
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_Py_Void();
26593 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
= 0;
26595 wxListItem
*arg1
= (wxListItem
*) 0 ;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 char * kwnames
[] = {
26604 (char *) "self",(char *) "id", NULL
26607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26609 if (!SWIG_IsOK(res1
)) {
26610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26612 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26613 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26614 if (!SWIG_IsOK(ecode2
)) {
26615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26617 arg2
= static_cast< long >(val2
);
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 (arg1
)->SetId(arg2
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_Py_Void();
26631 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
= 0;
26633 wxListItem
*arg1
= (wxListItem
*) 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char * kwnames
[] = {
26642 (char *) "self",(char *) "col", NULL
26645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26647 if (!SWIG_IsOK(res1
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26650 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26652 if (!SWIG_IsOK(ecode2
)) {
26653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26655 arg2
= static_cast< int >(val2
);
26657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26658 (arg1
)->SetColumn(arg2
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_Py_Void();
26669 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
= 0;
26671 wxListItem
*arg1
= (wxListItem
*) 0 ;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 char * kwnames
[] = {
26680 (char *) "self",(char *) "state", NULL
26683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26685 if (!SWIG_IsOK(res1
)) {
26686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26688 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26689 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26690 if (!SWIG_IsOK(ecode2
)) {
26691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26693 arg2
= static_cast< long >(val2
);
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 (arg1
)->SetState(arg2
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= SWIG_Py_Void();
26707 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
= 0;
26709 wxListItem
*arg1
= (wxListItem
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 char * kwnames
[] = {
26718 (char *) "self",(char *) "stateMask", NULL
26721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26723 if (!SWIG_IsOK(res1
)) {
26724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26726 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26727 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26728 if (!SWIG_IsOK(ecode2
)) {
26729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26731 arg2
= static_cast< long >(val2
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 (arg1
)->SetStateMask(arg2
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= SWIG_Py_Void();
26745 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26746 PyObject
*resultobj
= 0;
26747 wxListItem
*arg1
= (wxListItem
*) 0 ;
26748 wxString
*arg2
= 0 ;
26751 bool temp2
= false ;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 char * kwnames
[] = {
26755 (char *) "self",(char *) "text", NULL
26758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26763 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26765 arg2
= wxString_in_helper(obj1
);
26766 if (arg2
== NULL
) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 (arg1
)->SetText((wxString
const &)*arg2
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_Py_Void();
26790 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
= 0;
26792 wxListItem
*arg1
= (wxListItem
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 char * kwnames
[] = {
26801 (char *) "self",(char *) "image", NULL
26804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26806 if (!SWIG_IsOK(res1
)) {
26807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26809 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26811 if (!SWIG_IsOK(ecode2
)) {
26812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26814 arg2
= static_cast< int >(val2
);
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 (arg1
)->SetImage(arg2
);
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= SWIG_Py_Void();
26828 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
= 0;
26830 wxListItem
*arg1
= (wxListItem
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 char * kwnames
[] = {
26839 (char *) "self",(char *) "data", NULL
26842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26844 if (!SWIG_IsOK(res1
)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26847 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26848 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26849 if (!SWIG_IsOK(ecode2
)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26852 arg2
= static_cast< long >(val2
);
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 (arg1
)->SetData(arg2
);
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_Py_Void();
26866 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
= 0;
26868 wxListItem
*arg1
= (wxListItem
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 char * kwnames
[] = {
26877 (char *) "self",(char *) "width", NULL
26880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26882 if (!SWIG_IsOK(res1
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26885 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26887 if (!SWIG_IsOK(ecode2
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26890 arg2
= static_cast< int >(val2
);
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 (arg1
)->SetWidth(arg2
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= SWIG_Py_Void();
26904 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
= 0;
26906 wxListItem
*arg1
= (wxListItem
*) 0 ;
26907 wxListColumnFormat arg2
;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 char * kwnames
[] = {
26915 (char *) "self",(char *) "align", NULL
26918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26920 if (!SWIG_IsOK(res1
)) {
26921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26923 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26925 if (!SWIG_IsOK(ecode2
)) {
26926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26928 arg2
= static_cast< wxListColumnFormat
>(val2
);
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 (arg1
)->SetAlign(arg2
);
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= SWIG_Py_Void();
26942 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
= 0;
26944 wxListItem
*arg1
= (wxListItem
*) 0 ;
26945 wxColour
*arg2
= 0 ;
26949 PyObject
* obj0
= 0 ;
26950 PyObject
* obj1
= 0 ;
26951 char * kwnames
[] = {
26952 (char *) "self",(char *) "colText", NULL
26955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26957 if (!SWIG_IsOK(res1
)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26960 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_Py_Void();
26978 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
= 0;
26980 wxListItem
*arg1
= (wxListItem
*) 0 ;
26981 wxColour
*arg2
= 0 ;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 char * kwnames
[] = {
26988 (char *) "self",(char *) "colBack", NULL
26991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26996 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= SWIG_Py_Void();
27014 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
= 0;
27016 wxListItem
*arg1
= (wxListItem
*) 0 ;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 char * kwnames
[] = {
27025 (char *) "self",(char *) "font", NULL
27028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27033 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27035 if (!SWIG_IsOK(res2
)) {
27036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27041 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 (arg1
)->SetFont((wxFont
const &)*arg2
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 resultobj
= SWIG_Py_Void();
27055 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27056 PyObject
*resultobj
= 0;
27057 wxListItem
*arg1
= (wxListItem
*) 0 ;
27061 PyObject
*swig_obj
[1] ;
27063 if (!args
) SWIG_fail
;
27064 swig_obj
[0] = args
;
27065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27066 if (!SWIG_IsOK(res1
)) {
27067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27069 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (long)(arg1
)->GetMask();
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_From_long(static_cast< long >(result
));
27083 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27084 PyObject
*resultobj
= 0;
27085 wxListItem
*arg1
= (wxListItem
*) 0 ;
27089 PyObject
*swig_obj
[1] ;
27091 if (!args
) SWIG_fail
;
27092 swig_obj
[0] = args
;
27093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27094 if (!SWIG_IsOK(res1
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27097 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 result
= (long)(arg1
)->GetId();
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_From_long(static_cast< long >(result
));
27111 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27112 PyObject
*resultobj
= 0;
27113 wxListItem
*arg1
= (wxListItem
*) 0 ;
27117 PyObject
*swig_obj
[1] ;
27119 if (!args
) SWIG_fail
;
27120 swig_obj
[0] = args
;
27121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27122 if (!SWIG_IsOK(res1
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27125 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 result
= (int)(arg1
)->GetColumn();
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= SWIG_From_int(static_cast< int >(result
));
27139 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27140 PyObject
*resultobj
= 0;
27141 wxListItem
*arg1
= (wxListItem
*) 0 ;
27145 PyObject
*swig_obj
[1] ;
27147 if (!args
) SWIG_fail
;
27148 swig_obj
[0] = args
;
27149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27150 if (!SWIG_IsOK(res1
)) {
27151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27153 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 result
= (long)(arg1
)->GetState();
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= SWIG_From_long(static_cast< long >(result
));
27167 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27168 PyObject
*resultobj
= 0;
27169 wxListItem
*arg1
= (wxListItem
*) 0 ;
27170 wxString
*result
= 0 ;
27173 PyObject
*swig_obj
[1] ;
27175 if (!args
) SWIG_fail
;
27176 swig_obj
[0] = args
;
27177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27178 if (!SWIG_IsOK(res1
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27181 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 wxString
const &_result_ref
= (arg1
)->GetText();
27186 result
= (wxString
*) &_result_ref
;
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27204 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27205 PyObject
*resultobj
= 0;
27206 wxListItem
*arg1
= (wxListItem
*) 0 ;
27210 PyObject
*swig_obj
[1] ;
27212 if (!args
) SWIG_fail
;
27213 swig_obj
[0] = args
;
27214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27215 if (!SWIG_IsOK(res1
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27218 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 result
= (int)(arg1
)->GetImage();
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 resultobj
= SWIG_From_int(static_cast< int >(result
));
27232 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 PyObject
*resultobj
= 0;
27234 wxListItem
*arg1
= (wxListItem
*) 0 ;
27238 PyObject
*swig_obj
[1] ;
27240 if (!args
) SWIG_fail
;
27241 swig_obj
[0] = args
;
27242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27243 if (!SWIG_IsOK(res1
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27246 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 result
= (long)(arg1
)->GetData();
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= SWIG_From_long(static_cast< long >(result
));
27260 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27261 PyObject
*resultobj
= 0;
27262 wxListItem
*arg1
= (wxListItem
*) 0 ;
27266 PyObject
*swig_obj
[1] ;
27268 if (!args
) SWIG_fail
;
27269 swig_obj
[0] = args
;
27270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27271 if (!SWIG_IsOK(res1
)) {
27272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27274 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 result
= (int)(arg1
)->GetWidth();
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= SWIG_From_int(static_cast< int >(result
));
27288 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27289 PyObject
*resultobj
= 0;
27290 wxListItem
*arg1
= (wxListItem
*) 0 ;
27291 wxListColumnFormat result
;
27294 PyObject
*swig_obj
[1] ;
27296 if (!args
) SWIG_fail
;
27297 swig_obj
[0] = args
;
27298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27299 if (!SWIG_IsOK(res1
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27302 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_From_int(static_cast< int >(result
));
27316 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27317 PyObject
*resultobj
= 0;
27318 wxListItem
*arg1
= (wxListItem
*) 0 ;
27319 wxListItemAttr
*result
= 0 ;
27322 PyObject
*swig_obj
[1] ;
27324 if (!args
) SWIG_fail
;
27325 swig_obj
[0] = args
;
27326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27327 if (!SWIG_IsOK(res1
)) {
27328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27330 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27344 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27345 PyObject
*resultobj
= 0;
27346 wxListItem
*arg1
= (wxListItem
*) 0 ;
27350 PyObject
*swig_obj
[1] ;
27352 if (!args
) SWIG_fail
;
27353 swig_obj
[0] = args
;
27354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27355 if (!SWIG_IsOK(res1
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27358 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (bool)(arg1
)->HasAttributes();
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27374 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27375 PyObject
*resultobj
= 0;
27376 wxListItem
*arg1
= (wxListItem
*) 0 ;
27380 PyObject
*swig_obj
[1] ;
27382 if (!args
) SWIG_fail
;
27383 swig_obj
[0] = args
;
27384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27385 if (!SWIG_IsOK(res1
)) {
27386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27388 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27395 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27402 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27403 PyObject
*resultobj
= 0;
27404 wxListItem
*arg1
= (wxListItem
*) 0 ;
27408 PyObject
*swig_obj
[1] ;
27410 if (!args
) SWIG_fail
;
27411 swig_obj
[0] = args
;
27412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27413 if (!SWIG_IsOK(res1
)) {
27414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27416 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27430 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27431 PyObject
*resultobj
= 0;
27432 wxListItem
*arg1
= (wxListItem
*) 0 ;
27436 PyObject
*swig_obj
[1] ;
27438 if (!args
) SWIG_fail
;
27439 swig_obj
[0] = args
;
27440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27441 if (!SWIG_IsOK(res1
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27444 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 result
= ((wxListItem
const *)arg1
)->GetFont();
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27458 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27459 PyObject
*resultobj
= 0;
27460 wxListItem
*arg1
= (wxListItem
*) 0 ;
27466 PyObject
*swig_obj
[2] ;
27468 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27470 if (!SWIG_IsOK(res1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27473 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27474 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27475 if (!SWIG_IsOK(ecode2
)) {
27476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27478 arg2
= static_cast< long >(val2
);
27479 if (arg1
) (arg1
)->m_mask
= arg2
;
27481 resultobj
= SWIG_Py_Void();
27488 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27489 PyObject
*resultobj
= 0;
27490 wxListItem
*arg1
= (wxListItem
*) 0 ;
27494 PyObject
*swig_obj
[1] ;
27496 if (!args
) SWIG_fail
;
27497 swig_obj
[0] = args
;
27498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27499 if (!SWIG_IsOK(res1
)) {
27500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27502 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27503 result
= (long) ((arg1
)->m_mask
);
27504 resultobj
= SWIG_From_long(static_cast< long >(result
));
27511 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27512 PyObject
*resultobj
= 0;
27513 wxListItem
*arg1
= (wxListItem
*) 0 ;
27519 PyObject
*swig_obj
[2] ;
27521 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27523 if (!SWIG_IsOK(res1
)) {
27524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27526 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27527 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27528 if (!SWIG_IsOK(ecode2
)) {
27529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27531 arg2
= static_cast< long >(val2
);
27532 if (arg1
) (arg1
)->m_itemId
= arg2
;
27534 resultobj
= SWIG_Py_Void();
27541 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27542 PyObject
*resultobj
= 0;
27543 wxListItem
*arg1
= (wxListItem
*) 0 ;
27547 PyObject
*swig_obj
[1] ;
27549 if (!args
) SWIG_fail
;
27550 swig_obj
[0] = args
;
27551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27552 if (!SWIG_IsOK(res1
)) {
27553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27555 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27556 result
= (long) ((arg1
)->m_itemId
);
27557 resultobj
= SWIG_From_long(static_cast< long >(result
));
27564 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27565 PyObject
*resultobj
= 0;
27566 wxListItem
*arg1
= (wxListItem
*) 0 ;
27572 PyObject
*swig_obj
[2] ;
27574 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27579 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27580 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27581 if (!SWIG_IsOK(ecode2
)) {
27582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27584 arg2
= static_cast< int >(val2
);
27585 if (arg1
) (arg1
)->m_col
= arg2
;
27587 resultobj
= SWIG_Py_Void();
27594 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27595 PyObject
*resultobj
= 0;
27596 wxListItem
*arg1
= (wxListItem
*) 0 ;
27600 PyObject
*swig_obj
[1] ;
27602 if (!args
) SWIG_fail
;
27603 swig_obj
[0] = args
;
27604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27605 if (!SWIG_IsOK(res1
)) {
27606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27608 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27609 result
= (int) ((arg1
)->m_col
);
27610 resultobj
= SWIG_From_int(static_cast< int >(result
));
27617 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27618 PyObject
*resultobj
= 0;
27619 wxListItem
*arg1
= (wxListItem
*) 0 ;
27625 PyObject
*swig_obj
[2] ;
27627 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27632 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27633 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27634 if (!SWIG_IsOK(ecode2
)) {
27635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27637 arg2
= static_cast< long >(val2
);
27638 if (arg1
) (arg1
)->m_state
= arg2
;
27640 resultobj
= SWIG_Py_Void();
27647 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27648 PyObject
*resultobj
= 0;
27649 wxListItem
*arg1
= (wxListItem
*) 0 ;
27653 PyObject
*swig_obj
[1] ;
27655 if (!args
) SWIG_fail
;
27656 swig_obj
[0] = args
;
27657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27658 if (!SWIG_IsOK(res1
)) {
27659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27661 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27662 result
= (long) ((arg1
)->m_state
);
27663 resultobj
= SWIG_From_long(static_cast< long >(result
));
27670 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27671 PyObject
*resultobj
= 0;
27672 wxListItem
*arg1
= (wxListItem
*) 0 ;
27678 PyObject
*swig_obj
[2] ;
27680 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27685 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27686 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27687 if (!SWIG_IsOK(ecode2
)) {
27688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27690 arg2
= static_cast< long >(val2
);
27691 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27693 resultobj
= SWIG_Py_Void();
27700 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27701 PyObject
*resultobj
= 0;
27702 wxListItem
*arg1
= (wxListItem
*) 0 ;
27706 PyObject
*swig_obj
[1] ;
27708 if (!args
) SWIG_fail
;
27709 swig_obj
[0] = args
;
27710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27711 if (!SWIG_IsOK(res1
)) {
27712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27714 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27715 result
= (long) ((arg1
)->m_stateMask
);
27716 resultobj
= SWIG_From_long(static_cast< long >(result
));
27723 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27724 PyObject
*resultobj
= 0;
27725 wxListItem
*arg1
= (wxListItem
*) 0 ;
27726 wxString
*arg2
= (wxString
*) 0 ;
27729 bool temp2
= false ;
27730 PyObject
*swig_obj
[2] ;
27732 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27737 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27739 arg2
= wxString_in_helper(swig_obj
[1]);
27740 if (arg2
== NULL
) SWIG_fail
;
27743 if (arg1
) (arg1
)->m_text
= *arg2
;
27745 resultobj
= SWIG_Py_Void();
27760 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27761 PyObject
*resultobj
= 0;
27762 wxListItem
*arg1
= (wxListItem
*) 0 ;
27763 wxString
*result
= 0 ;
27766 PyObject
*swig_obj
[1] ;
27768 if (!args
) SWIG_fail
;
27769 swig_obj
[0] = args
;
27770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27771 if (!SWIG_IsOK(res1
)) {
27772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27774 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27775 result
= (wxString
*)& ((arg1
)->m_text
);
27778 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27780 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27789 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27790 PyObject
*resultobj
= 0;
27791 wxListItem
*arg1
= (wxListItem
*) 0 ;
27797 PyObject
*swig_obj
[2] ;
27799 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27801 if (!SWIG_IsOK(res1
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27804 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27805 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27806 if (!SWIG_IsOK(ecode2
)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27809 arg2
= static_cast< int >(val2
);
27810 if (arg1
) (arg1
)->m_image
= arg2
;
27812 resultobj
= SWIG_Py_Void();
27819 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27820 PyObject
*resultobj
= 0;
27821 wxListItem
*arg1
= (wxListItem
*) 0 ;
27825 PyObject
*swig_obj
[1] ;
27827 if (!args
) SWIG_fail
;
27828 swig_obj
[0] = args
;
27829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27830 if (!SWIG_IsOK(res1
)) {
27831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27833 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27834 result
= (int) ((arg1
)->m_image
);
27835 resultobj
= SWIG_From_int(static_cast< int >(result
));
27842 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27843 PyObject
*resultobj
= 0;
27844 wxListItem
*arg1
= (wxListItem
*) 0 ;
27850 PyObject
*swig_obj
[2] ;
27852 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27854 if (!SWIG_IsOK(res1
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27857 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27858 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27859 if (!SWIG_IsOK(ecode2
)) {
27860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27862 arg2
= static_cast< long >(val2
);
27863 if (arg1
) (arg1
)->m_data
= arg2
;
27865 resultobj
= SWIG_Py_Void();
27872 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27873 PyObject
*resultobj
= 0;
27874 wxListItem
*arg1
= (wxListItem
*) 0 ;
27878 PyObject
*swig_obj
[1] ;
27880 if (!args
) SWIG_fail
;
27881 swig_obj
[0] = args
;
27882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27883 if (!SWIG_IsOK(res1
)) {
27884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27886 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27887 result
= (long) ((arg1
)->m_data
);
27888 resultobj
= SWIG_From_long(static_cast< long >(result
));
27895 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27896 PyObject
*resultobj
= 0;
27897 wxListItem
*arg1
= (wxListItem
*) 0 ;
27903 PyObject
*swig_obj
[2] ;
27905 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27907 if (!SWIG_IsOK(res1
)) {
27908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27910 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27911 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27912 if (!SWIG_IsOK(ecode2
)) {
27913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27915 arg2
= static_cast< int >(val2
);
27916 if (arg1
) (arg1
)->m_format
= arg2
;
27918 resultobj
= SWIG_Py_Void();
27925 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27926 PyObject
*resultobj
= 0;
27927 wxListItem
*arg1
= (wxListItem
*) 0 ;
27931 PyObject
*swig_obj
[1] ;
27933 if (!args
) SWIG_fail
;
27934 swig_obj
[0] = args
;
27935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27936 if (!SWIG_IsOK(res1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27939 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27940 result
= (int) ((arg1
)->m_format
);
27941 resultobj
= SWIG_From_int(static_cast< int >(result
));
27948 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27949 PyObject
*resultobj
= 0;
27950 wxListItem
*arg1
= (wxListItem
*) 0 ;
27956 PyObject
*swig_obj
[2] ;
27958 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27960 if (!SWIG_IsOK(res1
)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27963 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27964 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27965 if (!SWIG_IsOK(ecode2
)) {
27966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27968 arg2
= static_cast< int >(val2
);
27969 if (arg1
) (arg1
)->m_width
= arg2
;
27971 resultobj
= SWIG_Py_Void();
27978 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27979 PyObject
*resultobj
= 0;
27980 wxListItem
*arg1
= (wxListItem
*) 0 ;
27984 PyObject
*swig_obj
[1] ;
27986 if (!args
) SWIG_fail
;
27987 swig_obj
[0] = args
;
27988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27989 if (!SWIG_IsOK(res1
)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27992 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27993 result
= (int) ((arg1
)->m_width
);
27994 resultobj
= SWIG_From_int(static_cast< int >(result
));
28001 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28004 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28005 return SWIG_Py_Void();
28008 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28009 return SWIG_Python_InitShadowInstance(args
);
28012 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
= 0;
28014 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28015 int arg2
= (int) 0 ;
28016 wxListEvent
*result
= 0 ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 char * kwnames
[] = {
28024 (char *) "commandType",(char *) "id", NULL
28027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28030 if (!SWIG_IsOK(ecode1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28033 arg1
= static_cast< wxEventType
>(val1
);
28036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28037 if (!SWIG_IsOK(ecode2
)) {
28038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28040 arg2
= static_cast< int >(val2
);
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28055 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28056 PyObject
*resultobj
= 0;
28057 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28063 PyObject
*swig_obj
[2] ;
28065 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28070 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28071 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28072 if (!SWIG_IsOK(ecode2
)) {
28073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28075 arg2
= static_cast< int >(val2
);
28076 if (arg1
) (arg1
)->m_code
= arg2
;
28078 resultobj
= SWIG_Py_Void();
28085 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28086 PyObject
*resultobj
= 0;
28087 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28091 PyObject
*swig_obj
[1] ;
28093 if (!args
) SWIG_fail
;
28094 swig_obj
[0] = args
;
28095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28096 if (!SWIG_IsOK(res1
)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28099 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28100 result
= (int) ((arg1
)->m_code
);
28101 resultobj
= SWIG_From_int(static_cast< int >(result
));
28108 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28109 PyObject
*resultobj
= 0;
28110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28116 PyObject
*swig_obj
[2] ;
28118 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28123 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28124 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28125 if (!SWIG_IsOK(ecode2
)) {
28126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28128 arg2
= static_cast< long >(val2
);
28129 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28131 resultobj
= SWIG_Py_Void();
28138 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28139 PyObject
*resultobj
= 0;
28140 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28144 PyObject
*swig_obj
[1] ;
28146 if (!args
) SWIG_fail
;
28147 swig_obj
[0] = args
;
28148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28149 if (!SWIG_IsOK(res1
)) {
28150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28152 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28153 result
= (long) ((arg1
)->m_oldItemIndex
);
28154 resultobj
= SWIG_From_long(static_cast< long >(result
));
28161 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28162 PyObject
*resultobj
= 0;
28163 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28169 PyObject
*swig_obj
[2] ;
28171 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28173 if (!SWIG_IsOK(res1
)) {
28174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28176 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28177 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28178 if (!SWIG_IsOK(ecode2
)) {
28179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28181 arg2
= static_cast< long >(val2
);
28182 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28184 resultobj
= SWIG_Py_Void();
28191 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28192 PyObject
*resultobj
= 0;
28193 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28197 PyObject
*swig_obj
[1] ;
28199 if (!args
) SWIG_fail
;
28200 swig_obj
[0] = args
;
28201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28205 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28206 result
= (long) ((arg1
)->m_itemIndex
);
28207 resultobj
= SWIG_From_long(static_cast< long >(result
));
28214 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28215 PyObject
*resultobj
= 0;
28216 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28222 PyObject
*swig_obj
[2] ;
28224 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28226 if (!SWIG_IsOK(res1
)) {
28227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28229 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28230 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28231 if (!SWIG_IsOK(ecode2
)) {
28232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28234 arg2
= static_cast< int >(val2
);
28235 if (arg1
) (arg1
)->m_col
= arg2
;
28237 resultobj
= SWIG_Py_Void();
28244 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28245 PyObject
*resultobj
= 0;
28246 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28250 PyObject
*swig_obj
[1] ;
28252 if (!args
) SWIG_fail
;
28253 swig_obj
[0] = args
;
28254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28255 if (!SWIG_IsOK(res1
)) {
28256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28258 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28259 result
= (int) ((arg1
)->m_col
);
28260 resultobj
= SWIG_From_int(static_cast< int >(result
));
28267 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28268 PyObject
*resultobj
= 0;
28269 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28270 wxPoint
*arg2
= (wxPoint
*) 0 ;
28275 PyObject
*swig_obj
[2] ;
28277 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28279 if (!SWIG_IsOK(res1
)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28282 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28283 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28284 if (!SWIG_IsOK(res2
)) {
28285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28287 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28288 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28290 resultobj
= SWIG_Py_Void();
28297 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28298 PyObject
*resultobj
= 0;
28299 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28300 wxPoint
*result
= 0 ;
28303 PyObject
*swig_obj
[1] ;
28305 if (!args
) SWIG_fail
;
28306 swig_obj
[0] = args
;
28307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28308 if (!SWIG_IsOK(res1
)) {
28309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28311 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28312 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28320 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28321 PyObject
*resultobj
= 0;
28322 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28323 wxListItem
*result
= 0 ;
28326 PyObject
*swig_obj
[1] ;
28328 if (!args
) SWIG_fail
;
28329 swig_obj
[0] = args
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28334 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28335 result
= (wxListItem
*)& ((arg1
)->m_item
);
28337 resultobj
= wxPyMake_wxObject(result
, 0);
28345 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28346 PyObject
*resultobj
= 0;
28347 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28351 PyObject
*swig_obj
[1] ;
28353 if (!args
) SWIG_fail
;
28354 swig_obj
[0] = args
;
28355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28356 if (!SWIG_IsOK(res1
)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28359 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= (int)(arg1
)->GetKeyCode();
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= SWIG_From_int(static_cast< int >(result
));
28373 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28374 PyObject
*resultobj
= 0;
28375 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28379 PyObject
*swig_obj
[1] ;
28381 if (!args
) SWIG_fail
;
28382 swig_obj
[0] = args
;
28383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28384 if (!SWIG_IsOK(res1
)) {
28385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28387 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= (long)(arg1
)->GetIndex();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= SWIG_From_long(static_cast< long >(result
));
28401 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28402 PyObject
*resultobj
= 0;
28403 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28407 PyObject
*swig_obj
[1] ;
28409 if (!args
) SWIG_fail
;
28410 swig_obj
[0] = args
;
28411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28412 if (!SWIG_IsOK(res1
)) {
28413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28415 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= (int)(arg1
)->GetColumn();
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= SWIG_From_int(static_cast< int >(result
));
28429 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28430 PyObject
*resultobj
= 0;
28431 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28435 PyObject
*swig_obj
[1] ;
28437 if (!args
) SWIG_fail
;
28438 swig_obj
[0] = args
;
28439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28440 if (!SWIG_IsOK(res1
)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28443 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 result
= (arg1
)->GetPoint();
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28457 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28458 PyObject
*resultobj
= 0;
28459 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28460 wxString
*result
= 0 ;
28463 PyObject
*swig_obj
[1] ;
28465 if (!args
) SWIG_fail
;
28466 swig_obj
[0] = args
;
28467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28468 if (!SWIG_IsOK(res1
)) {
28469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28471 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 wxString
const &_result_ref
= (arg1
)->GetLabel();
28476 result
= (wxString
*) &_result_ref
;
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28494 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28495 PyObject
*resultobj
= 0;
28496 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28497 wxString
*result
= 0 ;
28500 PyObject
*swig_obj
[1] ;
28502 if (!args
) SWIG_fail
;
28503 swig_obj
[0] = args
;
28504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28508 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 wxString
const &_result_ref
= (arg1
)->GetText();
28513 result
= (wxString
*) &_result_ref
;
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28522 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28531 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28532 PyObject
*resultobj
= 0;
28533 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28537 PyObject
*swig_obj
[1] ;
28539 if (!args
) SWIG_fail
;
28540 swig_obj
[0] = args
;
28541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28545 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (int)(arg1
)->GetImage();
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= SWIG_From_int(static_cast< int >(result
));
28559 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28560 PyObject
*resultobj
= 0;
28561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28565 PyObject
*swig_obj
[1] ;
28567 if (!args
) SWIG_fail
;
28568 swig_obj
[0] = args
;
28569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28570 if (!SWIG_IsOK(res1
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28573 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 result
= (long)(arg1
)->GetData();
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 resultobj
= SWIG_From_long(static_cast< long >(result
));
28587 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28588 PyObject
*resultobj
= 0;
28589 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28593 PyObject
*swig_obj
[1] ;
28595 if (!args
) SWIG_fail
;
28596 swig_obj
[0] = args
;
28597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28601 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (long)(arg1
)->GetMask();
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= SWIG_From_long(static_cast< long >(result
));
28615 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28616 PyObject
*resultobj
= 0;
28617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28618 wxListItem
*result
= 0 ;
28621 PyObject
*swig_obj
[1] ;
28623 if (!args
) SWIG_fail
;
28624 swig_obj
[0] = args
;
28625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28629 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28634 result
= (wxListItem
*) &_result_ref
;
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28646 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28647 PyObject
*resultobj
= 0;
28648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28652 PyObject
*swig_obj
[1] ;
28654 if (!args
) SWIG_fail
;
28655 swig_obj
[0] = args
;
28656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28660 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 result
= (long)(arg1
)->GetCacheFrom();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 resultobj
= SWIG_From_long(static_cast< long >(result
));
28674 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28675 PyObject
*resultobj
= 0;
28676 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28680 PyObject
*swig_obj
[1] ;
28682 if (!args
) SWIG_fail
;
28683 swig_obj
[0] = args
;
28684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28685 if (!SWIG_IsOK(res1
)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28688 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= (long)(arg1
)->GetCacheTo();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_From_long(static_cast< long >(result
));
28702 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28703 PyObject
*resultobj
= 0;
28704 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28708 PyObject
*swig_obj
[1] ;
28710 if (!args
) SWIG_fail
;
28711 swig_obj
[0] = args
;
28712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28713 if (!SWIG_IsOK(res1
)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28716 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28732 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
= 0;
28734 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char * kwnames
[] = {
28743 (char *) "self",(char *) "editCancelled", NULL
28746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28748 if (!SWIG_IsOK(res1
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28751 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28752 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28753 if (!SWIG_IsOK(ecode2
)) {
28754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28756 arg2
= static_cast< bool >(val2
);
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 (arg1
)->SetEditCanceled(arg2
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= SWIG_Py_Void();
28770 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28773 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28774 return SWIG_Py_Void();
28777 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28778 return SWIG_Python_InitShadowInstance(args
);
28781 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
= 0;
28783 wxWindow
*arg1
= (wxWindow
*) 0 ;
28784 int arg2
= (int) -1 ;
28785 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28786 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28787 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28788 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28789 long arg5
= (long) wxLC_ICON
;
28790 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28791 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28792 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28793 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28794 wxPyListCtrl
*result
= 0 ;
28805 bool temp7
= false ;
28806 PyObject
* obj0
= 0 ;
28807 PyObject
* obj1
= 0 ;
28808 PyObject
* obj2
= 0 ;
28809 PyObject
* obj3
= 0 ;
28810 PyObject
* obj4
= 0 ;
28811 PyObject
* obj5
= 0 ;
28812 PyObject
* obj6
= 0 ;
28813 char * kwnames
[] = {
28814 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28819 if (!SWIG_IsOK(res1
)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28825 if (!SWIG_IsOK(ecode2
)) {
28826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28828 arg2
= static_cast< int >(val2
);
28833 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28839 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28843 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28844 if (!SWIG_IsOK(ecode5
)) {
28845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28847 arg5
= static_cast< long >(val5
);
28850 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28851 if (!SWIG_IsOK(res6
)) {
28852 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28857 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28861 arg7
= wxString_in_helper(obj6
);
28862 if (arg7
== NULL
) SWIG_fail
;
28867 if (!wxPyCheckForApp()) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28888 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28889 PyObject
*resultobj
= 0;
28890 wxPyListCtrl
*result
= 0 ;
28892 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28894 if (!wxPyCheckForApp()) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28907 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
= 0;
28909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28910 wxWindow
*arg2
= (wxWindow
*) 0 ;
28911 int arg3
= (int) -1 ;
28912 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28913 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28914 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28915 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28916 long arg6
= (long) wxLC_ICON
;
28917 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28918 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28919 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28920 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28934 bool temp8
= false ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 PyObject
* obj2
= 0 ;
28938 PyObject
* obj3
= 0 ;
28939 PyObject
* obj4
= 0 ;
28940 PyObject
* obj5
= 0 ;
28941 PyObject
* obj6
= 0 ;
28942 PyObject
* obj7
= 0 ;
28943 char * kwnames
[] = {
28944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28949 if (!SWIG_IsOK(res1
)) {
28950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28952 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28954 if (!SWIG_IsOK(res2
)) {
28955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28957 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28960 if (!SWIG_IsOK(ecode3
)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28963 arg3
= static_cast< int >(val3
);
28968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28978 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28979 if (!SWIG_IsOK(ecode6
)) {
28980 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28982 arg6
= static_cast< long >(val6
);
28985 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28986 if (!SWIG_IsOK(res7
)) {
28987 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28992 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28996 arg8
= wxString_in_helper(obj7
);
28997 if (arg8
== NULL
) SWIG_fail
;
29002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29024 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
= 0;
29026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29027 PyObject
*arg2
= (PyObject
*) 0 ;
29028 PyObject
*arg3
= (PyObject
*) 0 ;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 PyObject
* obj2
= 0 ;
29034 char * kwnames
[] = {
29035 (char *) "self",(char *) "self",(char *) "_class", NULL
29038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29040 if (!SWIG_IsOK(res1
)) {
29041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29043 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= SWIG_Py_Void();
29059 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29060 PyObject
*resultobj
= 0;
29061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29063 wxListItem
*result
= 0 ;
29068 PyObject
* obj0
= 0 ;
29069 PyObject
* obj1
= 0 ;
29070 char * kwnames
[] = {
29071 (char *) "self",(char *) "col", NULL
29074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29076 if (!SWIG_IsOK(res1
)) {
29077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29079 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29081 if (!SWIG_IsOK(ecode2
)) {
29082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29084 arg2
= static_cast< int >(val2
);
29086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29087 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= wxPyMake_wxObject(result
, 0);
29100 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
= 0;
29102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29104 wxListItem
*arg3
= 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 char * kwnames
[] = {
29116 (char *) "self",(char *) "col",(char *) "item", NULL
29119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29121 if (!SWIG_IsOK(res1
)) {
29122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29124 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29126 if (!SWIG_IsOK(ecode2
)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29129 arg2
= static_cast< int >(val2
);
29130 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29131 if (!SWIG_IsOK(res3
)) {
29132 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29137 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29153 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
= 0;
29155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 char * kwnames
[] = {
29165 (char *) "self",(char *) "col", NULL
29168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29170 if (!SWIG_IsOK(res1
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29173 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29175 if (!SWIG_IsOK(ecode2
)) {
29176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29178 arg2
= static_cast< int >(val2
);
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= SWIG_From_int(static_cast< int >(result
));
29192 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29193 PyObject
*resultobj
= 0;
29194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29204 PyObject
* obj0
= 0 ;
29205 PyObject
* obj1
= 0 ;
29206 PyObject
* obj2
= 0 ;
29207 char * kwnames
[] = {
29208 (char *) "self",(char *) "col",(char *) "width", NULL
29211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29213 if (!SWIG_IsOK(res1
)) {
29214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29216 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29218 if (!SWIG_IsOK(ecode2
)) {
29219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29221 arg2
= static_cast< int >(val2
);
29222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29223 if (!SWIG_IsOK(ecode3
)) {
29224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29226 arg3
= static_cast< int >(val3
);
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29242 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29243 PyObject
*resultobj
= 0;
29244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29248 PyObject
*swig_obj
[1] ;
29250 if (!args
) SWIG_fail
;
29251 swig_obj
[0] = args
;
29252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29256 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_From_int(static_cast< int >(result
));
29270 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29271 PyObject
*resultobj
= 0;
29272 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29276 PyObject
*swig_obj
[1] ;
29278 if (!args
) SWIG_fail
;
29279 swig_obj
[0] = args
;
29280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29281 if (!SWIG_IsOK(res1
)) {
29282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29284 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29288 wxPyEndAllowThreads(__tstate
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29298 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29299 PyObject
*resultobj
= 0;
29300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29301 wxTextCtrl
*result
= 0 ;
29304 PyObject
*swig_obj
[1] ;
29306 if (!args
) SWIG_fail
;
29307 swig_obj
[0] = args
;
29308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29309 if (!SWIG_IsOK(res1
)) {
29310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29312 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29315 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= wxPyMake_wxObject(result
, 0);
29328 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
= 0;
29330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29332 int arg3
= (int) 0 ;
29333 wxListItem
*result
= 0 ;
29340 PyObject
* obj0
= 0 ;
29341 PyObject
* obj1
= 0 ;
29342 PyObject
* obj2
= 0 ;
29343 char * kwnames
[] = {
29344 (char *) "self",(char *) "itemId",(char *) "col", NULL
29347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29349 if (!SWIG_IsOK(res1
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29352 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29353 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29354 if (!SWIG_IsOK(ecode2
)) {
29355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29357 arg2
= static_cast< long >(val2
);
29359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29360 if (!SWIG_IsOK(ecode3
)) {
29361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29363 arg3
= static_cast< int >(val3
);
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= wxPyMake_wxObject(result
, 0);
29380 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
= 0;
29382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29383 wxListItem
*arg2
= 0 ;
29389 PyObject
* obj0
= 0 ;
29390 PyObject
* obj1
= 0 ;
29391 char * kwnames
[] = {
29392 (char *) "self",(char *) "info", NULL
29395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29402 if (!SWIG_IsOK(res2
)) {
29403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29408 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (bool)(arg1
)->SetItem(*arg2
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29424 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
= 0;
29426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29429 wxString
*arg4
= 0 ;
29430 int arg5
= (int) -1 ;
29438 bool temp4
= false ;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 PyObject
* obj2
= 0 ;
29444 PyObject
* obj3
= 0 ;
29445 PyObject
* obj4
= 0 ;
29446 char * kwnames
[] = {
29447 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29452 if (!SWIG_IsOK(res1
)) {
29453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29455 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29456 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29457 if (!SWIG_IsOK(ecode2
)) {
29458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29460 arg2
= static_cast< long >(val2
);
29461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29462 if (!SWIG_IsOK(ecode3
)) {
29463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29465 arg3
= static_cast< int >(val3
);
29467 arg4
= wxString_in_helper(obj3
);
29468 if (arg4
== NULL
) SWIG_fail
;
29472 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29473 if (!SWIG_IsOK(ecode5
)) {
29474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29476 arg5
= static_cast< int >(val5
);
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29484 resultobj
= SWIG_From_long(static_cast< long >(result
));
29499 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
= 0;
29501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29511 PyObject
* obj0
= 0 ;
29512 PyObject
* obj1
= 0 ;
29513 PyObject
* obj2
= 0 ;
29514 char * kwnames
[] = {
29515 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29520 if (!SWIG_IsOK(res1
)) {
29521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29523 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29524 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29525 if (!SWIG_IsOK(ecode2
)) {
29526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29528 arg2
= static_cast< long >(val2
);
29529 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29530 if (!SWIG_IsOK(ecode3
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29533 arg3
= static_cast< long >(val3
);
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29540 resultobj
= SWIG_From_int(static_cast< int >(result
));
29547 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
= 0;
29549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 PyObject
* obj2
= 0 ;
29565 PyObject
* obj3
= 0 ;
29566 char * kwnames
[] = {
29567 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29572 if (!SWIG_IsOK(res1
)) {
29573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29575 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29576 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29577 if (!SWIG_IsOK(ecode2
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29580 arg2
= static_cast< long >(val2
);
29581 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29582 if (!SWIG_IsOK(ecode3
)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29585 arg3
= static_cast< long >(val3
);
29586 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29587 if (!SWIG_IsOK(ecode4
)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29590 arg4
= static_cast< long >(val4
);
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29606 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
= 0;
29608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29611 int arg4
= (int) -1 ;
29621 PyObject
* obj0
= 0 ;
29622 PyObject
* obj1
= 0 ;
29623 PyObject
* obj2
= 0 ;
29624 PyObject
* obj3
= 0 ;
29625 char * kwnames
[] = {
29626 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29631 if (!SWIG_IsOK(res1
)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29634 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29635 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29636 if (!SWIG_IsOK(ecode2
)) {
29637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29639 arg2
= static_cast< long >(val2
);
29640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29641 if (!SWIG_IsOK(ecode3
)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29644 arg3
= static_cast< int >(val3
);
29646 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29647 if (!SWIG_IsOK(ecode4
)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29650 arg4
= static_cast< int >(val4
);
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29667 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
= 0;
29669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 PyObject
* obj2
= 0 ;
29685 PyObject
* obj3
= 0 ;
29686 char * kwnames
[] = {
29687 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29692 if (!SWIG_IsOK(res1
)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29695 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29696 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29697 if (!SWIG_IsOK(ecode2
)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29700 arg2
= static_cast< long >(val2
);
29701 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29702 if (!SWIG_IsOK(ecode3
)) {
29703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29705 arg3
= static_cast< long >(val3
);
29706 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29707 if (!SWIG_IsOK(ecode4
)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29710 arg4
= static_cast< int >(val4
);
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29726 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
= 0;
29728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29735 PyObject
* obj0
= 0 ;
29736 PyObject
* obj1
= 0 ;
29737 char * kwnames
[] = {
29738 (char *) "self",(char *) "item", NULL
29741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29743 if (!SWIG_IsOK(res1
)) {
29744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29746 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29747 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29748 if (!SWIG_IsOK(ecode2
)) {
29749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29751 arg2
= static_cast< long >(val2
);
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29755 wxPyEndAllowThreads(__tstate
);
29756 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29771 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29772 PyObject
*resultobj
= 0;
29773 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29775 wxString
*arg3
= 0 ;
29780 bool temp3
= false ;
29781 PyObject
* obj0
= 0 ;
29782 PyObject
* obj1
= 0 ;
29783 PyObject
* obj2
= 0 ;
29784 char * kwnames
[] = {
29785 (char *) "self",(char *) "item",(char *) "str", NULL
29788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29790 if (!SWIG_IsOK(res1
)) {
29791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29793 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29794 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29795 if (!SWIG_IsOK(ecode2
)) {
29796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29798 arg2
= static_cast< long >(val2
);
29800 arg3
= wxString_in_helper(obj2
);
29801 if (arg3
== NULL
) SWIG_fail
;
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29810 resultobj
= SWIG_Py_Void();
29825 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29826 PyObject
*resultobj
= 0;
29827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29834 PyObject
* obj0
= 0 ;
29835 PyObject
* obj1
= 0 ;
29836 char * kwnames
[] = {
29837 (char *) "self",(char *) "item", NULL
29840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29842 if (!SWIG_IsOK(res1
)) {
29843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29845 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29846 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29847 if (!SWIG_IsOK(ecode2
)) {
29848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29850 arg2
= static_cast< long >(val2
);
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_From_long(static_cast< long >(result
));
29864 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
= 0;
29866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29876 PyObject
* obj0
= 0 ;
29877 PyObject
* obj1
= 0 ;
29878 PyObject
* obj2
= 0 ;
29879 char * kwnames
[] = {
29880 (char *) "self",(char *) "item",(char *) "data", NULL
29883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29885 if (!SWIG_IsOK(res1
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29888 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29890 if (!SWIG_IsOK(ecode2
)) {
29891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29893 arg2
= static_cast< long >(val2
);
29894 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29895 if (!SWIG_IsOK(ecode3
)) {
29896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29898 arg3
= static_cast< long >(val3
);
29900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29901 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29914 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
= 0;
29916 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 char * kwnames
[] = {
29926 (char *) "self",(char *) "item", NULL
29929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29931 if (!SWIG_IsOK(res1
)) {
29932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29934 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29935 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29936 if (!SWIG_IsOK(ecode2
)) {
29937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29939 arg2
= static_cast< long >(val2
);
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29953 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
= 0;
29955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29957 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 PyObject
* obj2
= 0 ;
29968 char * kwnames
[] = {
29969 (char *) "self",(char *) "item",(char *) "code", NULL
29972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29974 if (!SWIG_IsOK(res1
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29977 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29979 if (!SWIG_IsOK(ecode2
)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29982 arg2
= static_cast< long >(val2
);
29984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29985 if (!SWIG_IsOK(ecode3
)) {
29986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29988 arg3
= static_cast< int >(val3
);
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30003 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30004 PyObject
*resultobj
= 0;
30005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30007 wxPoint
*arg3
= 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 PyObject
* obj2
= 0 ;
30017 char * kwnames
[] = {
30018 (char *) "self",(char *) "item",(char *) "pos", NULL
30021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30023 if (!SWIG_IsOK(res1
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30026 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30027 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30028 if (!SWIG_IsOK(ecode2
)) {
30029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30031 arg2
= static_cast< long >(val2
);
30034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30051 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30052 PyObject
*resultobj
= 0;
30053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30057 PyObject
*swig_obj
[1] ;
30059 if (!args
) SWIG_fail
;
30060 swig_obj
[0] = args
;
30061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30062 if (!SWIG_IsOK(res1
)) {
30063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30065 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_From_int(static_cast< int >(result
));
30079 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30080 PyObject
*resultobj
= 0;
30081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30085 PyObject
*swig_obj
[1] ;
30087 if (!args
) SWIG_fail
;
30088 swig_obj
[0] = args
;
30089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30090 if (!SWIG_IsOK(res1
)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30093 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= SWIG_From_int(static_cast< int >(result
));
30107 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30108 PyObject
*resultobj
= 0;
30109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30113 PyObject
*swig_obj
[1] ;
30115 if (!args
) SWIG_fail
;
30116 swig_obj
[0] = args
;
30117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30118 if (!SWIG_IsOK(res1
)) {
30119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30135 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30136 PyObject
*resultobj
= 0;
30137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30139 bool arg3
= (bool) false ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 PyObject
* obj2
= 0 ;
30149 char * kwnames
[] = {
30150 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30155 if (!SWIG_IsOK(res1
)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30158 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30160 if (!SWIG_IsOK(ecode2
)) {
30161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30163 arg2
= static_cast< int >(val2
);
30165 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30166 if (!SWIG_IsOK(ecode3
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30169 arg3
= static_cast< bool >(val3
);
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 (arg1
)->SetItemSpacing(arg2
,arg3
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= SWIG_Py_Void();
30184 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30185 PyObject
*resultobj
= 0;
30186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30190 PyObject
*swig_obj
[1] ;
30192 if (!args
) SWIG_fail
;
30193 swig_obj
[0] = args
;
30194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30195 if (!SWIG_IsOK(res1
)) {
30196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30198 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30205 resultobj
= SWIG_From_int(static_cast< int >(result
));
30212 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30213 PyObject
*resultobj
= 0;
30214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30218 PyObject
*swig_obj
[1] ;
30220 if (!args
) SWIG_fail
;
30221 swig_obj
[0] = args
;
30222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30223 if (!SWIG_IsOK(res1
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30226 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30233 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30240 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
= 0;
30242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30243 wxColour
*arg2
= 0 ;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 char * kwnames
[] = {
30250 (char *) "self",(char *) "col", NULL
30253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30255 if (!SWIG_IsOK(res1
)) {
30256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30258 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30261 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= SWIG_Py_Void();
30276 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30277 PyObject
*resultobj
= 0;
30278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30282 PyObject
*swig_obj
[1] ;
30284 if (!args
) SWIG_fail
;
30285 swig_obj
[0] = args
;
30286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30287 if (!SWIG_IsOK(res1
)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30290 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_From_long(static_cast< long >(result
));
30304 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
= 0;
30306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30308 bool arg3
= (bool) true ;
30315 PyObject
* obj0
= 0 ;
30316 PyObject
* obj1
= 0 ;
30317 PyObject
* obj2
= 0 ;
30318 char * kwnames
[] = {
30319 (char *) "self",(char *) "style",(char *) "add", NULL
30322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30324 if (!SWIG_IsOK(res1
)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30327 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30328 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30329 if (!SWIG_IsOK(ecode2
)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30332 arg2
= static_cast< long >(val2
);
30334 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30335 if (!SWIG_IsOK(ecode3
)) {
30336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30338 arg3
= static_cast< bool >(val3
);
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 (arg1
)->SetSingleStyle(arg2
,arg3
);
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_Py_Void();
30353 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
= 0;
30355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30357 int arg3
= (int) wxLIST_NEXT_ALL
;
30358 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 PyObject
* obj2
= 0 ;
30371 PyObject
* obj3
= 0 ;
30372 char * kwnames
[] = {
30373 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30378 if (!SWIG_IsOK(res1
)) {
30379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30381 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30383 if (!SWIG_IsOK(ecode2
)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30386 arg2
= static_cast< long >(val2
);
30388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30389 if (!SWIG_IsOK(ecode3
)) {
30390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30392 arg3
= static_cast< int >(val3
);
30395 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30396 if (!SWIG_IsOK(ecode4
)) {
30397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30399 arg4
= static_cast< int >(val4
);
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_From_long(static_cast< long >(result
));
30414 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
= 0;
30416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30418 wxImageList
*result
= 0 ;
30423 PyObject
* obj0
= 0 ;
30424 PyObject
* obj1
= 0 ;
30425 char * kwnames
[] = {
30426 (char *) "self",(char *) "which", NULL
30429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30431 if (!SWIG_IsOK(res1
)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30434 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30436 if (!SWIG_IsOK(ecode2
)) {
30437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30439 arg2
= static_cast< int >(val2
);
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30443 wxPyEndAllowThreads(__tstate
);
30444 if (PyErr_Occurred()) SWIG_fail
;
30447 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30455 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
= 0;
30457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30458 wxImageList
*arg2
= (wxImageList
*) 0 ;
30466 PyObject
* obj0
= 0 ;
30467 PyObject
* obj1
= 0 ;
30468 PyObject
* obj2
= 0 ;
30469 char * kwnames
[] = {
30470 (char *) "self",(char *) "imageList",(char *) "which", NULL
30473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30478 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30480 if (!SWIG_IsOK(res2
)) {
30481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30483 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30485 if (!SWIG_IsOK(ecode3
)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30488 arg3
= static_cast< int >(val3
);
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 (arg1
)->SetImageList(arg2
,arg3
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_Py_Void();
30502 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
= 0;
30504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30505 wxImageList
*arg2
= (wxImageList
*) 0 ;
30512 PyObject
* obj0
= 0 ;
30513 PyObject
* obj1
= 0 ;
30514 PyObject
* obj2
= 0 ;
30515 char * kwnames
[] = {
30516 (char *) "self",(char *) "imageList",(char *) "which", NULL
30519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30521 if (!SWIG_IsOK(res1
)) {
30522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30524 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30525 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30526 if (!SWIG_IsOK(res2
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30530 if (!SWIG_IsOK(ecode3
)) {
30531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30533 arg3
= static_cast< int >(val3
);
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 (arg1
)->AssignImageList(arg2
,arg3
);
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= SWIG_Py_Void();
30547 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30548 PyObject
*resultobj
= 0;
30549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30553 PyObject
*swig_obj
[1] ;
30555 if (!args
) SWIG_fail
;
30556 swig_obj
[0] = args
;
30557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30558 if (!SWIG_IsOK(res1
)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30561 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30577 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30578 PyObject
*resultobj
= 0;
30579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30583 PyObject
*swig_obj
[1] ;
30585 if (!args
) SWIG_fail
;
30586 swig_obj
[0] = args
;
30587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30588 if (!SWIG_IsOK(res1
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30591 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30607 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
= 0;
30609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30615 PyObject
* obj0
= 0 ;
30616 PyObject
* obj1
= 0 ;
30617 char * kwnames
[] = {
30618 (char *) "self",(char *) "item", NULL
30621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30623 if (!SWIG_IsOK(res1
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30626 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30627 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30628 if (!SWIG_IsOK(ecode2
)) {
30629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30631 arg2
= static_cast< long >(val2
);
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 (arg1
)->RefreshItem(arg2
);
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30638 resultobj
= SWIG_Py_Void();
30645 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30646 PyObject
*resultobj
= 0;
30647 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30656 PyObject
* obj0
= 0 ;
30657 PyObject
* obj1
= 0 ;
30658 PyObject
* obj2
= 0 ;
30659 char * kwnames
[] = {
30660 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) 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_RefreshItems" "', 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_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30673 arg2
= static_cast< long >(val2
);
30674 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30675 if (!SWIG_IsOK(ecode3
)) {
30676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30678 arg3
= static_cast< long >(val3
);
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 (arg1
)->RefreshItems(arg2
,arg3
);
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_Py_Void();
30692 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
= 0;
30694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30695 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char * kwnames
[] = {
30704 (char *) "self",(char *) "flag", NULL
30707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30709 if (!SWIG_IsOK(res1
)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30712 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30715 if (!SWIG_IsOK(ecode2
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30718 arg2
= static_cast< int >(val2
);
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= (bool)(arg1
)->Arrange(arg2
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30735 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30736 PyObject
*resultobj
= 0;
30737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30744 PyObject
* obj0
= 0 ;
30745 PyObject
* obj1
= 0 ;
30746 char * kwnames
[] = {
30747 (char *) "self",(char *) "item", NULL
30750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30752 if (!SWIG_IsOK(res1
)) {
30753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30755 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30756 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30757 if (!SWIG_IsOK(ecode2
)) {
30758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30760 arg2
= static_cast< long >(val2
);
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 result
= (bool)(arg1
)->DeleteItem(arg2
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30776 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30777 PyObject
*resultobj
= 0;
30778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30782 PyObject
*swig_obj
[1] ;
30784 if (!args
) SWIG_fail
;
30785 swig_obj
[0] = args
;
30786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30787 if (!SWIG_IsOK(res1
)) {
30788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30790 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 result
= (bool)(arg1
)->DeleteAllItems();
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30806 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
= 0;
30808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30815 PyObject
* obj0
= 0 ;
30816 PyObject
* obj1
= 0 ;
30817 char * kwnames
[] = {
30818 (char *) "self",(char *) "col", NULL
30821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30823 if (!SWIG_IsOK(res1
)) {
30824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30826 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30828 if (!SWIG_IsOK(ecode2
)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30831 arg2
= static_cast< int >(val2
);
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30847 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30848 PyObject
*resultobj
= 0;
30849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30853 PyObject
*swig_obj
[1] ;
30855 if (!args
) SWIG_fail
;
30856 swig_obj
[0] = args
;
30857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30858 if (!SWIG_IsOK(res1
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30861 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (bool)(arg1
)->DeleteAllColumns();
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30877 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30878 PyObject
*resultobj
= 0;
30879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30882 PyObject
*swig_obj
[1] ;
30884 if (!args
) SWIG_fail
;
30885 swig_obj
[0] = args
;
30886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30887 if (!SWIG_IsOK(res1
)) {
30888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30890 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 (arg1
)->ClearAll();
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= SWIG_Py_Void();
30904 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
= 0;
30906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30912 PyObject
* obj0
= 0 ;
30913 PyObject
* obj1
= 0 ;
30914 char * kwnames
[] = {
30915 (char *) "self",(char *) "item", NULL
30918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30920 if (!SWIG_IsOK(res1
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30925 if (!SWIG_IsOK(ecode2
)) {
30926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30928 arg2
= static_cast< long >(val2
);
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 (arg1
)->EditLabel(arg2
);
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_Py_Void();
30942 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
= 0;
30944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 PyObject
* obj1
= 0 ;
30953 char * kwnames
[] = {
30954 (char *) "self",(char *) "item", NULL
30957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30962 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30964 if (!SWIG_IsOK(ecode2
)) {
30965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30967 arg2
= static_cast< long >(val2
);
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30983 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
= 0;
30985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30987 wxString
*arg3
= 0 ;
30988 bool arg4
= (bool) false ;
30994 bool temp3
= false ;
30997 PyObject
* obj0
= 0 ;
30998 PyObject
* obj1
= 0 ;
30999 PyObject
* obj2
= 0 ;
31000 PyObject
* obj3
= 0 ;
31001 char * kwnames
[] = {
31002 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31010 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31012 if (!SWIG_IsOK(ecode2
)) {
31013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31015 arg2
= static_cast< long >(val2
);
31017 arg3
= wxString_in_helper(obj2
);
31018 if (arg3
== NULL
) SWIG_fail
;
31022 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31023 if (!SWIG_IsOK(ecode4
)) {
31024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31026 arg4
= static_cast< bool >(val4
);
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_From_long(static_cast< long >(result
));
31049 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31050 PyObject
*resultobj
= 0;
31051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31061 PyObject
* obj0
= 0 ;
31062 PyObject
* obj1
= 0 ;
31063 PyObject
* obj2
= 0 ;
31064 char * kwnames
[] = {
31065 (char *) "self",(char *) "start",(char *) "data", NULL
31068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31070 if (!SWIG_IsOK(res1
)) {
31071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31073 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31074 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31075 if (!SWIG_IsOK(ecode2
)) {
31076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31078 arg2
= static_cast< long >(val2
);
31079 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31080 if (!SWIG_IsOK(ecode3
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31083 arg3
= static_cast< long >(val3
);
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_From_long(static_cast< long >(result
));
31097 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
= 0;
31099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31101 wxPoint
*arg3
= 0 ;
31111 PyObject
* obj0
= 0 ;
31112 PyObject
* obj1
= 0 ;
31113 PyObject
* obj2
= 0 ;
31114 PyObject
* obj3
= 0 ;
31115 char * kwnames
[] = {
31116 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31121 if (!SWIG_IsOK(res1
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31124 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31125 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31126 if (!SWIG_IsOK(ecode2
)) {
31127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31129 arg2
= static_cast< long >(val2
);
31132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31135 if (!SWIG_IsOK(ecode4
)) {
31136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31138 arg4
= static_cast< int >(val4
);
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 resultobj
= SWIG_From_long(static_cast< long >(result
));
31152 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31153 PyObject
*resultobj
= 0;
31154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31155 wxPoint
*arg2
= 0 ;
31162 int res3
= SWIG_TMPOBJ
;
31163 PyObject
* obj0
= 0 ;
31164 PyObject
* obj1
= 0 ;
31165 char * kwnames
[] = {
31166 (char *) "self",(char *) "point", NULL
31170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31172 if (!SWIG_IsOK(res1
)) {
31173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31175 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31186 resultobj
= SWIG_From_long(static_cast< long >(result
));
31187 if (SWIG_IsTmpObj(res3
)) {
31188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31190 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31199 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31200 PyObject
*resultobj
= 0;
31201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31202 wxPoint
*arg2
= 0 ;
31204 long *arg4
= (long *) 0 ;
31210 int res3
= SWIG_TMPOBJ
;
31212 int res4
= SWIG_TMPOBJ
;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char * kwnames
[] = {
31216 (char *) "self",(char *) "point", NULL
31221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31223 if (!SWIG_IsOK(res1
)) {
31224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31226 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31234 wxPyEndAllowThreads(__tstate
);
31235 if (PyErr_Occurred()) SWIG_fail
;
31237 resultobj
= SWIG_From_long(static_cast< long >(result
));
31238 if (SWIG_IsTmpObj(res3
)) {
31239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31241 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31244 if (SWIG_IsTmpObj(res4
)) {
31245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31247 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31256 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31257 PyObject
*resultobj
= 0;
31258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31259 wxListItem
*arg2
= 0 ;
31265 PyObject
* obj0
= 0 ;
31266 PyObject
* obj1
= 0 ;
31267 char * kwnames
[] = {
31268 (char *) "self",(char *) "info", NULL
31271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31273 if (!SWIG_IsOK(res1
)) {
31274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31276 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31277 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31278 if (!SWIG_IsOK(res2
)) {
31279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31284 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31287 result
= (long)(arg1
)->InsertItem(*arg2
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 resultobj
= SWIG_From_long(static_cast< long >(result
));
31298 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
= 0;
31300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31302 wxString
*arg3
= 0 ;
31303 int arg4
= (int) -1 ;
31309 bool temp3
= false ;
31312 PyObject
* obj0
= 0 ;
31313 PyObject
* obj1
= 0 ;
31314 PyObject
* obj2
= 0 ;
31315 PyObject
* obj3
= 0 ;
31316 char * kwnames
[] = {
31317 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31322 if (!SWIG_IsOK(res1
)) {
31323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31325 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31326 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31327 if (!SWIG_IsOK(ecode2
)) {
31328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31330 arg2
= static_cast< long >(val2
);
31332 arg3
= wxString_in_helper(obj2
);
31333 if (arg3
== NULL
) SWIG_fail
;
31337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31338 if (!SWIG_IsOK(ecode4
)) {
31339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31341 arg4
= static_cast< int >(val4
);
31344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31345 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31349 resultobj
= SWIG_From_long(static_cast< long >(result
));
31364 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31365 PyObject
*resultobj
= 0;
31366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31376 PyObject
* obj0
= 0 ;
31377 PyObject
* obj1
= 0 ;
31378 PyObject
* obj2
= 0 ;
31379 char * kwnames
[] = {
31380 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31385 if (!SWIG_IsOK(res1
)) {
31386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31388 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31389 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31390 if (!SWIG_IsOK(ecode2
)) {
31391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31393 arg2
= static_cast< long >(val2
);
31394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31395 if (!SWIG_IsOK(ecode3
)) {
31396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31398 arg3
= static_cast< int >(val3
);
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= SWIG_From_long(static_cast< long >(result
));
31412 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31413 PyObject
*resultobj
= 0;
31414 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31416 wxString
*arg3
= 0 ;
31423 bool temp3
= false ;
31426 PyObject
* obj0
= 0 ;
31427 PyObject
* obj1
= 0 ;
31428 PyObject
* obj2
= 0 ;
31429 PyObject
* obj3
= 0 ;
31430 char * kwnames
[] = {
31431 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31436 if (!SWIG_IsOK(res1
)) {
31437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31439 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31440 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31441 if (!SWIG_IsOK(ecode2
)) {
31442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31444 arg2
= static_cast< long >(val2
);
31446 arg3
= wxString_in_helper(obj2
);
31447 if (arg3
== NULL
) SWIG_fail
;
31450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31451 if (!SWIG_IsOK(ecode4
)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31454 arg4
= static_cast< int >(val4
);
31456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31457 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= SWIG_From_long(static_cast< long >(result
));
31476 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
= 0;
31478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31480 wxListItem
*arg3
= 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 PyObject
* obj2
= 0 ;
31491 char * kwnames
[] = {
31492 (char *) "self",(char *) "col",(char *) "info", NULL
31495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31497 if (!SWIG_IsOK(res1
)) {
31498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31500 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31501 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31502 if (!SWIG_IsOK(ecode2
)) {
31503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31505 arg2
= static_cast< long >(val2
);
31506 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31507 if (!SWIG_IsOK(res3
)) {
31508 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31513 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_From_long(static_cast< long >(result
));
31527 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
= 0;
31529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31531 wxString
*arg3
= 0 ;
31532 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31533 int arg5
= (int) -1 ;
31539 bool temp3
= false ;
31544 PyObject
* obj0
= 0 ;
31545 PyObject
* obj1
= 0 ;
31546 PyObject
* obj2
= 0 ;
31547 PyObject
* obj3
= 0 ;
31548 PyObject
* obj4
= 0 ;
31549 char * kwnames
[] = {
31550 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31555 if (!SWIG_IsOK(res1
)) {
31556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31558 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31559 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31560 if (!SWIG_IsOK(ecode2
)) {
31561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31563 arg2
= static_cast< long >(val2
);
31565 arg3
= wxString_in_helper(obj2
);
31566 if (arg3
== NULL
) SWIG_fail
;
31570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31571 if (!SWIG_IsOK(ecode4
)) {
31572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31574 arg4
= static_cast< int >(val4
);
31577 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31578 if (!SWIG_IsOK(ecode5
)) {
31579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31581 arg5
= static_cast< int >(val5
);
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= SWIG_From_long(static_cast< long >(result
));
31604 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
= 0;
31606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31612 PyObject
* obj0
= 0 ;
31613 PyObject
* obj1
= 0 ;
31614 char * kwnames
[] = {
31615 (char *) "self",(char *) "count", NULL
31618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31620 if (!SWIG_IsOK(res1
)) {
31621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31625 if (!SWIG_IsOK(ecode2
)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31628 arg2
= static_cast< long >(val2
);
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 (arg1
)->SetItemCount(arg2
);
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31635 resultobj
= SWIG_Py_Void();
31642 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
= 0;
31644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31654 PyObject
* obj0
= 0 ;
31655 PyObject
* obj1
= 0 ;
31656 PyObject
* obj2
= 0 ;
31657 char * kwnames
[] = {
31658 (char *) "self",(char *) "dx",(char *) "dy", NULL
31661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31663 if (!SWIG_IsOK(res1
)) {
31664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31666 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31668 if (!SWIG_IsOK(ecode2
)) {
31669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31671 arg2
= static_cast< int >(val2
);
31672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31673 if (!SWIG_IsOK(ecode3
)) {
31674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31676 arg3
= static_cast< int >(val3
);
31678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31679 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31692 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31693 PyObject
*resultobj
= 0;
31694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31696 wxColour
*arg3
= 0 ;
31702 PyObject
* obj0
= 0 ;
31703 PyObject
* obj1
= 0 ;
31704 PyObject
* obj2
= 0 ;
31705 char * kwnames
[] = {
31706 (char *) "self",(char *) "item",(char *) "col", NULL
31709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31711 if (!SWIG_IsOK(res1
)) {
31712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31714 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31715 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31716 if (!SWIG_IsOK(ecode2
)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31719 arg2
= static_cast< long >(val2
);
31722 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= SWIG_Py_Void();
31737 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31738 PyObject
*resultobj
= 0;
31739 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31746 PyObject
* obj0
= 0 ;
31747 PyObject
* obj1
= 0 ;
31748 char * kwnames
[] = {
31749 (char *) "self",(char *) "item", NULL
31752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31754 if (!SWIG_IsOK(res1
)) {
31755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31757 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31758 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31759 if (!SWIG_IsOK(ecode2
)) {
31760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31762 arg2
= static_cast< long >(val2
);
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31776 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
= 0;
31778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31780 wxColour
*arg3
= 0 ;
31786 PyObject
* obj0
= 0 ;
31787 PyObject
* obj1
= 0 ;
31788 PyObject
* obj2
= 0 ;
31789 char * kwnames
[] = {
31790 (char *) "self",(char *) "item",(char *) "col", NULL
31793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31795 if (!SWIG_IsOK(res1
)) {
31796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31798 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31799 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31800 if (!SWIG_IsOK(ecode2
)) {
31801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31803 arg2
= static_cast< long >(val2
);
31806 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31810 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31811 wxPyEndAllowThreads(__tstate
);
31812 if (PyErr_Occurred()) SWIG_fail
;
31814 resultobj
= SWIG_Py_Void();
31821 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31822 PyObject
*resultobj
= 0;
31823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31830 PyObject
* obj0
= 0 ;
31831 PyObject
* obj1
= 0 ;
31832 char * kwnames
[] = {
31833 (char *) "self",(char *) "item", NULL
31836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31838 if (!SWIG_IsOK(res1
)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31841 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31842 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31843 if (!SWIG_IsOK(ecode2
)) {
31844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31846 arg2
= static_cast< long >(val2
);
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31850 wxPyEndAllowThreads(__tstate
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31853 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31860 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31861 PyObject
*resultobj
= 0;
31862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31871 PyObject
* obj0
= 0 ;
31872 PyObject
* obj1
= 0 ;
31873 PyObject
* obj2
= 0 ;
31874 char * kwnames
[] = {
31875 (char *) "self",(char *) "item",(char *) "f", NULL
31878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31880 if (!SWIG_IsOK(res1
)) {
31881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31883 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31884 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31885 if (!SWIG_IsOK(ecode2
)) {
31886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31888 arg2
= static_cast< long >(val2
);
31889 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31890 if (!SWIG_IsOK(res3
)) {
31891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31896 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31900 wxPyEndAllowThreads(__tstate
);
31901 if (PyErr_Occurred()) SWIG_fail
;
31903 resultobj
= SWIG_Py_Void();
31910 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31911 PyObject
*resultobj
= 0;
31912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31919 PyObject
* obj0
= 0 ;
31920 PyObject
* obj1
= 0 ;
31921 char * kwnames
[] = {
31922 (char *) "self",(char *) "item", NULL
31925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31927 if (!SWIG_IsOK(res1
)) {
31928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31930 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31932 if (!SWIG_IsOK(ecode2
)) {
31933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31935 arg2
= static_cast< long >(val2
);
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31939 wxPyEndAllowThreads(__tstate
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31949 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31950 PyObject
*resultobj
= 0;
31951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31952 PyObject
*arg2
= (PyObject
*) 0 ;
31956 PyObject
* obj0
= 0 ;
31957 PyObject
* obj1
= 0 ;
31958 char * kwnames
[] = {
31959 (char *) "self",(char *) "func", NULL
31962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31964 if (!SWIG_IsOK(res1
)) {
31965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31967 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31984 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31985 PyObject
*resultobj
= 0;
31986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31987 wxWindow
*result
= 0 ;
31990 PyObject
*swig_obj
[1] ;
31992 if (!args
) SWIG_fail
;
31993 swig_obj
[0] = args
;
31994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31995 if (!SWIG_IsOK(res1
)) {
31996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31998 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32002 wxPyEndAllowThreads(__tstate
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32006 resultobj
= wxPyMake_wxObject(result
, 0);
32014 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32015 PyObject
*resultobj
= 0;
32016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32017 SwigValueWrapper
<wxVisualAttributes
> result
;
32020 PyObject
* obj0
= 0 ;
32021 char * kwnames
[] = {
32022 (char *) "variant", NULL
32025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32028 if (!SWIG_IsOK(ecode1
)) {
32029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32031 arg1
= static_cast< wxWindowVariant
>(val1
);
32034 if (!wxPyCheckForApp()) SWIG_fail
;
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32047 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32051 return SWIG_Py_Void();
32054 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32055 return SWIG_Python_InitShadowInstance(args
);
32058 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
= 0;
32060 wxWindow
*arg1
= (wxWindow
*) 0 ;
32061 int arg2
= (int) -1 ;
32062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32066 long arg5
= (long) wxLC_REPORT
;
32067 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32068 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32069 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32071 wxListView
*result
= 0 ;
32082 bool temp7
= false ;
32083 PyObject
* obj0
= 0 ;
32084 PyObject
* obj1
= 0 ;
32085 PyObject
* obj2
= 0 ;
32086 PyObject
* obj3
= 0 ;
32087 PyObject
* obj4
= 0 ;
32088 PyObject
* obj5
= 0 ;
32089 PyObject
* obj6
= 0 ;
32090 char * kwnames
[] = {
32091 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32096 if (!SWIG_IsOK(res1
)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32102 if (!SWIG_IsOK(ecode2
)) {
32103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32105 arg2
= static_cast< int >(val2
);
32110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32116 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32120 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32121 if (!SWIG_IsOK(ecode5
)) {
32122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32124 arg5
= static_cast< long >(val5
);
32127 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32128 if (!SWIG_IsOK(res6
)) {
32129 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32134 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32138 arg7
= wxString_in_helper(obj6
);
32139 if (arg7
== NULL
) SWIG_fail
;
32144 if (!wxPyCheckForApp()) SWIG_fail
;
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32165 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32166 PyObject
*resultobj
= 0;
32167 wxListView
*result
= 0 ;
32169 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32171 if (!wxPyCheckForApp()) SWIG_fail
;
32172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32173 result
= (wxListView
*)new wxListView();
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32184 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
= 0;
32186 wxListView
*arg1
= (wxListView
*) 0 ;
32187 wxWindow
*arg2
= (wxWindow
*) 0 ;
32188 int arg3
= (int) -1 ;
32189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32193 long arg6
= (long) wxLC_REPORT
;
32194 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32195 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32196 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32211 bool temp8
= false ;
32212 PyObject
* obj0
= 0 ;
32213 PyObject
* obj1
= 0 ;
32214 PyObject
* obj2
= 0 ;
32215 PyObject
* obj3
= 0 ;
32216 PyObject
* obj4
= 0 ;
32217 PyObject
* obj5
= 0 ;
32218 PyObject
* obj6
= 0 ;
32219 PyObject
* obj7
= 0 ;
32220 char * kwnames
[] = {
32221 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32226 if (!SWIG_IsOK(res1
)) {
32227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32229 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32231 if (!SWIG_IsOK(res2
)) {
32232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32237 if (!SWIG_IsOK(ecode3
)) {
32238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32240 arg3
= static_cast< int >(val3
);
32245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32255 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32256 if (!SWIG_IsOK(ecode6
)) {
32257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32259 arg6
= static_cast< long >(val6
);
32262 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32263 if (!SWIG_IsOK(res7
)) {
32264 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32269 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32273 arg8
= wxString_in_helper(obj7
);
32274 if (arg8
== NULL
) SWIG_fail
;
32279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32281 wxPyEndAllowThreads(__tstate
);
32282 if (PyErr_Occurred()) SWIG_fail
;
32285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32301 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32302 PyObject
*resultobj
= 0;
32303 wxListView
*arg1
= (wxListView
*) 0 ;
32305 bool arg3
= (bool) true ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 PyObject
* obj2
= 0 ;
32315 char * kwnames
[] = {
32316 (char *) "self",(char *) "n",(char *) "on", NULL
32319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32321 if (!SWIG_IsOK(res1
)) {
32322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32324 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32325 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32326 if (!SWIG_IsOK(ecode2
)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32329 arg2
= static_cast< long >(val2
);
32331 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32332 if (!SWIG_IsOK(ecode3
)) {
32333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32335 arg3
= static_cast< bool >(val3
);
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32339 (arg1
)->Select(arg2
,arg3
);
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32343 resultobj
= SWIG_Py_Void();
32350 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32351 PyObject
*resultobj
= 0;
32352 wxListView
*arg1
= (wxListView
*) 0 ;
32358 PyObject
* obj0
= 0 ;
32359 PyObject
* obj1
= 0 ;
32360 char * kwnames
[] = {
32361 (char *) "self",(char *) "index", NULL
32364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32366 if (!SWIG_IsOK(res1
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32369 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32370 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32371 if (!SWIG_IsOK(ecode2
)) {
32372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32374 arg2
= static_cast< long >(val2
);
32376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32377 (arg1
)->Focus(arg2
);
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32381 resultobj
= SWIG_Py_Void();
32388 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32389 PyObject
*resultobj
= 0;
32390 wxListView
*arg1
= (wxListView
*) 0 ;
32394 PyObject
*swig_obj
[1] ;
32396 if (!args
) SWIG_fail
;
32397 swig_obj
[0] = args
;
32398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32399 if (!SWIG_IsOK(res1
)) {
32400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32402 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= SWIG_From_long(static_cast< long >(result
));
32416 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
= 0;
32418 wxListView
*arg1
= (wxListView
*) 0 ;
32425 PyObject
* obj0
= 0 ;
32426 PyObject
* obj1
= 0 ;
32427 char * kwnames
[] = {
32428 (char *) "self",(char *) "item", NULL
32431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32433 if (!SWIG_IsOK(res1
)) {
32434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32436 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32437 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32438 if (!SWIG_IsOK(ecode2
)) {
32439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32441 arg2
= static_cast< long >(val2
);
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= SWIG_From_long(static_cast< long >(result
));
32455 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32456 PyObject
*resultobj
= 0;
32457 wxListView
*arg1
= (wxListView
*) 0 ;
32461 PyObject
*swig_obj
[1] ;
32463 if (!args
) SWIG_fail
;
32464 swig_obj
[0] = args
;
32465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32466 if (!SWIG_IsOK(res1
)) {
32467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32469 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= SWIG_From_long(static_cast< long >(result
));
32483 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32484 PyObject
*resultobj
= 0;
32485 wxListView
*arg1
= (wxListView
*) 0 ;
32492 PyObject
* obj0
= 0 ;
32493 PyObject
* obj1
= 0 ;
32494 char * kwnames
[] = {
32495 (char *) "self",(char *) "index", NULL
32498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32500 if (!SWIG_IsOK(res1
)) {
32501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32503 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32505 if (!SWIG_IsOK(ecode2
)) {
32506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32508 arg2
= static_cast< long >(val2
);
32510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32511 result
= (bool)(arg1
)->IsSelected(arg2
);
32512 wxPyEndAllowThreads(__tstate
);
32513 if (PyErr_Occurred()) SWIG_fail
;
32516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32524 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32525 PyObject
*resultobj
= 0;
32526 wxListView
*arg1
= (wxListView
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 PyObject
* obj1
= 0 ;
32537 PyObject
* obj2
= 0 ;
32538 char * kwnames
[] = {
32539 (char *) "self",(char *) "col",(char *) "image", NULL
32542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32544 if (!SWIG_IsOK(res1
)) {
32545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32547 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32549 if (!SWIG_IsOK(ecode2
)) {
32550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32552 arg2
= static_cast< int >(val2
);
32553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32554 if (!SWIG_IsOK(ecode3
)) {
32555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32557 arg3
= static_cast< int >(val3
);
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 (arg1
)->SetColumnImage(arg2
,arg3
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 resultobj
= SWIG_Py_Void();
32571 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
= 0;
32573 wxListView
*arg1
= (wxListView
*) 0 ;
32579 PyObject
* obj0
= 0 ;
32580 PyObject
* obj1
= 0 ;
32581 char * kwnames
[] = {
32582 (char *) "self",(char *) "col", NULL
32585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32587 if (!SWIG_IsOK(res1
)) {
32588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32590 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32592 if (!SWIG_IsOK(ecode2
)) {
32593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32595 arg2
= static_cast< int >(val2
);
32597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 (arg1
)->ClearColumnImage(arg2
);
32599 wxPyEndAllowThreads(__tstate
);
32600 if (PyErr_Occurred()) SWIG_fail
;
32602 resultobj
= SWIG_Py_Void();
32609 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32612 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32613 return SWIG_Py_Void();
32616 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32617 return SWIG_Python_InitShadowInstance(args
);
32620 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32621 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32626 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32627 PyObject
*pyobj
= 0;
32631 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32633 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32640 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32641 PyObject
*resultobj
= 0;
32642 wxTreeItemId
*result
= 0 ;
32644 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 result
= (wxTreeItemId
*)new wxTreeItemId();
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32658 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32659 PyObject
*resultobj
= 0;
32660 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32663 PyObject
*swig_obj
[1] ;
32665 if (!args
) SWIG_fail
;
32666 swig_obj
[0] = args
;
32667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32668 if (!SWIG_IsOK(res1
)) {
32669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32671 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32679 resultobj
= SWIG_Py_Void();
32686 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32687 PyObject
*resultobj
= 0;
32688 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32692 PyObject
*swig_obj
[1] ;
32694 if (!args
) SWIG_fail
;
32695 swig_obj
[0] = args
;
32696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32697 if (!SWIG_IsOK(res1
)) {
32698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32700 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32704 wxPyEndAllowThreads(__tstate
);
32705 if (PyErr_Occurred()) SWIG_fail
;
32708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32716 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32717 PyObject
*resultobj
= 0;
32718 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32719 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32725 PyObject
* obj0
= 0 ;
32726 PyObject
* obj1
= 0 ;
32727 char * kwnames
[] = {
32728 (char *) "self",(char *) "other", NULL
32731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32733 if (!SWIG_IsOK(res1
)) {
32734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32736 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32738 if (!SWIG_IsOK(res2
)) {
32739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32741 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32757 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32758 PyObject
*resultobj
= 0;
32759 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32760 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 char * kwnames
[] = {
32769 (char *) "self",(char *) "other", NULL
32772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32774 if (!SWIG_IsOK(res1
)) {
32775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32777 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32779 if (!SWIG_IsOK(res2
)) {
32780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32782 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32798 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32799 PyObject
*resultobj
= 0;
32800 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32801 void *arg2
= (void *) 0 ;
32805 PyObject
*swig_obj
[2] ;
32807 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32809 if (!SWIG_IsOK(res1
)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32812 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32813 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32814 if (!SWIG_IsOK(res2
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32817 if (arg1
) (arg1
)->m_pItem
= arg2
;
32819 resultobj
= SWIG_Py_Void();
32826 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32827 PyObject
*resultobj
= 0;
32828 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32832 PyObject
*swig_obj
[1] ;
32834 if (!args
) SWIG_fail
;
32835 swig_obj
[0] = args
;
32836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32837 if (!SWIG_IsOK(res1
)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32840 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32841 result
= (void *) ((arg1
)->m_pItem
);
32842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32849 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32852 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32853 return SWIG_Py_Void();
32856 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32857 return SWIG_Python_InitShadowInstance(args
);
32860 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32861 PyObject
*resultobj
= 0;
32862 PyObject
*arg1
= (PyObject
*) NULL
;
32863 wxPyTreeItemData
*result
= 0 ;
32864 PyObject
* obj0
= 0 ;
32865 char * kwnames
[] = {
32866 (char *) "obj", NULL
32869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32875 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32876 wxPyEndAllowThreads(__tstate
);
32877 if (PyErr_Occurred()) SWIG_fail
;
32879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32886 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32887 PyObject
*resultobj
= 0;
32888 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32891 PyObject
*swig_obj
[1] ;
32893 if (!args
) SWIG_fail
;
32894 swig_obj
[0] = args
;
32895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32896 if (!SWIG_IsOK(res1
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32899 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32904 wxPyEndAllowThreads(__tstate
);
32905 if (PyErr_Occurred()) SWIG_fail
;
32907 resultobj
= SWIG_Py_Void();
32914 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32915 PyObject
*resultobj
= 0;
32916 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32917 PyObject
*result
= 0 ;
32920 PyObject
*swig_obj
[1] ;
32922 if (!args
) SWIG_fail
;
32923 swig_obj
[0] = args
;
32924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32925 if (!SWIG_IsOK(res1
)) {
32926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32928 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 result
= (PyObject
*)(arg1
)->GetData();
32932 wxPyEndAllowThreads(__tstate
);
32933 if (PyErr_Occurred()) SWIG_fail
;
32935 resultobj
= result
;
32942 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32943 PyObject
*resultobj
= 0;
32944 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32945 PyObject
*arg2
= (PyObject
*) 0 ;
32948 PyObject
* obj0
= 0 ;
32949 PyObject
* obj1
= 0 ;
32950 char * kwnames
[] = {
32951 (char *) "self",(char *) "obj", NULL
32954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32956 if (!SWIG_IsOK(res1
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32959 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32963 (arg1
)->SetData(arg2
);
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32967 resultobj
= SWIG_Py_Void();
32974 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32975 PyObject
*resultobj
= 0;
32976 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32977 wxTreeItemId
*result
= 0 ;
32980 PyObject
*swig_obj
[1] ;
32982 if (!args
) SWIG_fail
;
32983 swig_obj
[0] = args
;
32984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32985 if (!SWIG_IsOK(res1
)) {
32986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32988 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32993 result
= (wxTreeItemId
*) &_result_ref
;
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33005 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33006 PyObject
*resultobj
= 0;
33007 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33008 wxTreeItemId
*arg2
= 0 ;
33013 PyObject
* obj0
= 0 ;
33014 PyObject
* obj1
= 0 ;
33015 char * kwnames
[] = {
33016 (char *) "self",(char *) "id", NULL
33019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33021 if (!SWIG_IsOK(res1
)) {
33022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33024 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33026 if (!SWIG_IsOK(res2
)) {
33027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33035 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33036 wxPyEndAllowThreads(__tstate
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33039 resultobj
= SWIG_Py_Void();
33046 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33047 PyObject
*resultobj
= 0;
33048 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33051 PyObject
*swig_obj
[1] ;
33053 if (!args
) SWIG_fail
;
33054 swig_obj
[0] = args
;
33055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33056 if (!SWIG_IsOK(res1
)) {
33057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33059 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33062 wxPyTreeItemData_Destroy(arg1
);
33063 wxPyEndAllowThreads(__tstate
);
33064 if (PyErr_Occurred()) SWIG_fail
;
33066 resultobj
= SWIG_Py_Void();
33073 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33076 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33077 return SWIG_Py_Void();
33080 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33081 return SWIG_Python_InitShadowInstance(args
);
33084 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33087 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33088 if (!SWIG_IsOK(res
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33094 wxTreeItemId
* temp
;
33095 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33096 wxNullTreeItemId
= *temp
;
33097 if (SWIG_IsNewObj(res
)) delete temp
;
33106 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33107 PyObject
*pyobj
= 0;
33109 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33114 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33115 PyObject
*resultobj
= 0;
33116 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33117 int arg2
= (int) 0 ;
33118 wxTreeEvent
*result
= 0 ;
33124 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33126 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33127 if (!SWIG_IsOK(ecode1
)) {
33128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33130 arg1
= static_cast< wxEventType
>(val1
);
33133 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33134 if (!SWIG_IsOK(ecode2
)) {
33135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33137 arg2
= static_cast< int >(val2
);
33140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33141 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33152 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33153 PyObject
*resultobj
= 0;
33155 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33156 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33157 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33158 wxTreeEvent
*result
= 0 ;
33166 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33167 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33168 if (!SWIG_IsOK(ecode1
)) {
33169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33171 arg1
= static_cast< wxEventType
>(val1
);
33172 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33173 if (!SWIG_IsOK(res2
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33176 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33178 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33179 if (!SWIG_IsOK(res3
)) {
33180 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33185 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33200 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33204 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33206 if ((argc
>= 0) && (argc
<= 2)) {
33211 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33212 _v
= SWIG_CheckState(res
);
33215 if (!_v
) goto check_1
;
33217 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33221 if ((argc
>= 2) && (argc
<= 3)) {
33222 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33226 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33231 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33232 PyObject
*resultobj
= 0;
33233 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33234 wxTreeItemId result
;
33237 PyObject
*swig_obj
[1] ;
33239 if (!args
) SWIG_fail
;
33240 swig_obj
[0] = args
;
33241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33242 if (!SWIG_IsOK(res1
)) {
33243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33245 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33248 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33252 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33259 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33260 PyObject
*resultobj
= 0;
33261 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33262 wxTreeItemId
*arg2
= 0 ;
33267 PyObject
* obj0
= 0 ;
33268 PyObject
* obj1
= 0 ;
33269 char * kwnames
[] = {
33270 (char *) "self",(char *) "item", NULL
33273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33275 if (!SWIG_IsOK(res1
)) {
33276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33278 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33280 if (!SWIG_IsOK(res2
)) {
33281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33286 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33289 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33290 wxPyEndAllowThreads(__tstate
);
33291 if (PyErr_Occurred()) SWIG_fail
;
33293 resultobj
= SWIG_Py_Void();
33300 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33301 PyObject
*resultobj
= 0;
33302 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33303 wxTreeItemId result
;
33306 PyObject
*swig_obj
[1] ;
33308 if (!args
) SWIG_fail
;
33309 swig_obj
[0] = args
;
33310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33311 if (!SWIG_IsOK(res1
)) {
33312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33314 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33328 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33329 PyObject
*resultobj
= 0;
33330 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33331 wxTreeItemId
*arg2
= 0 ;
33336 PyObject
* obj0
= 0 ;
33337 PyObject
* obj1
= 0 ;
33338 char * kwnames
[] = {
33339 (char *) "self",(char *) "item", NULL
33342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33344 if (!SWIG_IsOK(res1
)) {
33345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33347 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33349 if (!SWIG_IsOK(res2
)) {
33350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33355 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33358 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33359 wxPyEndAllowThreads(__tstate
);
33360 if (PyErr_Occurred()) SWIG_fail
;
33362 resultobj
= SWIG_Py_Void();
33369 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33370 PyObject
*resultobj
= 0;
33371 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33375 PyObject
*swig_obj
[1] ;
33377 if (!args
) SWIG_fail
;
33378 swig_obj
[0] = args
;
33379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33380 if (!SWIG_IsOK(res1
)) {
33381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33383 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33386 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33387 wxPyEndAllowThreads(__tstate
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33390 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33397 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33398 PyObject
*resultobj
= 0;
33399 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33400 wxPoint
*arg2
= 0 ;
33404 PyObject
* obj0
= 0 ;
33405 PyObject
* obj1
= 0 ;
33406 char * kwnames
[] = {
33407 (char *) "self",(char *) "pt", NULL
33410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33412 if (!SWIG_IsOK(res1
)) {
33413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33415 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33423 wxPyEndAllowThreads(__tstate
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= SWIG_Py_Void();
33433 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33434 PyObject
*resultobj
= 0;
33435 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33436 wxKeyEvent
*result
= 0 ;
33439 PyObject
*swig_obj
[1] ;
33441 if (!args
) SWIG_fail
;
33442 swig_obj
[0] = args
;
33443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33444 if (!SWIG_IsOK(res1
)) {
33445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33447 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33452 result
= (wxKeyEvent
*) &_result_ref
;
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33464 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33465 PyObject
*resultobj
= 0;
33466 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33470 PyObject
*swig_obj
[1] ;
33472 if (!args
) SWIG_fail
;
33473 swig_obj
[0] = args
;
33474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33475 if (!SWIG_IsOK(res1
)) {
33476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33478 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33482 wxPyEndAllowThreads(__tstate
);
33483 if (PyErr_Occurred()) SWIG_fail
;
33485 resultobj
= SWIG_From_int(static_cast< int >(result
));
33492 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33493 PyObject
*resultobj
= 0;
33494 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33495 wxKeyEvent
*arg2
= 0 ;
33500 PyObject
* obj0
= 0 ;
33501 PyObject
* obj1
= 0 ;
33502 char * kwnames
[] = {
33503 (char *) "self",(char *) "evt", NULL
33506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33508 if (!SWIG_IsOK(res1
)) {
33509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33511 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33513 if (!SWIG_IsOK(res2
)) {
33514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33519 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33522 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33523 wxPyEndAllowThreads(__tstate
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33526 resultobj
= SWIG_Py_Void();
33533 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33534 PyObject
*resultobj
= 0;
33535 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33536 wxString
*result
= 0 ;
33539 PyObject
*swig_obj
[1] ;
33541 if (!args
) SWIG_fail
;
33542 swig_obj
[0] = args
;
33543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33544 if (!SWIG_IsOK(res1
)) {
33545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33547 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33552 result
= (wxString
*) &_result_ref
;
33554 wxPyEndAllowThreads(__tstate
);
33555 if (PyErr_Occurred()) SWIG_fail
;
33559 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33561 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33570 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
= 0;
33572 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33573 wxString
*arg2
= 0 ;
33576 bool temp2
= false ;
33577 PyObject
* obj0
= 0 ;
33578 PyObject
* obj1
= 0 ;
33579 char * kwnames
[] = {
33580 (char *) "self",(char *) "label", NULL
33583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33585 if (!SWIG_IsOK(res1
)) {
33586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33588 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33590 arg2
= wxString_in_helper(obj1
);
33591 if (arg2
== NULL
) SWIG_fail
;
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 (arg1
)->SetLabel((wxString
const &)*arg2
);
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= SWIG_Py_Void();
33615 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33616 PyObject
*resultobj
= 0;
33617 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33621 PyObject
*swig_obj
[1] ;
33623 if (!args
) SWIG_fail
;
33624 swig_obj
[0] = args
;
33625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33626 if (!SWIG_IsOK(res1
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33629 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33633 wxPyEndAllowThreads(__tstate
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33645 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33646 PyObject
*resultobj
= 0;
33647 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33653 PyObject
* obj0
= 0 ;
33654 PyObject
* obj1
= 0 ;
33655 char * kwnames
[] = {
33656 (char *) "self",(char *) "editCancelled", NULL
33659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33661 if (!SWIG_IsOK(res1
)) {
33662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33664 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33665 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33666 if (!SWIG_IsOK(ecode2
)) {
33667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33669 arg2
= static_cast< bool >(val2
);
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 (arg1
)->SetEditCanceled(arg2
);
33673 wxPyEndAllowThreads(__tstate
);
33674 if (PyErr_Occurred()) SWIG_fail
;
33676 resultobj
= SWIG_Py_Void();
33683 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33684 PyObject
*resultobj
= 0;
33685 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33686 wxString
*arg2
= 0 ;
33689 bool temp2
= false ;
33690 PyObject
* obj0
= 0 ;
33691 PyObject
* obj1
= 0 ;
33692 char * kwnames
[] = {
33693 (char *) "self",(char *) "toolTip", NULL
33696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33698 if (!SWIG_IsOK(res1
)) {
33699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33701 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33703 arg2
= wxString_in_helper(obj1
);
33704 if (arg2
== NULL
) SWIG_fail
;
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33713 resultobj
= SWIG_Py_Void();
33728 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33729 PyObject
*resultobj
= 0;
33730 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33734 PyObject
*swig_obj
[1] ;
33736 if (!args
) SWIG_fail
;
33737 swig_obj
[0] = args
;
33738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33739 if (!SWIG_IsOK(res1
)) {
33740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33742 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 result
= (arg1
)->GetToolTip();
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33762 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33765 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33766 return SWIG_Py_Void();
33769 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33770 return SWIG_Python_InitShadowInstance(args
);
33773 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
= 0;
33775 wxWindow
*arg1
= (wxWindow
*) 0 ;
33776 int arg2
= (int) -1 ;
33777 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33778 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33779 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33780 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33781 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33782 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33783 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33784 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33785 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33786 wxPyTreeCtrl
*result
= 0 ;
33797 bool temp7
= false ;
33798 PyObject
* obj0
= 0 ;
33799 PyObject
* obj1
= 0 ;
33800 PyObject
* obj2
= 0 ;
33801 PyObject
* obj3
= 0 ;
33802 PyObject
* obj4
= 0 ;
33803 PyObject
* obj5
= 0 ;
33804 PyObject
* obj6
= 0 ;
33805 char * kwnames
[] = {
33806 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33811 if (!SWIG_IsOK(res1
)) {
33812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33817 if (!SWIG_IsOK(ecode2
)) {
33818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33820 arg2
= static_cast< int >(val2
);
33825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33831 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33835 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33836 if (!SWIG_IsOK(ecode5
)) {
33837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33839 arg5
= static_cast< long >(val5
);
33842 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33843 if (!SWIG_IsOK(res6
)) {
33844 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33849 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33853 arg7
= wxString_in_helper(obj6
);
33854 if (arg7
== NULL
) SWIG_fail
;
33859 if (!wxPyCheckForApp()) SWIG_fail
;
33860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33861 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33880 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33881 PyObject
*resultobj
= 0;
33882 wxPyTreeCtrl
*result
= 0 ;
33884 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33886 if (!wxPyCheckForApp()) SWIG_fail
;
33887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33888 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33889 wxPyEndAllowThreads(__tstate
);
33890 if (PyErr_Occurred()) SWIG_fail
;
33892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33899 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33900 PyObject
*resultobj
= 0;
33901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33902 wxWindow
*arg2
= (wxWindow
*) 0 ;
33903 int arg3
= (int) -1 ;
33904 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33905 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33906 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33907 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33908 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33909 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33910 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33911 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33912 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33926 bool temp8
= false ;
33927 PyObject
* obj0
= 0 ;
33928 PyObject
* obj1
= 0 ;
33929 PyObject
* obj2
= 0 ;
33930 PyObject
* obj3
= 0 ;
33931 PyObject
* obj4
= 0 ;
33932 PyObject
* obj5
= 0 ;
33933 PyObject
* obj6
= 0 ;
33934 PyObject
* obj7
= 0 ;
33935 char * kwnames
[] = {
33936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33941 if (!SWIG_IsOK(res1
)) {
33942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33944 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33946 if (!SWIG_IsOK(res2
)) {
33947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33949 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33952 if (!SWIG_IsOK(ecode3
)) {
33953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33955 arg3
= static_cast< int >(val3
);
33960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33970 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33971 if (!SWIG_IsOK(ecode6
)) {
33972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33974 arg6
= static_cast< long >(val6
);
33977 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33978 if (!SWIG_IsOK(res7
)) {
33979 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33984 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33988 arg8
= wxString_in_helper(obj7
);
33989 if (arg8
== NULL
) SWIG_fail
;
33994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33995 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33996 wxPyEndAllowThreads(__tstate
);
33997 if (PyErr_Occurred()) SWIG_fail
;
34000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34016 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34017 PyObject
*resultobj
= 0;
34018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34019 PyObject
*arg2
= (PyObject
*) 0 ;
34020 PyObject
*arg3
= (PyObject
*) 0 ;
34023 PyObject
* obj0
= 0 ;
34024 PyObject
* obj1
= 0 ;
34025 PyObject
* obj2
= 0 ;
34026 char * kwnames
[] = {
34027 (char *) "self",(char *) "self",(char *) "_class", NULL
34030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34032 if (!SWIG_IsOK(res1
)) {
34033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34035 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= SWIG_Py_Void();
34051 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34052 PyObject
*resultobj
= 0;
34053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34054 unsigned int result
;
34057 PyObject
*swig_obj
[1] ;
34059 if (!args
) SWIG_fail
;
34060 swig_obj
[0] = args
;
34061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34062 if (!SWIG_IsOK(res1
)) {
34063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34065 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34072 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34079 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34080 PyObject
*resultobj
= 0;
34081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34082 unsigned int result
;
34085 PyObject
*swig_obj
[1] ;
34087 if (!args
) SWIG_fail
;
34088 swig_obj
[0] = args
;
34089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34090 if (!SWIG_IsOK(res1
)) {
34091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34093 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34100 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34107 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34108 PyObject
*resultobj
= 0;
34109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34110 unsigned int arg2
;
34113 unsigned int val2
;
34115 PyObject
* obj0
= 0 ;
34116 PyObject
* obj1
= 0 ;
34117 char * kwnames
[] = {
34118 (char *) "self",(char *) "indent", NULL
34121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34123 if (!SWIG_IsOK(res1
)) {
34124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34126 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34127 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34128 if (!SWIG_IsOK(ecode2
)) {
34129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34131 arg2
= static_cast< unsigned int >(val2
);
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 (arg1
)->SetIndent(arg2
);
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= SWIG_Py_Void();
34145 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34146 PyObject
*resultobj
= 0;
34147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34148 unsigned int result
;
34151 PyObject
*swig_obj
[1] ;
34153 if (!args
) SWIG_fail
;
34154 swig_obj
[0] = args
;
34155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34156 if (!SWIG_IsOK(res1
)) {
34157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34159 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34162 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34163 wxPyEndAllowThreads(__tstate
);
34164 if (PyErr_Occurred()) SWIG_fail
;
34166 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34173 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
= 0;
34175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34176 unsigned int arg2
;
34179 unsigned int val2
;
34181 PyObject
* obj0
= 0 ;
34182 PyObject
* obj1
= 0 ;
34183 char * kwnames
[] = {
34184 (char *) "self",(char *) "spacing", NULL
34187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34189 if (!SWIG_IsOK(res1
)) {
34190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34192 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34193 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34194 if (!SWIG_IsOK(ecode2
)) {
34195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34197 arg2
= static_cast< unsigned int >(val2
);
34199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34200 (arg1
)->SetSpacing(arg2
);
34201 wxPyEndAllowThreads(__tstate
);
34202 if (PyErr_Occurred()) SWIG_fail
;
34204 resultobj
= SWIG_Py_Void();
34211 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34212 PyObject
*resultobj
= 0;
34213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34214 wxImageList
*result
= 0 ;
34217 PyObject
*swig_obj
[1] ;
34219 if (!args
) SWIG_fail
;
34220 swig_obj
[0] = args
;
34221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34222 if (!SWIG_IsOK(res1
)) {
34223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34225 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34228 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34229 wxPyEndAllowThreads(__tstate
);
34230 if (PyErr_Occurred()) SWIG_fail
;
34233 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34241 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34242 PyObject
*resultobj
= 0;
34243 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34244 wxImageList
*result
= 0 ;
34247 PyObject
*swig_obj
[1] ;
34249 if (!args
) SWIG_fail
;
34250 swig_obj
[0] = args
;
34251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34252 if (!SWIG_IsOK(res1
)) {
34253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34255 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34271 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34272 PyObject
*resultobj
= 0;
34273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34274 wxImageList
*arg2
= (wxImageList
*) 0 ;
34279 PyObject
* obj0
= 0 ;
34280 PyObject
* obj1
= 0 ;
34281 char * kwnames
[] = {
34282 (char *) "self",(char *) "imageList", NULL
34285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34287 if (!SWIG_IsOK(res1
)) {
34288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34290 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34291 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34292 if (!SWIG_IsOK(res2
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34295 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34298 (arg1
)->SetImageList(arg2
);
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34302 resultobj
= SWIG_Py_Void();
34309 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34310 PyObject
*resultobj
= 0;
34311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34312 wxImageList
*arg2
= (wxImageList
*) 0 ;
34317 PyObject
* obj0
= 0 ;
34318 PyObject
* obj1
= 0 ;
34319 char * kwnames
[] = {
34320 (char *) "self",(char *) "imageList", NULL
34323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34325 if (!SWIG_IsOK(res1
)) {
34326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34328 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34329 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34330 if (!SWIG_IsOK(res2
)) {
34331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34333 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34336 (arg1
)->SetStateImageList(arg2
);
34337 wxPyEndAllowThreads(__tstate
);
34338 if (PyErr_Occurred()) SWIG_fail
;
34340 resultobj
= SWIG_Py_Void();
34347 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34348 PyObject
*resultobj
= 0;
34349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34350 wxImageList
*arg2
= (wxImageList
*) 0 ;
34354 PyObject
* obj0
= 0 ;
34355 PyObject
* obj1
= 0 ;
34356 char * kwnames
[] = {
34357 (char *) "self",(char *) "imageList", NULL
34360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34362 if (!SWIG_IsOK(res1
)) {
34363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34365 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34366 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34367 if (!SWIG_IsOK(res2
)) {
34368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34372 (arg1
)->AssignImageList(arg2
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34376 resultobj
= SWIG_Py_Void();
34383 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34384 PyObject
*resultobj
= 0;
34385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34386 wxImageList
*arg2
= (wxImageList
*) 0 ;
34390 PyObject
* obj0
= 0 ;
34391 PyObject
* obj1
= 0 ;
34392 char * kwnames
[] = {
34393 (char *) "self",(char *) "imageList", NULL
34396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34401 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34402 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34403 if (!SWIG_IsOK(res2
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34408 (arg1
)->AssignStateImageList(arg2
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34412 resultobj
= SWIG_Py_Void();
34419 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34420 PyObject
*resultobj
= 0;
34421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34422 wxTreeItemId
*arg2
= 0 ;
34428 PyObject
* obj0
= 0 ;
34429 PyObject
* obj1
= 0 ;
34430 char * kwnames
[] = {
34431 (char *) "self",(char *) "item", NULL
34434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34436 if (!SWIG_IsOK(res1
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34439 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34441 if (!SWIG_IsOK(res2
)) {
34442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34447 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34450 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34451 wxPyEndAllowThreads(__tstate
);
34452 if (PyErr_Occurred()) SWIG_fail
;
34456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34467 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
= 0;
34469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34470 wxTreeItemId
*arg2
= 0 ;
34471 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34479 PyObject
* obj0
= 0 ;
34480 PyObject
* obj1
= 0 ;
34481 PyObject
* obj2
= 0 ;
34482 char * kwnames
[] = {
34483 (char *) "self",(char *) "item",(char *) "which", NULL
34486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34488 if (!SWIG_IsOK(res1
)) {
34489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34491 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34493 if (!SWIG_IsOK(res2
)) {
34494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34499 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34502 if (!SWIG_IsOK(ecode3
)) {
34503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34505 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34509 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34513 resultobj
= SWIG_From_int(static_cast< int >(result
));
34520 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34521 PyObject
*resultobj
= 0;
34522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34523 wxTreeItemId
*arg2
= 0 ;
34524 wxPyTreeItemData
*result
= 0 ;
34529 PyObject
* obj0
= 0 ;
34530 PyObject
* obj1
= 0 ;
34531 char * kwnames
[] = {
34532 (char *) "self",(char *) "item", NULL
34535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34537 if (!SWIG_IsOK(res1
)) {
34538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34540 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34542 if (!SWIG_IsOK(res2
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34548 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34551 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34552 wxPyEndAllowThreads(__tstate
);
34553 if (PyErr_Occurred()) SWIG_fail
;
34555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34562 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34563 PyObject
*resultobj
= 0;
34564 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34565 wxTreeItemId
*arg2
= 0 ;
34566 PyObject
*result
= 0 ;
34571 PyObject
* obj0
= 0 ;
34572 PyObject
* obj1
= 0 ;
34573 char * kwnames
[] = {
34574 (char *) "self",(char *) "item", NULL
34577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34579 if (!SWIG_IsOK(res1
)) {
34580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34582 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34584 if (!SWIG_IsOK(res2
)) {
34585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34590 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34594 wxPyEndAllowThreads(__tstate
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34597 resultobj
= result
;
34604 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34605 PyObject
*resultobj
= 0;
34606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34607 wxTreeItemId
*arg2
= 0 ;
34613 PyObject
* obj0
= 0 ;
34614 PyObject
* obj1
= 0 ;
34615 char * kwnames
[] = {
34616 (char *) "self",(char *) "item", NULL
34619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34621 if (!SWIG_IsOK(res1
)) {
34622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34624 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34626 if (!SWIG_IsOK(res2
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34632 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34646 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34647 PyObject
*resultobj
= 0;
34648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34649 wxTreeItemId
*arg2
= 0 ;
34655 PyObject
* obj0
= 0 ;
34656 PyObject
* obj1
= 0 ;
34657 char * kwnames
[] = {
34658 (char *) "self",(char *) "item", NULL
34661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34663 if (!SWIG_IsOK(res1
)) {
34664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34666 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34668 if (!SWIG_IsOK(res2
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34674 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34678 wxPyEndAllowThreads(__tstate
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34688 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34689 PyObject
*resultobj
= 0;
34690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34691 wxTreeItemId
*arg2
= 0 ;
34697 PyObject
* obj0
= 0 ;
34698 PyObject
* obj1
= 0 ;
34699 char * kwnames
[] = {
34700 (char *) "self",(char *) "item", NULL
34703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34705 if (!SWIG_IsOK(res1
)) {
34706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34708 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34710 if (!SWIG_IsOK(res2
)) {
34711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34716 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34719 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34723 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34730 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
= 0;
34732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34733 wxTreeItemId
*arg2
= 0 ;
34734 wxString
*arg3
= 0 ;
34739 bool temp3
= false ;
34740 PyObject
* obj0
= 0 ;
34741 PyObject
* obj1
= 0 ;
34742 PyObject
* obj2
= 0 ;
34743 char * kwnames
[] = {
34744 (char *) "self",(char *) "item",(char *) "text", NULL
34747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34749 if (!SWIG_IsOK(res1
)) {
34750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34752 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34754 if (!SWIG_IsOK(res2
)) {
34755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34760 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34762 arg3
= wxString_in_helper(obj2
);
34763 if (arg3
== NULL
) SWIG_fail
;
34767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34769 wxPyEndAllowThreads(__tstate
);
34770 if (PyErr_Occurred()) SWIG_fail
;
34772 resultobj
= SWIG_Py_Void();
34787 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
= 0;
34789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34790 wxTreeItemId
*arg2
= 0 ;
34792 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34801 PyObject
* obj0
= 0 ;
34802 PyObject
* obj1
= 0 ;
34803 PyObject
* obj2
= 0 ;
34804 PyObject
* obj3
= 0 ;
34805 char * kwnames
[] = {
34806 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34811 if (!SWIG_IsOK(res1
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34814 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34816 if (!SWIG_IsOK(res2
)) {
34817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34822 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34824 if (!SWIG_IsOK(ecode3
)) {
34825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34827 arg3
= static_cast< int >(val3
);
34829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34830 if (!SWIG_IsOK(ecode4
)) {
34831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34833 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34837 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34838 wxPyEndAllowThreads(__tstate
);
34839 if (PyErr_Occurred()) SWIG_fail
;
34841 resultobj
= SWIG_Py_Void();
34848 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34849 PyObject
*resultobj
= 0;
34850 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34851 wxTreeItemId
*arg2
= 0 ;
34852 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34858 PyObject
* obj0
= 0 ;
34859 PyObject
* obj1
= 0 ;
34860 PyObject
* obj2
= 0 ;
34861 char * kwnames
[] = {
34862 (char *) "self",(char *) "item",(char *) "data", NULL
34865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34867 if (!SWIG_IsOK(res1
)) {
34868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34872 if (!SWIG_IsOK(res2
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34878 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34879 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34880 if (!SWIG_IsOK(res3
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= SWIG_Py_Void();
34896 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
= 0;
34898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34899 wxTreeItemId
*arg2
= 0 ;
34900 PyObject
*arg3
= (PyObject
*) 0 ;
34905 PyObject
* obj0
= 0 ;
34906 PyObject
* obj1
= 0 ;
34907 PyObject
* obj2
= 0 ;
34908 char * kwnames
[] = {
34909 (char *) "self",(char *) "item",(char *) "obj", NULL
34912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34914 if (!SWIG_IsOK(res1
)) {
34915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34917 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34919 if (!SWIG_IsOK(res2
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34925 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34930 wxPyEndAllowThreads(__tstate
);
34931 if (PyErr_Occurred()) SWIG_fail
;
34933 resultobj
= SWIG_Py_Void();
34940 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34941 PyObject
*resultobj
= 0;
34942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34943 wxTreeItemId
*arg2
= 0 ;
34944 bool arg3
= (bool) true ;
34951 PyObject
* obj0
= 0 ;
34952 PyObject
* obj1
= 0 ;
34953 PyObject
* obj2
= 0 ;
34954 char * kwnames
[] = {
34955 (char *) "self",(char *) "item",(char *) "has", NULL
34958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34960 if (!SWIG_IsOK(res1
)) {
34961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34963 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34965 if (!SWIG_IsOK(res2
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34971 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34973 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34974 if (!SWIG_IsOK(ecode3
)) {
34975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34977 arg3
= static_cast< bool >(val3
);
34980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34981 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34982 wxPyEndAllowThreads(__tstate
);
34983 if (PyErr_Occurred()) SWIG_fail
;
34985 resultobj
= SWIG_Py_Void();
34992 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
= 0;
34994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34995 wxTreeItemId
*arg2
= 0 ;
34996 bool arg3
= (bool) true ;
35003 PyObject
* obj0
= 0 ;
35004 PyObject
* obj1
= 0 ;
35005 PyObject
* obj2
= 0 ;
35006 char * kwnames
[] = {
35007 (char *) "self",(char *) "item",(char *) "bold", NULL
35010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35023 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35025 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35026 if (!SWIG_IsOK(ecode3
)) {
35027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35029 arg3
= static_cast< bool >(val3
);
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35034 wxPyEndAllowThreads(__tstate
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35037 resultobj
= SWIG_Py_Void();
35044 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35045 PyObject
*resultobj
= 0;
35046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35047 wxTreeItemId
*arg2
= 0 ;
35048 bool arg3
= (bool) true ;
35055 PyObject
* obj0
= 0 ;
35056 PyObject
* obj1
= 0 ;
35057 PyObject
* obj2
= 0 ;
35058 char * kwnames
[] = {
35059 (char *) "self",(char *) "item",(char *) "highlight", NULL
35062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35064 if (!SWIG_IsOK(res1
)) {
35065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35067 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35069 if (!SWIG_IsOK(res2
)) {
35070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35075 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35077 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35078 if (!SWIG_IsOK(ecode3
)) {
35079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35081 arg3
= static_cast< bool >(val3
);
35084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35085 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35086 wxPyEndAllowThreads(__tstate
);
35087 if (PyErr_Occurred()) SWIG_fail
;
35089 resultobj
= SWIG_Py_Void();
35096 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35097 PyObject
*resultobj
= 0;
35098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35099 wxTreeItemId
*arg2
= 0 ;
35100 wxColour
*arg3
= 0 ;
35106 PyObject
* obj0
= 0 ;
35107 PyObject
* obj1
= 0 ;
35108 PyObject
* obj2
= 0 ;
35109 char * kwnames
[] = {
35110 (char *) "self",(char *) "item",(char *) "col", NULL
35113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35115 if (!SWIG_IsOK(res1
)) {
35116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35118 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35120 if (!SWIG_IsOK(res2
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35126 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35129 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35133 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35134 wxPyEndAllowThreads(__tstate
);
35135 if (PyErr_Occurred()) SWIG_fail
;
35137 resultobj
= SWIG_Py_Void();
35144 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35145 PyObject
*resultobj
= 0;
35146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35147 wxTreeItemId
*arg2
= 0 ;
35148 wxColour
*arg3
= 0 ;
35154 PyObject
* obj0
= 0 ;
35155 PyObject
* obj1
= 0 ;
35156 PyObject
* obj2
= 0 ;
35157 char * kwnames
[] = {
35158 (char *) "self",(char *) "item",(char *) "col", NULL
35161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35163 if (!SWIG_IsOK(res1
)) {
35164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35166 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35168 if (!SWIG_IsOK(res2
)) {
35169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35174 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35177 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35181 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35182 wxPyEndAllowThreads(__tstate
);
35183 if (PyErr_Occurred()) SWIG_fail
;
35185 resultobj
= SWIG_Py_Void();
35192 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35193 PyObject
*resultobj
= 0;
35194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35195 wxTreeItemId
*arg2
= 0 ;
35203 PyObject
* obj0
= 0 ;
35204 PyObject
* obj1
= 0 ;
35205 PyObject
* obj2
= 0 ;
35206 char * kwnames
[] = {
35207 (char *) "self",(char *) "item",(char *) "font", NULL
35210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35212 if (!SWIG_IsOK(res1
)) {
35213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35215 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35217 if (!SWIG_IsOK(res2
)) {
35218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35223 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35224 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35225 if (!SWIG_IsOK(res3
)) {
35226 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35231 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35234 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 resultobj
= SWIG_Py_Void();
35245 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35246 PyObject
*resultobj
= 0;
35247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35248 wxTreeItemId
*arg2
= 0 ;
35254 PyObject
* obj0
= 0 ;
35255 PyObject
* obj1
= 0 ;
35256 char * kwnames
[] = {
35257 (char *) "self",(char *) "item", NULL
35260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35262 if (!SWIG_IsOK(res1
)) {
35263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35265 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35267 if (!SWIG_IsOK(res2
)) {
35268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35273 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35276 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35277 wxPyEndAllowThreads(__tstate
);
35278 if (PyErr_Occurred()) SWIG_fail
;
35281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35289 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35290 PyObject
*resultobj
= 0;
35291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35292 wxTreeItemId
*arg2
= 0 ;
35298 PyObject
* obj0
= 0 ;
35299 PyObject
* obj1
= 0 ;
35300 char * kwnames
[] = {
35301 (char *) "self",(char *) "item", NULL
35304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35306 if (!SWIG_IsOK(res1
)) {
35307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35309 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35311 if (!SWIG_IsOK(res2
)) {
35312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35317 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35321 wxPyEndAllowThreads(__tstate
);
35322 if (PyErr_Occurred()) SWIG_fail
;
35325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35333 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35334 PyObject
*resultobj
= 0;
35335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35336 wxTreeItemId
*arg2
= 0 ;
35342 PyObject
* obj0
= 0 ;
35343 PyObject
* obj1
= 0 ;
35344 char * kwnames
[] = {
35345 (char *) "self",(char *) "item", NULL
35348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35350 if (!SWIG_IsOK(res1
)) {
35351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35353 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35355 if (!SWIG_IsOK(res2
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35361 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35364 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35365 wxPyEndAllowThreads(__tstate
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35377 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35378 PyObject
*resultobj
= 0;
35379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35380 wxTreeItemId
*arg2
= 0 ;
35386 PyObject
* obj0
= 0 ;
35387 PyObject
* obj1
= 0 ;
35388 char * kwnames
[] = {
35389 (char *) "self",(char *) "item", NULL
35392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35394 if (!SWIG_IsOK(res1
)) {
35395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35397 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35399 if (!SWIG_IsOK(res2
)) {
35400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35405 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35409 wxPyEndAllowThreads(__tstate
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35421 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
= 0;
35423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35424 wxTreeItemId
*arg2
= 0 ;
35430 PyObject
* obj0
= 0 ;
35431 PyObject
* obj1
= 0 ;
35432 char * kwnames
[] = {
35433 (char *) "self",(char *) "item", NULL
35436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35438 if (!SWIG_IsOK(res1
)) {
35439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35443 if (!SWIG_IsOK(res2
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35453 wxPyEndAllowThreads(__tstate
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35465 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35466 PyObject
*resultobj
= 0;
35467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35468 wxTreeItemId
*arg2
= 0 ;
35469 bool arg3
= (bool) true ;
35477 PyObject
* obj0
= 0 ;
35478 PyObject
* obj1
= 0 ;
35479 PyObject
* obj2
= 0 ;
35480 char * kwnames
[] = {
35481 (char *) "self",(char *) "item",(char *) "recursively", NULL
35484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35486 if (!SWIG_IsOK(res1
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35489 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35491 if (!SWIG_IsOK(res2
)) {
35492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35497 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35499 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35500 if (!SWIG_IsOK(ecode3
)) {
35501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35503 arg3
= static_cast< bool >(val3
);
35506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35508 wxPyEndAllowThreads(__tstate
);
35509 if (PyErr_Occurred()) SWIG_fail
;
35511 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35518 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35519 PyObject
*resultobj
= 0;
35520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35521 wxTreeItemId result
;
35524 PyObject
*swig_obj
[1] ;
35526 if (!args
) SWIG_fail
;
35527 swig_obj
[0] = args
;
35528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35529 if (!SWIG_IsOK(res1
)) {
35530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35532 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35539 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35546 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35547 PyObject
*resultobj
= 0;
35548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35549 wxTreeItemId result
;
35552 PyObject
*swig_obj
[1] ;
35554 if (!args
) SWIG_fail
;
35555 swig_obj
[0] = args
;
35556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35557 if (!SWIG_IsOK(res1
)) {
35558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35560 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35567 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35574 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35575 PyObject
*resultobj
= 0;
35576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35577 PyObject
*result
= 0 ;
35580 PyObject
*swig_obj
[1] ;
35582 if (!args
) SWIG_fail
;
35583 swig_obj
[0] = args
;
35584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35585 if (!SWIG_IsOK(res1
)) {
35586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35588 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35595 resultobj
= result
;
35602 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
= 0;
35604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35605 wxTreeItemId
*arg2
= 0 ;
35606 wxTreeItemId result
;
35611 PyObject
* obj0
= 0 ;
35612 PyObject
* obj1
= 0 ;
35613 char * kwnames
[] = {
35614 (char *) "self",(char *) "item", NULL
35617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35619 if (!SWIG_IsOK(res1
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35624 if (!SWIG_IsOK(res2
)) {
35625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35630 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35634 wxPyEndAllowThreads(__tstate
);
35635 if (PyErr_Occurred()) SWIG_fail
;
35637 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35644 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35645 PyObject
*resultobj
= 0;
35646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35647 wxTreeItemId
*arg2
= 0 ;
35648 PyObject
*result
= 0 ;
35653 PyObject
* obj0
= 0 ;
35654 PyObject
* obj1
= 0 ;
35655 char * kwnames
[] = {
35656 (char *) "self",(char *) "item", NULL
35659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35661 if (!SWIG_IsOK(res1
)) {
35662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35664 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35666 if (!SWIG_IsOK(res2
)) {
35667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35672 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35675 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35676 wxPyEndAllowThreads(__tstate
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35679 resultobj
= result
;
35686 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35687 PyObject
*resultobj
= 0;
35688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35689 wxTreeItemId
*arg2
= 0 ;
35690 void *arg3
= (void *) 0 ;
35691 PyObject
*result
= 0 ;
35697 PyObject
* obj0
= 0 ;
35698 PyObject
* obj1
= 0 ;
35699 PyObject
* obj2
= 0 ;
35700 char * kwnames
[] = {
35701 (char *) "self",(char *) "item",(char *) "cookie", NULL
35704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35709 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35711 if (!SWIG_IsOK(res2
)) {
35712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35717 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35718 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35719 if (!SWIG_IsOK(res3
)) {
35720 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35724 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35725 wxPyEndAllowThreads(__tstate
);
35726 if (PyErr_Occurred()) SWIG_fail
;
35728 resultobj
= result
;
35735 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35736 PyObject
*resultobj
= 0;
35737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35738 wxTreeItemId
*arg2
= 0 ;
35739 wxTreeItemId result
;
35744 PyObject
* obj0
= 0 ;
35745 PyObject
* obj1
= 0 ;
35746 char * kwnames
[] = {
35747 (char *) "self",(char *) "item", NULL
35750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35752 if (!SWIG_IsOK(res1
)) {
35753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35755 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35757 if (!SWIG_IsOK(res2
)) {
35758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35763 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35766 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35767 wxPyEndAllowThreads(__tstate
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35770 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35777 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35778 PyObject
*resultobj
= 0;
35779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35780 wxTreeItemId
*arg2
= 0 ;
35781 wxTreeItemId result
;
35786 PyObject
* obj0
= 0 ;
35787 PyObject
* obj1
= 0 ;
35788 char * kwnames
[] = {
35789 (char *) "self",(char *) "item", NULL
35792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35794 if (!SWIG_IsOK(res1
)) {
35795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35797 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35798 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35799 if (!SWIG_IsOK(res2
)) {
35800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35805 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35809 wxPyEndAllowThreads(__tstate
);
35810 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35819 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35820 PyObject
*resultobj
= 0;
35821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35822 wxTreeItemId
*arg2
= 0 ;
35823 wxTreeItemId result
;
35828 PyObject
* obj0
= 0 ;
35829 PyObject
* obj1
= 0 ;
35830 char * kwnames
[] = {
35831 (char *) "self",(char *) "item", NULL
35834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35836 if (!SWIG_IsOK(res1
)) {
35837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35839 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35841 if (!SWIG_IsOK(res2
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35847 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35850 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35861 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35862 PyObject
*resultobj
= 0;
35863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35864 wxTreeItemId result
;
35867 PyObject
*swig_obj
[1] ;
35869 if (!args
) SWIG_fail
;
35870 swig_obj
[0] = args
;
35871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35872 if (!SWIG_IsOK(res1
)) {
35873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35875 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35878 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35879 wxPyEndAllowThreads(__tstate
);
35880 if (PyErr_Occurred()) SWIG_fail
;
35882 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35889 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
= 0;
35891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35892 wxTreeItemId
*arg2
= 0 ;
35893 wxTreeItemId result
;
35898 PyObject
* obj0
= 0 ;
35899 PyObject
* obj1
= 0 ;
35900 char * kwnames
[] = {
35901 (char *) "self",(char *) "item", NULL
35904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35906 if (!SWIG_IsOK(res1
)) {
35907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35909 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35911 if (!SWIG_IsOK(res2
)) {
35912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35917 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35921 wxPyEndAllowThreads(__tstate
);
35922 if (PyErr_Occurred()) SWIG_fail
;
35924 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35931 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35932 PyObject
*resultobj
= 0;
35933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35934 wxTreeItemId
*arg2
= 0 ;
35935 wxTreeItemId result
;
35940 PyObject
* obj0
= 0 ;
35941 PyObject
* obj1
= 0 ;
35942 char * kwnames
[] = {
35943 (char *) "self",(char *) "item", NULL
35946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35948 if (!SWIG_IsOK(res1
)) {
35949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35951 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35953 if (!SWIG_IsOK(res2
)) {
35954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35959 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35962 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35963 wxPyEndAllowThreads(__tstate
);
35964 if (PyErr_Occurred()) SWIG_fail
;
35966 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35973 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35974 PyObject
*resultobj
= 0;
35975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35976 wxString
*arg2
= 0 ;
35977 int arg3
= (int) -1 ;
35978 int arg4
= (int) -1 ;
35979 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35980 wxTreeItemId result
;
35983 bool temp2
= false ;
35989 PyObject
* obj0
= 0 ;
35990 PyObject
* obj1
= 0 ;
35991 PyObject
* obj2
= 0 ;
35992 PyObject
* obj3
= 0 ;
35993 PyObject
* obj4
= 0 ;
35994 char * kwnames
[] = {
35995 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36000 if (!SWIG_IsOK(res1
)) {
36001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36003 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36005 arg2
= wxString_in_helper(obj1
);
36006 if (arg2
== NULL
) SWIG_fail
;
36010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36011 if (!SWIG_IsOK(ecode3
)) {
36012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36014 arg3
= static_cast< int >(val3
);
36017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36018 if (!SWIG_IsOK(ecode4
)) {
36019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36021 arg4
= static_cast< int >(val4
);
36024 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36025 if (!SWIG_IsOK(res5
)) {
36026 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36032 wxPyEndAllowThreads(__tstate
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36035 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36050 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36051 PyObject
*resultobj
= 0;
36052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36053 wxTreeItemId
*arg2
= 0 ;
36054 wxString
*arg3
= 0 ;
36055 int arg4
= (int) -1 ;
36056 int arg5
= (int) -1 ;
36057 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36058 wxTreeItemId result
;
36063 bool temp3
= false ;
36069 PyObject
* obj0
= 0 ;
36070 PyObject
* obj1
= 0 ;
36071 PyObject
* obj2
= 0 ;
36072 PyObject
* obj3
= 0 ;
36073 PyObject
* obj4
= 0 ;
36074 PyObject
* obj5
= 0 ;
36075 char * kwnames
[] = {
36076 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36081 if (!SWIG_IsOK(res1
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36084 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36086 if (!SWIG_IsOK(res2
)) {
36087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36092 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36094 arg3
= wxString_in_helper(obj2
);
36095 if (arg3
== NULL
) SWIG_fail
;
36099 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36100 if (!SWIG_IsOK(ecode4
)) {
36101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36103 arg4
= static_cast< int >(val4
);
36106 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36107 if (!SWIG_IsOK(ecode5
)) {
36108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36110 arg5
= static_cast< int >(val5
);
36113 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36114 if (!SWIG_IsOK(res6
)) {
36115 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36120 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36124 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36139 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36140 PyObject
*resultobj
= 0;
36141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36142 wxTreeItemId
*arg2
= 0 ;
36143 wxTreeItemId
*arg3
= 0 ;
36144 wxString
*arg4
= 0 ;
36145 int arg5
= (int) -1 ;
36146 int arg6
= (int) -1 ;
36147 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36148 wxTreeItemId result
;
36155 bool temp4
= false ;
36161 PyObject
* obj0
= 0 ;
36162 PyObject
* obj1
= 0 ;
36163 PyObject
* obj2
= 0 ;
36164 PyObject
* obj3
= 0 ;
36165 PyObject
* obj4
= 0 ;
36166 PyObject
* obj5
= 0 ;
36167 PyObject
* obj6
= 0 ;
36168 char * kwnames
[] = {
36169 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36174 if (!SWIG_IsOK(res1
)) {
36175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36177 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36179 if (!SWIG_IsOK(res2
)) {
36180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36185 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36186 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36187 if (!SWIG_IsOK(res3
)) {
36188 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36193 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36195 arg4
= wxString_in_helper(obj3
);
36196 if (arg4
== NULL
) SWIG_fail
;
36200 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36201 if (!SWIG_IsOK(ecode5
)) {
36202 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36204 arg5
= static_cast< int >(val5
);
36207 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36208 if (!SWIG_IsOK(ecode6
)) {
36209 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36211 arg6
= static_cast< int >(val6
);
36214 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36215 if (!SWIG_IsOK(res7
)) {
36216 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36221 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36222 wxPyEndAllowThreads(__tstate
);
36223 if (PyErr_Occurred()) SWIG_fail
;
36225 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36240 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36241 PyObject
*resultobj
= 0;
36242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36243 wxTreeItemId
*arg2
= 0 ;
36245 wxString
*arg4
= 0 ;
36246 int arg5
= (int) -1 ;
36247 int arg6
= (int) -1 ;
36248 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36249 wxTreeItemId result
;
36256 bool temp4
= false ;
36262 PyObject
* obj0
= 0 ;
36263 PyObject
* obj1
= 0 ;
36264 PyObject
* obj2
= 0 ;
36265 PyObject
* obj3
= 0 ;
36266 PyObject
* obj4
= 0 ;
36267 PyObject
* obj5
= 0 ;
36268 PyObject
* obj6
= 0 ;
36269 char * kwnames
[] = {
36270 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36275 if (!SWIG_IsOK(res1
)) {
36276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36278 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36280 if (!SWIG_IsOK(res2
)) {
36281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36286 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36287 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36288 if (!SWIG_IsOK(ecode3
)) {
36289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36291 arg3
= static_cast< size_t >(val3
);
36293 arg4
= wxString_in_helper(obj3
);
36294 if (arg4
== NULL
) SWIG_fail
;
36298 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36299 if (!SWIG_IsOK(ecode5
)) {
36300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36302 arg5
= static_cast< int >(val5
);
36305 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36306 if (!SWIG_IsOK(ecode6
)) {
36307 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36309 arg6
= static_cast< int >(val6
);
36312 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36313 if (!SWIG_IsOK(res7
)) {
36314 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36319 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36320 wxPyEndAllowThreads(__tstate
);
36321 if (PyErr_Occurred()) SWIG_fail
;
36323 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36338 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36339 PyObject
*resultobj
= 0;
36340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36341 wxTreeItemId
*arg2
= 0 ;
36342 wxString
*arg3
= 0 ;
36343 int arg4
= (int) -1 ;
36344 int arg5
= (int) -1 ;
36345 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36346 wxTreeItemId result
;
36351 bool temp3
= false ;
36357 PyObject
* obj0
= 0 ;
36358 PyObject
* obj1
= 0 ;
36359 PyObject
* obj2
= 0 ;
36360 PyObject
* obj3
= 0 ;
36361 PyObject
* obj4
= 0 ;
36362 PyObject
* obj5
= 0 ;
36363 char * kwnames
[] = {
36364 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36369 if (!SWIG_IsOK(res1
)) {
36370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36372 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36374 if (!SWIG_IsOK(res2
)) {
36375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36380 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36382 arg3
= wxString_in_helper(obj2
);
36383 if (arg3
== NULL
) SWIG_fail
;
36387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36388 if (!SWIG_IsOK(ecode4
)) {
36389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36391 arg4
= static_cast< int >(val4
);
36394 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36395 if (!SWIG_IsOK(ecode5
)) {
36396 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36398 arg5
= static_cast< int >(val5
);
36401 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36402 if (!SWIG_IsOK(res6
)) {
36403 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36408 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36409 wxPyEndAllowThreads(__tstate
);
36410 if (PyErr_Occurred()) SWIG_fail
;
36412 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36427 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
= 0;
36429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36430 wxTreeItemId
*arg2
= 0 ;
36435 PyObject
* obj0
= 0 ;
36436 PyObject
* obj1
= 0 ;
36437 char * kwnames
[] = {
36438 (char *) "self",(char *) "item", NULL
36441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36443 if (!SWIG_IsOK(res1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36446 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36448 if (!SWIG_IsOK(res2
)) {
36449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36454 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36457 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36458 wxPyEndAllowThreads(__tstate
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= SWIG_Py_Void();
36468 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36469 PyObject
*resultobj
= 0;
36470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36471 wxTreeItemId
*arg2
= 0 ;
36476 PyObject
* obj0
= 0 ;
36477 PyObject
* obj1
= 0 ;
36478 char * kwnames
[] = {
36479 (char *) "self",(char *) "item", NULL
36482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36484 if (!SWIG_IsOK(res1
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36487 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36489 if (!SWIG_IsOK(res2
)) {
36490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36495 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36498 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36499 wxPyEndAllowThreads(__tstate
);
36500 if (PyErr_Occurred()) SWIG_fail
;
36502 resultobj
= SWIG_Py_Void();
36509 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36510 PyObject
*resultobj
= 0;
36511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36514 PyObject
*swig_obj
[1] ;
36516 if (!args
) SWIG_fail
;
36517 swig_obj
[0] = args
;
36518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36519 if (!SWIG_IsOK(res1
)) {
36520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36522 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36525 (arg1
)->DeleteAllItems();
36526 wxPyEndAllowThreads(__tstate
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36529 resultobj
= SWIG_Py_Void();
36536 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
= 0;
36538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36539 wxTreeItemId
*arg2
= 0 ;
36544 PyObject
* obj0
= 0 ;
36545 PyObject
* obj1
= 0 ;
36546 char * kwnames
[] = {
36547 (char *) "self",(char *) "item", NULL
36550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36552 if (!SWIG_IsOK(res1
)) {
36553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36555 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36557 if (!SWIG_IsOK(res2
)) {
36558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36563 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36566 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36567 wxPyEndAllowThreads(__tstate
);
36568 if (PyErr_Occurred()) SWIG_fail
;
36570 resultobj
= SWIG_Py_Void();
36577 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36578 PyObject
*resultobj
= 0;
36579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36580 wxTreeItemId
*arg2
= 0 ;
36585 PyObject
* obj0
= 0 ;
36586 PyObject
* obj1
= 0 ;
36587 char * kwnames
[] = {
36588 (char *) "self",(char *) "item", NULL
36591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36593 if (!SWIG_IsOK(res1
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36596 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36598 if (!SWIG_IsOK(res2
)) {
36599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36604 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= SWIG_Py_Void();
36618 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36619 PyObject
*resultobj
= 0;
36620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36623 PyObject
*swig_obj
[1] ;
36625 if (!args
) SWIG_fail
;
36626 swig_obj
[0] = args
;
36627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36628 if (!SWIG_IsOK(res1
)) {
36629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36631 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36634 (arg1
)->ExpandAll();
36635 wxPyEndAllowThreads(__tstate
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36638 resultobj
= SWIG_Py_Void();
36645 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36646 PyObject
*resultobj
= 0;
36647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36648 wxTreeItemId
*arg2
= 0 ;
36653 PyObject
* obj0
= 0 ;
36654 PyObject
* obj1
= 0 ;
36655 char * kwnames
[] = {
36656 (char *) "self",(char *) "item", NULL
36659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36661 if (!SWIG_IsOK(res1
)) {
36662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36664 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36666 if (!SWIG_IsOK(res2
)) {
36667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36672 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36675 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36676 wxPyEndAllowThreads(__tstate
);
36677 if (PyErr_Occurred()) SWIG_fail
;
36679 resultobj
= SWIG_Py_Void();
36686 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36687 PyObject
*resultobj
= 0;
36688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36689 wxTreeItemId
*arg2
= 0 ;
36694 PyObject
* obj0
= 0 ;
36695 PyObject
* obj1
= 0 ;
36696 char * kwnames
[] = {
36697 (char *) "self",(char *) "item", NULL
36700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36702 if (!SWIG_IsOK(res1
)) {
36703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36705 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36707 if (!SWIG_IsOK(res2
)) {
36708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36713 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36716 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36717 wxPyEndAllowThreads(__tstate
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36720 resultobj
= SWIG_Py_Void();
36727 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36728 PyObject
*resultobj
= 0;
36729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36730 wxTreeItemId
*arg2
= 0 ;
36735 PyObject
* obj0
= 0 ;
36736 PyObject
* obj1
= 0 ;
36737 char * kwnames
[] = {
36738 (char *) "self",(char *) "item", NULL
36741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36743 if (!SWIG_IsOK(res1
)) {
36744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36746 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36748 if (!SWIG_IsOK(res2
)) {
36749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36754 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36757 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36758 wxPyEndAllowThreads(__tstate
);
36759 if (PyErr_Occurred()) SWIG_fail
;
36761 resultobj
= SWIG_Py_Void();
36768 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36769 PyObject
*resultobj
= 0;
36770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36773 PyObject
*swig_obj
[1] ;
36775 if (!args
) SWIG_fail
;
36776 swig_obj
[0] = args
;
36777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36778 if (!SWIG_IsOK(res1
)) {
36779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36781 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36784 (arg1
)->Unselect();
36785 wxPyEndAllowThreads(__tstate
);
36786 if (PyErr_Occurred()) SWIG_fail
;
36788 resultobj
= SWIG_Py_Void();
36795 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36796 PyObject
*resultobj
= 0;
36797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36798 wxTreeItemId
*arg2
= 0 ;
36803 PyObject
* obj0
= 0 ;
36804 PyObject
* obj1
= 0 ;
36805 char * kwnames
[] = {
36806 (char *) "self",(char *) "item", NULL
36809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36811 if (!SWIG_IsOK(res1
)) {
36812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36814 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36816 if (!SWIG_IsOK(res2
)) {
36817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36822 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36825 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36826 wxPyEndAllowThreads(__tstate
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36829 resultobj
= SWIG_Py_Void();
36836 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36837 PyObject
*resultobj
= 0;
36838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36841 PyObject
*swig_obj
[1] ;
36843 if (!args
) SWIG_fail
;
36844 swig_obj
[0] = args
;
36845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36846 if (!SWIG_IsOK(res1
)) {
36847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36849 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 (arg1
)->UnselectAll();
36853 wxPyEndAllowThreads(__tstate
);
36854 if (PyErr_Occurred()) SWIG_fail
;
36856 resultobj
= SWIG_Py_Void();
36863 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36864 PyObject
*resultobj
= 0;
36865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36866 wxTreeItemId
*arg2
= 0 ;
36867 bool arg3
= (bool) true ;
36874 PyObject
* obj0
= 0 ;
36875 PyObject
* obj1
= 0 ;
36876 PyObject
* obj2
= 0 ;
36877 char * kwnames
[] = {
36878 (char *) "self",(char *) "item",(char *) "select", NULL
36881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36883 if (!SWIG_IsOK(res1
)) {
36884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36886 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36888 if (!SWIG_IsOK(res2
)) {
36889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36894 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36896 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36897 if (!SWIG_IsOK(ecode3
)) {
36898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36900 arg3
= static_cast< bool >(val3
);
36903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36904 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36905 wxPyEndAllowThreads(__tstate
);
36906 if (PyErr_Occurred()) SWIG_fail
;
36908 resultobj
= SWIG_Py_Void();
36915 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36916 PyObject
*resultobj
= 0;
36917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36918 wxTreeItemId
*arg2
= 0 ;
36923 PyObject
* obj0
= 0 ;
36924 PyObject
* obj1
= 0 ;
36925 char * kwnames
[] = {
36926 (char *) "self",(char *) "item", NULL
36929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36931 if (!SWIG_IsOK(res1
)) {
36932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36934 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36936 if (!SWIG_IsOK(res2
)) {
36937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36942 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36946 wxPyEndAllowThreads(__tstate
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36949 resultobj
= SWIG_Py_Void();
36956 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36957 PyObject
*resultobj
= 0;
36958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36959 wxTreeItemId
*arg2
= 0 ;
36964 PyObject
* obj0
= 0 ;
36965 PyObject
* obj1
= 0 ;
36966 char * kwnames
[] = {
36967 (char *) "self",(char *) "item", NULL
36970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36972 if (!SWIG_IsOK(res1
)) {
36973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36975 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36977 if (!SWIG_IsOK(res2
)) {
36978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36983 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36986 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36987 wxPyEndAllowThreads(__tstate
);
36988 if (PyErr_Occurred()) SWIG_fail
;
36990 resultobj
= SWIG_Py_Void();
36997 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36998 PyObject
*resultobj
= 0;
36999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37000 wxTreeItemId
*arg2
= 0 ;
37005 PyObject
* obj0
= 0 ;
37006 PyObject
* obj1
= 0 ;
37007 char * kwnames
[] = {
37008 (char *) "self",(char *) "item", NULL
37011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37013 if (!SWIG_IsOK(res1
)) {
37014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37016 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37018 if (!SWIG_IsOK(res2
)) {
37019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37024 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37027 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37031 resultobj
= SWIG_Py_Void();
37038 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
= 0;
37040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37041 wxTreeItemId
*arg2
= 0 ;
37046 PyObject
* obj0
= 0 ;
37047 PyObject
* obj1
= 0 ;
37048 char * kwnames
[] = {
37049 (char *) "self",(char *) "item", NULL
37052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37054 if (!SWIG_IsOK(res1
)) {
37055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37057 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37059 if (!SWIG_IsOK(res2
)) {
37060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37065 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37072 resultobj
= SWIG_Py_Void();
37079 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37080 PyObject
*resultobj
= 0;
37081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37082 wxTextCtrl
*result
= 0 ;
37085 PyObject
*swig_obj
[1] ;
37087 if (!args
) SWIG_fail
;
37088 swig_obj
[0] = args
;
37089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37090 if (!SWIG_IsOK(res1
)) {
37091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37093 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37096 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37097 wxPyEndAllowThreads(__tstate
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37101 resultobj
= wxPyMake_wxObject(result
, 0);
37109 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37110 PyObject
*resultobj
= 0;
37111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37112 wxTreeItemId
*arg2
= 0 ;
37117 PyObject
* obj0
= 0 ;
37118 PyObject
* obj1
= 0 ;
37119 char * kwnames
[] = {
37120 (char *) "self",(char *) "item", NULL
37123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37125 if (!SWIG_IsOK(res1
)) {
37126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37128 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37130 if (!SWIG_IsOK(res2
)) {
37131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37136 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37139 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37143 resultobj
= SWIG_Py_Void();
37150 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
= 0;
37152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37153 wxPoint
*arg2
= 0 ;
37155 wxTreeItemId result
;
37160 int res3
= SWIG_TMPOBJ
;
37161 PyObject
* obj0
= 0 ;
37162 PyObject
* obj1
= 0 ;
37163 char * kwnames
[] = {
37164 (char *) "self",(char *) "point", NULL
37168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37170 if (!SWIG_IsOK(res1
)) {
37171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37184 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37185 if (SWIG_IsTmpObj(res3
)) {
37186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37197 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37198 PyObject
*resultobj
= 0;
37199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37200 wxTreeItemId
*arg2
= 0 ;
37201 bool arg3
= (bool) false ;
37202 PyObject
*result
= 0 ;
37209 PyObject
* obj0
= 0 ;
37210 PyObject
* obj1
= 0 ;
37211 PyObject
* obj2
= 0 ;
37212 char * kwnames
[] = {
37213 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37218 if (!SWIG_IsOK(res1
)) {
37219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37221 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37223 if (!SWIG_IsOK(res2
)) {
37224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37229 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37231 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37232 if (!SWIG_IsOK(ecode3
)) {
37233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37235 arg3
= static_cast< bool >(val3
);
37238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37239 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37240 wxPyEndAllowThreads(__tstate
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37243 resultobj
= result
;
37250 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37251 PyObject
*resultobj
= 0;
37252 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37253 SwigValueWrapper
<wxVisualAttributes
> result
;
37256 PyObject
* obj0
= 0 ;
37257 char * kwnames
[] = {
37258 (char *) "variant", NULL
37261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37263 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37264 if (!SWIG_IsOK(ecode1
)) {
37265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37267 arg1
= static_cast< wxWindowVariant
>(val1
);
37270 if (!wxPyCheckForApp()) SWIG_fail
;
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37273 wxPyEndAllowThreads(__tstate
);
37274 if (PyErr_Occurred()) SWIG_fail
;
37276 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37283 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37284 PyObject
*resultobj
= 0;
37285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37291 PyObject
* obj0
= 0 ;
37292 PyObject
* obj1
= 0 ;
37293 char * kwnames
[] = {
37294 (char *) "self",(char *) "q", NULL
37297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37299 if (!SWIG_IsOK(res1
)) {
37300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37302 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37303 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37304 if (!SWIG_IsOK(ecode2
)) {
37305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37307 arg2
= static_cast< bool >(val2
);
37309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 (arg1
)->SetQuickBestSize(arg2
);
37311 wxPyEndAllowThreads(__tstate
);
37312 if (PyErr_Occurred()) SWIG_fail
;
37314 resultobj
= SWIG_Py_Void();
37321 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37322 PyObject
*resultobj
= 0;
37323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37327 PyObject
*swig_obj
[1] ;
37329 if (!args
) SWIG_fail
;
37330 swig_obj
[0] = args
;
37331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37332 if (!SWIG_IsOK(res1
)) {
37333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37335 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37338 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37339 wxPyEndAllowThreads(__tstate
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37351 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37355 return SWIG_Py_Void();
37358 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37359 return SWIG_Python_InitShadowInstance(args
);
37362 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37363 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37368 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37369 PyObject
*pyobj
= 0;
37373 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37375 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37382 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37383 PyObject
*resultobj
= 0;
37384 wxWindow
*arg1
= (wxWindow
*) 0 ;
37385 int arg2
= (int) (int)-1 ;
37386 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37392 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37393 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37395 int arg8
= (int) 0 ;
37396 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37397 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37398 wxGenericDirCtrl
*result
= 0 ;
37403 bool temp3
= false ;
37408 bool temp7
= false ;
37411 bool temp9
= false ;
37412 PyObject
* obj0
= 0 ;
37413 PyObject
* obj1
= 0 ;
37414 PyObject
* obj2
= 0 ;
37415 PyObject
* obj3
= 0 ;
37416 PyObject
* obj4
= 0 ;
37417 PyObject
* obj5
= 0 ;
37418 PyObject
* obj6
= 0 ;
37419 PyObject
* obj7
= 0 ;
37420 PyObject
* obj8
= 0 ;
37421 char * kwnames
[] = {
37422 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37427 if (!SWIG_IsOK(res1
)) {
37428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37433 if (!SWIG_IsOK(ecode2
)) {
37434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37436 arg2
= static_cast< int >(val2
);
37440 arg3
= wxString_in_helper(obj2
);
37441 if (arg3
== NULL
) SWIG_fail
;
37448 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37454 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37458 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37459 if (!SWIG_IsOK(ecode6
)) {
37460 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37462 arg6
= static_cast< long >(val6
);
37466 arg7
= wxString_in_helper(obj6
);
37467 if (arg7
== NULL
) SWIG_fail
;
37472 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37473 if (!SWIG_IsOK(ecode8
)) {
37474 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37476 arg8
= static_cast< int >(val8
);
37480 arg9
= wxString_in_helper(obj8
);
37481 if (arg9
== NULL
) SWIG_fail
;
37486 if (!wxPyCheckForApp()) SWIG_fail
;
37487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37488 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37489 wxPyEndAllowThreads(__tstate
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37523 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37524 PyObject
*resultobj
= 0;
37525 wxGenericDirCtrl
*result
= 0 ;
37527 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37529 if (!wxPyCheckForApp()) SWIG_fail
;
37530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37531 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37532 wxPyEndAllowThreads(__tstate
);
37533 if (PyErr_Occurred()) SWIG_fail
;
37535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37542 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37543 PyObject
*resultobj
= 0;
37544 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37545 wxWindow
*arg2
= (wxWindow
*) 0 ;
37546 int arg3
= (int) (int)-1 ;
37547 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37549 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37550 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37551 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37552 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37553 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37554 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37555 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37556 int arg9
= (int) 0 ;
37557 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37558 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37566 bool temp4
= false ;
37571 bool temp8
= false ;
37574 bool temp10
= false ;
37575 PyObject
* obj0
= 0 ;
37576 PyObject
* obj1
= 0 ;
37577 PyObject
* obj2
= 0 ;
37578 PyObject
* obj3
= 0 ;
37579 PyObject
* obj4
= 0 ;
37580 PyObject
* obj5
= 0 ;
37581 PyObject
* obj6
= 0 ;
37582 PyObject
* obj7
= 0 ;
37583 PyObject
* obj8
= 0 ;
37584 PyObject
* obj9
= 0 ;
37585 char * kwnames
[] = {
37586 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37591 if (!SWIG_IsOK(res1
)) {
37592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37594 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37596 if (!SWIG_IsOK(res2
)) {
37597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37599 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37602 if (!SWIG_IsOK(ecode3
)) {
37603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37605 arg3
= static_cast< int >(val3
);
37609 arg4
= wxString_in_helper(obj3
);
37610 if (arg4
== NULL
) SWIG_fail
;
37617 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37623 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37627 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37628 if (!SWIG_IsOK(ecode7
)) {
37629 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37631 arg7
= static_cast< long >(val7
);
37635 arg8
= wxString_in_helper(obj7
);
37636 if (arg8
== NULL
) SWIG_fail
;
37641 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37642 if (!SWIG_IsOK(ecode9
)) {
37643 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37645 arg9
= static_cast< int >(val9
);
37649 arg10
= wxString_in_helper(obj9
);
37650 if (arg10
== NULL
) SWIG_fail
;
37655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37657 wxPyEndAllowThreads(__tstate
);
37658 if (PyErr_Occurred()) SWIG_fail
;
37661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37693 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37694 PyObject
*resultobj
= 0;
37695 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37696 wxString
*arg2
= 0 ;
37700 bool temp2
= false ;
37701 PyObject
* obj0
= 0 ;
37702 PyObject
* obj1
= 0 ;
37703 char * kwnames
[] = {
37704 (char *) "self",(char *) "path", NULL
37707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37709 if (!SWIG_IsOK(res1
)) {
37710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37712 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37714 arg2
= wxString_in_helper(obj1
);
37715 if (arg2
== NULL
) SWIG_fail
;
37719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37720 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37741 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37742 PyObject
*resultobj
= 0;
37743 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37744 wxString
*arg2
= 0 ;
37748 bool temp2
= false ;
37749 PyObject
* obj0
= 0 ;
37750 PyObject
* obj1
= 0 ;
37751 char * kwnames
[] = {
37752 (char *) "self",(char *) "path", NULL
37755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37757 if (!SWIG_IsOK(res1
)) {
37758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37760 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37762 arg2
= wxString_in_helper(obj1
);
37763 if (arg2
== NULL
) SWIG_fail
;
37767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37768 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37769 wxPyEndAllowThreads(__tstate
);
37770 if (PyErr_Occurred()) SWIG_fail
;
37773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37789 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37790 PyObject
*resultobj
= 0;
37791 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37795 PyObject
*swig_obj
[1] ;
37797 if (!args
) SWIG_fail
;
37798 swig_obj
[0] = args
;
37799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37800 if (!SWIG_IsOK(res1
)) {
37801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37803 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37806 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37807 wxPyEndAllowThreads(__tstate
);
37808 if (PyErr_Occurred()) SWIG_fail
;
37812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37823 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37824 PyObject
*resultobj
= 0;
37825 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37826 wxString
*arg2
= 0 ;
37829 bool temp2
= false ;
37830 PyObject
* obj0
= 0 ;
37831 PyObject
* obj1
= 0 ;
37832 char * kwnames
[] = {
37833 (char *) "self",(char *) "path", NULL
37836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37838 if (!SWIG_IsOK(res1
)) {
37839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37841 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37843 arg2
= wxString_in_helper(obj1
);
37844 if (arg2
== NULL
) SWIG_fail
;
37848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37849 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37850 wxPyEndAllowThreads(__tstate
);
37851 if (PyErr_Occurred()) SWIG_fail
;
37853 resultobj
= SWIG_Py_Void();
37868 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37869 PyObject
*resultobj
= 0;
37870 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37874 PyObject
*swig_obj
[1] ;
37876 if (!args
) SWIG_fail
;
37877 swig_obj
[0] = args
;
37878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37879 if (!SWIG_IsOK(res1
)) {
37880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37882 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37885 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37886 wxPyEndAllowThreads(__tstate
);
37887 if (PyErr_Occurred()) SWIG_fail
;
37891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37902 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37903 PyObject
*resultobj
= 0;
37904 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37908 PyObject
*swig_obj
[1] ;
37910 if (!args
) SWIG_fail
;
37911 swig_obj
[0] = args
;
37912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37913 if (!SWIG_IsOK(res1
)) {
37914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37916 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37920 wxPyEndAllowThreads(__tstate
);
37921 if (PyErr_Occurred()) SWIG_fail
;
37925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37936 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37937 PyObject
*resultobj
= 0;
37938 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37939 wxString
*arg2
= 0 ;
37942 bool temp2
= false ;
37943 PyObject
* obj0
= 0 ;
37944 PyObject
* obj1
= 0 ;
37945 char * kwnames
[] = {
37946 (char *) "self",(char *) "path", NULL
37949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37951 if (!SWIG_IsOK(res1
)) {
37952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37954 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37956 arg2
= wxString_in_helper(obj1
);
37957 if (arg2
== NULL
) SWIG_fail
;
37961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37962 (arg1
)->SetPath((wxString
const &)*arg2
);
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37966 resultobj
= SWIG_Py_Void();
37981 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37982 PyObject
*resultobj
= 0;
37983 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37989 PyObject
* obj0
= 0 ;
37990 PyObject
* obj1
= 0 ;
37991 char * kwnames
[] = {
37992 (char *) "self",(char *) "show", NULL
37995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37997 if (!SWIG_IsOK(res1
)) {
37998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38000 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38001 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38002 if (!SWIG_IsOK(ecode2
)) {
38003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38005 arg2
= static_cast< bool >(val2
);
38007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38008 (arg1
)->ShowHidden(arg2
);
38009 wxPyEndAllowThreads(__tstate
);
38010 if (PyErr_Occurred()) SWIG_fail
;
38012 resultobj
= SWIG_Py_Void();
38019 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38020 PyObject
*resultobj
= 0;
38021 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38025 PyObject
*swig_obj
[1] ;
38027 if (!args
) SWIG_fail
;
38028 swig_obj
[0] = args
;
38029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38030 if (!SWIG_IsOK(res1
)) {
38031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38033 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38036 result
= (bool)(arg1
)->GetShowHidden();
38037 wxPyEndAllowThreads(__tstate
);
38038 if (PyErr_Occurred()) SWIG_fail
;
38041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38049 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38050 PyObject
*resultobj
= 0;
38051 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38055 PyObject
*swig_obj
[1] ;
38057 if (!args
) SWIG_fail
;
38058 swig_obj
[0] = args
;
38059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38060 if (!SWIG_IsOK(res1
)) {
38061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38063 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38083 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38084 PyObject
*resultobj
= 0;
38085 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38086 wxString
*arg2
= 0 ;
38089 bool temp2
= false ;
38090 PyObject
* obj0
= 0 ;
38091 PyObject
* obj1
= 0 ;
38092 char * kwnames
[] = {
38093 (char *) "self",(char *) "filter", NULL
38096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38098 if (!SWIG_IsOK(res1
)) {
38099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38101 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38103 arg2
= wxString_in_helper(obj1
);
38104 if (arg2
== NULL
) SWIG_fail
;
38108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38109 (arg1
)->SetFilter((wxString
const &)*arg2
);
38110 wxPyEndAllowThreads(__tstate
);
38111 if (PyErr_Occurred()) SWIG_fail
;
38113 resultobj
= SWIG_Py_Void();
38128 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38129 PyObject
*resultobj
= 0;
38130 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38134 PyObject
*swig_obj
[1] ;
38136 if (!args
) SWIG_fail
;
38137 swig_obj
[0] = args
;
38138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38139 if (!SWIG_IsOK(res1
)) {
38140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38142 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38145 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38146 wxPyEndAllowThreads(__tstate
);
38147 if (PyErr_Occurred()) SWIG_fail
;
38149 resultobj
= SWIG_From_int(static_cast< int >(result
));
38156 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38157 PyObject
*resultobj
= 0;
38158 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38164 PyObject
* obj0
= 0 ;
38165 PyObject
* obj1
= 0 ;
38166 char * kwnames
[] = {
38167 (char *) "self",(char *) "n", NULL
38170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38172 if (!SWIG_IsOK(res1
)) {
38173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38175 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38177 if (!SWIG_IsOK(ecode2
)) {
38178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38180 arg2
= static_cast< int >(val2
);
38182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38183 (arg1
)->SetFilterIndex(arg2
);
38184 wxPyEndAllowThreads(__tstate
);
38185 if (PyErr_Occurred()) SWIG_fail
;
38187 resultobj
= SWIG_Py_Void();
38194 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38195 PyObject
*resultobj
= 0;
38196 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38197 wxTreeItemId result
;
38200 PyObject
*swig_obj
[1] ;
38202 if (!args
) SWIG_fail
;
38203 swig_obj
[0] = args
;
38204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38205 if (!SWIG_IsOK(res1
)) {
38206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38208 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38211 result
= (arg1
)->GetRootId();
38212 wxPyEndAllowThreads(__tstate
);
38213 if (PyErr_Occurred()) SWIG_fail
;
38215 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38222 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38223 PyObject
*resultobj
= 0;
38224 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38225 wxPyTreeCtrl
*result
= 0 ;
38228 PyObject
*swig_obj
[1] ;
38230 if (!args
) SWIG_fail
;
38231 swig_obj
[0] = args
;
38232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38233 if (!SWIG_IsOK(res1
)) {
38234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38236 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38239 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38240 wxPyEndAllowThreads(__tstate
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38244 resultobj
= wxPyMake_wxObject(result
, 0);
38252 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38253 PyObject
*resultobj
= 0;
38254 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38255 wxDirFilterListCtrl
*result
= 0 ;
38258 PyObject
*swig_obj
[1] ;
38260 if (!args
) SWIG_fail
;
38261 swig_obj
[0] = args
;
38262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38263 if (!SWIG_IsOK(res1
)) {
38264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38266 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38269 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38280 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38281 PyObject
*resultobj
= 0;
38282 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38283 wxTreeItemId arg2
;
38284 wxString
*arg3
= 0 ;
38286 wxTreeItemId result
;
38291 bool temp3
= false ;
38293 int res4
= SWIG_TMPOBJ
;
38294 PyObject
* obj0
= 0 ;
38295 PyObject
* obj1
= 0 ;
38296 PyObject
* obj2
= 0 ;
38297 char * kwnames
[] = {
38298 (char *) "self",(char *) "parentId",(char *) "path", NULL
38302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38304 if (!SWIG_IsOK(res1
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38307 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38310 if (!SWIG_IsOK(res2
)) {
38311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38316 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38318 if (SWIG_IsNewObj(res2
)) delete temp
;
38322 arg3
= wxString_in_helper(obj2
);
38323 if (arg3
== NULL
) SWIG_fail
;
38327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38328 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38329 wxPyEndAllowThreads(__tstate
);
38330 if (PyErr_Occurred()) SWIG_fail
;
38332 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38333 if (SWIG_IsTmpObj(res4
)) {
38334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38336 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38353 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38354 PyObject
*resultobj
= 0;
38355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38358 PyObject
*swig_obj
[1] ;
38360 if (!args
) SWIG_fail
;
38361 swig_obj
[0] = args
;
38362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38363 if (!SWIG_IsOK(res1
)) {
38364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38366 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38369 (arg1
)->DoResize();
38370 wxPyEndAllowThreads(__tstate
);
38371 if (PyErr_Occurred()) SWIG_fail
;
38373 resultobj
= SWIG_Py_Void();
38380 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38381 PyObject
*resultobj
= 0;
38382 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38385 PyObject
*swig_obj
[1] ;
38387 if (!args
) SWIG_fail
;
38388 swig_obj
[0] = args
;
38389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38390 if (!SWIG_IsOK(res1
)) {
38391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38393 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38396 (arg1
)->ReCreateTree();
38397 wxPyEndAllowThreads(__tstate
);
38398 if (PyErr_Occurred()) SWIG_fail
;
38400 resultobj
= SWIG_Py_Void();
38407 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38410 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38411 return SWIG_Py_Void();
38414 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38415 return SWIG_Python_InitShadowInstance(args
);
38418 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
= 0;
38420 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38421 int arg2
= (int) (int)-1 ;
38422 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38423 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38424 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38425 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38426 long arg5
= (long) 0 ;
38427 wxDirFilterListCtrl
*result
= 0 ;
38436 PyObject
* obj0
= 0 ;
38437 PyObject
* obj1
= 0 ;
38438 PyObject
* obj2
= 0 ;
38439 PyObject
* obj3
= 0 ;
38440 PyObject
* obj4
= 0 ;
38441 char * kwnames
[] = {
38442 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38447 if (!SWIG_IsOK(res1
)) {
38448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38450 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38453 if (!SWIG_IsOK(ecode2
)) {
38454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38456 arg2
= static_cast< int >(val2
);
38461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38467 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38471 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38472 if (!SWIG_IsOK(ecode5
)) {
38473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38475 arg5
= static_cast< long >(val5
);
38478 if (!wxPyCheckForApp()) SWIG_fail
;
38479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38480 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38481 wxPyEndAllowThreads(__tstate
);
38482 if (PyErr_Occurred()) SWIG_fail
;
38484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38491 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38492 PyObject
*resultobj
= 0;
38493 wxDirFilterListCtrl
*result
= 0 ;
38495 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38497 if (!wxPyCheckForApp()) SWIG_fail
;
38498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38499 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38500 wxPyEndAllowThreads(__tstate
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38510 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38511 PyObject
*resultobj
= 0;
38512 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38513 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38514 int arg3
= (int) (int)-1 ;
38515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38519 long arg6
= (long) 0 ;
38531 PyObject
* obj0
= 0 ;
38532 PyObject
* obj1
= 0 ;
38533 PyObject
* obj2
= 0 ;
38534 PyObject
* obj3
= 0 ;
38535 PyObject
* obj4
= 0 ;
38536 PyObject
* obj5
= 0 ;
38537 char * kwnames
[] = {
38538 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38543 if (!SWIG_IsOK(res1
)) {
38544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38546 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38548 if (!SWIG_IsOK(res2
)) {
38549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38551 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38554 if (!SWIG_IsOK(ecode3
)) {
38555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38557 arg3
= static_cast< int >(val3
);
38562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38572 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38573 if (!SWIG_IsOK(ecode6
)) {
38574 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38576 arg6
= static_cast< long >(val6
);
38579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38580 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38581 wxPyEndAllowThreads(__tstate
);
38582 if (PyErr_Occurred()) SWIG_fail
;
38585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38593 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38594 PyObject
*resultobj
= 0;
38595 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38596 wxString
*arg2
= 0 ;
38600 bool temp2
= false ;
38603 PyObject
* obj0
= 0 ;
38604 PyObject
* obj1
= 0 ;
38605 PyObject
* obj2
= 0 ;
38606 char * kwnames
[] = {
38607 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38612 if (!SWIG_IsOK(res1
)) {
38613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38615 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38617 arg2
= wxString_in_helper(obj1
);
38618 if (arg2
== NULL
) SWIG_fail
;
38621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38622 if (!SWIG_IsOK(ecode3
)) {
38623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38625 arg3
= static_cast< int >(val3
);
38627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38628 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38629 wxPyEndAllowThreads(__tstate
);
38630 if (PyErr_Occurred()) SWIG_fail
;
38632 resultobj
= SWIG_Py_Void();
38647 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38650 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38651 return SWIG_Py_Void();
38654 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38655 return SWIG_Python_InitShadowInstance(args
);
38658 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38659 PyObject
*resultobj
= 0;
38660 wxWindow
*arg1
= (wxWindow
*) 0 ;
38661 int arg2
= (int) (int)-1 ;
38662 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38663 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38664 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38665 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38666 long arg5
= (long) 0 ;
38667 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38668 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38669 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38670 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38671 wxPyControl
*result
= 0 ;
38682 bool temp7
= false ;
38683 PyObject
* obj0
= 0 ;
38684 PyObject
* obj1
= 0 ;
38685 PyObject
* obj2
= 0 ;
38686 PyObject
* obj3
= 0 ;
38687 PyObject
* obj4
= 0 ;
38688 PyObject
* obj5
= 0 ;
38689 PyObject
* obj6
= 0 ;
38690 char * kwnames
[] = {
38691 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38696 if (!SWIG_IsOK(res1
)) {
38697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38702 if (!SWIG_IsOK(ecode2
)) {
38703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38705 arg2
= static_cast< int >(val2
);
38710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38716 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38720 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38721 if (!SWIG_IsOK(ecode5
)) {
38722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38724 arg5
= static_cast< long >(val5
);
38727 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38728 if (!SWIG_IsOK(res6
)) {
38729 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38734 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38738 arg7
= wxString_in_helper(obj6
);
38739 if (arg7
== NULL
) SWIG_fail
;
38744 if (!wxPyCheckForApp()) SWIG_fail
;
38745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38746 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38747 wxPyEndAllowThreads(__tstate
);
38748 if (PyErr_Occurred()) SWIG_fail
;
38750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38765 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38766 PyObject
*resultobj
= 0;
38767 wxPyControl
*result
= 0 ;
38769 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38771 if (!wxPyCheckForApp()) SWIG_fail
;
38772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38773 result
= (wxPyControl
*)new wxPyControl();
38774 wxPyEndAllowThreads(__tstate
);
38775 if (PyErr_Occurred()) SWIG_fail
;
38777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38784 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38785 PyObject
*resultobj
= 0;
38786 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38787 PyObject
*arg2
= (PyObject
*) 0 ;
38788 PyObject
*arg3
= (PyObject
*) 0 ;
38791 PyObject
* obj0
= 0 ;
38792 PyObject
* obj1
= 0 ;
38793 PyObject
* obj2
= 0 ;
38794 char * kwnames
[] = {
38795 (char *) "self",(char *) "self",(char *) "_class", NULL
38798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38800 if (!SWIG_IsOK(res1
)) {
38801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38803 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38809 wxPyEndAllowThreads(__tstate
);
38810 if (PyErr_Occurred()) SWIG_fail
;
38812 resultobj
= SWIG_Py_Void();
38819 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38820 PyObject
*resultobj
= 0;
38821 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38822 wxDC
*arg2
= (wxDC
*) 0 ;
38828 PyObject
* obj0
= 0 ;
38829 PyObject
* obj1
= 0 ;
38830 char * kwnames
[] = {
38831 (char *) "self",(char *) "dc", NULL
38834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38836 if (!SWIG_IsOK(res1
)) {
38837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38839 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38841 if (!SWIG_IsOK(res2
)) {
38842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38844 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38847 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38848 wxPyEndAllowThreads(__tstate
);
38849 if (PyErr_Occurred()) SWIG_fail
;
38852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38860 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38861 PyObject
*resultobj
= 0;
38862 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38877 PyObject
* obj0
= 0 ;
38878 PyObject
* obj1
= 0 ;
38879 PyObject
* obj2
= 0 ;
38880 PyObject
* obj3
= 0 ;
38881 PyObject
* obj4
= 0 ;
38882 char * kwnames
[] = {
38883 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38888 if (!SWIG_IsOK(res1
)) {
38889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38891 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38893 if (!SWIG_IsOK(ecode2
)) {
38894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38896 arg2
= static_cast< int >(val2
);
38897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38898 if (!SWIG_IsOK(ecode3
)) {
38899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38901 arg3
= static_cast< int >(val3
);
38902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38903 if (!SWIG_IsOK(ecode4
)) {
38904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38906 arg4
= static_cast< int >(val4
);
38907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38908 if (!SWIG_IsOK(ecode5
)) {
38909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38911 arg5
= static_cast< int >(val5
);
38913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38914 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38915 wxPyEndAllowThreads(__tstate
);
38916 if (PyErr_Occurred()) SWIG_fail
;
38918 resultobj
= SWIG_Py_Void();
38925 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38926 PyObject
*resultobj
= 0;
38927 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38932 int arg6
= (int) wxSIZE_AUTO
;
38945 PyObject
* obj0
= 0 ;
38946 PyObject
* obj1
= 0 ;
38947 PyObject
* obj2
= 0 ;
38948 PyObject
* obj3
= 0 ;
38949 PyObject
* obj4
= 0 ;
38950 PyObject
* obj5
= 0 ;
38951 char * kwnames
[] = {
38952 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38957 if (!SWIG_IsOK(res1
)) {
38958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38960 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38962 if (!SWIG_IsOK(ecode2
)) {
38963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38965 arg2
= static_cast< int >(val2
);
38966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38967 if (!SWIG_IsOK(ecode3
)) {
38968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38970 arg3
= static_cast< int >(val3
);
38971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38972 if (!SWIG_IsOK(ecode4
)) {
38973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38975 arg4
= static_cast< int >(val4
);
38976 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38977 if (!SWIG_IsOK(ecode5
)) {
38978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38980 arg5
= static_cast< int >(val5
);
38982 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38983 if (!SWIG_IsOK(ecode6
)) {
38984 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38986 arg6
= static_cast< int >(val6
);
38989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38990 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38991 wxPyEndAllowThreads(__tstate
);
38992 if (PyErr_Occurred()) SWIG_fail
;
38994 resultobj
= SWIG_Py_Void();
39001 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39002 PyObject
*resultobj
= 0;
39003 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39012 PyObject
* obj0
= 0 ;
39013 PyObject
* obj1
= 0 ;
39014 PyObject
* obj2
= 0 ;
39015 char * kwnames
[] = {
39016 (char *) "self",(char *) "width",(char *) "height", NULL
39019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39021 if (!SWIG_IsOK(res1
)) {
39022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39024 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39026 if (!SWIG_IsOK(ecode2
)) {
39027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39029 arg2
= static_cast< int >(val2
);
39030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39031 if (!SWIG_IsOK(ecode3
)) {
39032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39034 arg3
= static_cast< int >(val3
);
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 (arg1
)->DoSetClientSize(arg2
,arg3
);
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39041 resultobj
= SWIG_Py_Void();
39048 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39049 PyObject
*resultobj
= 0;
39050 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39059 PyObject
* obj0
= 0 ;
39060 PyObject
* obj1
= 0 ;
39061 PyObject
* obj2
= 0 ;
39062 char * kwnames
[] = {
39063 (char *) "self",(char *) "x",(char *) "y", NULL
39066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39068 if (!SWIG_IsOK(res1
)) {
39069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39071 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39073 if (!SWIG_IsOK(ecode2
)) {
39074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39076 arg2
= static_cast< int >(val2
);
39077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39078 if (!SWIG_IsOK(ecode3
)) {
39079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39081 arg3
= static_cast< int >(val3
);
39083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39084 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39085 wxPyEndAllowThreads(__tstate
);
39086 if (PyErr_Occurred()) SWIG_fail
;
39088 resultobj
= SWIG_Py_Void();
39095 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39096 PyObject
*resultobj
= 0;
39097 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39098 int *arg2
= (int *) 0 ;
39099 int *arg3
= (int *) 0 ;
39103 int res2
= SWIG_TMPOBJ
;
39105 int res3
= SWIG_TMPOBJ
;
39106 PyObject
*swig_obj
[1] ;
39110 if (!args
) SWIG_fail
;
39111 swig_obj
[0] = args
;
39112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39113 if (!SWIG_IsOK(res1
)) {
39114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39116 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39119 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39123 resultobj
= SWIG_Py_Void();
39124 if (SWIG_IsTmpObj(res2
)) {
39125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39127 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39130 if (SWIG_IsTmpObj(res3
)) {
39131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39133 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39142 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39143 PyObject
*resultobj
= 0;
39144 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39145 int *arg2
= (int *) 0 ;
39146 int *arg3
= (int *) 0 ;
39150 int res2
= SWIG_TMPOBJ
;
39152 int res3
= SWIG_TMPOBJ
;
39153 PyObject
*swig_obj
[1] ;
39157 if (!args
) SWIG_fail
;
39158 swig_obj
[0] = args
;
39159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39160 if (!SWIG_IsOK(res1
)) {
39161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39163 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39170 resultobj
= SWIG_Py_Void();
39171 if (SWIG_IsTmpObj(res2
)) {
39172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39174 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39177 if (SWIG_IsTmpObj(res3
)) {
39178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39180 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39189 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39190 PyObject
*resultobj
= 0;
39191 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39192 int *arg2
= (int *) 0 ;
39193 int *arg3
= (int *) 0 ;
39197 int res2
= SWIG_TMPOBJ
;
39199 int res3
= SWIG_TMPOBJ
;
39200 PyObject
*swig_obj
[1] ;
39204 if (!args
) SWIG_fail
;
39205 swig_obj
[0] = args
;
39206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39207 if (!SWIG_IsOK(res1
)) {
39208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39210 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39213 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39214 wxPyEndAllowThreads(__tstate
);
39215 if (PyErr_Occurred()) SWIG_fail
;
39217 resultobj
= SWIG_Py_Void();
39218 if (SWIG_IsTmpObj(res2
)) {
39219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39221 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39224 if (SWIG_IsTmpObj(res3
)) {
39225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39227 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39236 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39237 PyObject
*resultobj
= 0;
39238 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39242 PyObject
*swig_obj
[1] ;
39244 if (!args
) SWIG_fail
;
39245 swig_obj
[0] = args
;
39246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39247 if (!SWIG_IsOK(res1
)) {
39248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39250 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39253 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39254 wxPyEndAllowThreads(__tstate
);
39255 if (PyErr_Occurred()) SWIG_fail
;
39257 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39264 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39265 PyObject
*resultobj
= 0;
39266 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39270 PyObject
*swig_obj
[1] ;
39272 if (!args
) SWIG_fail
;
39273 swig_obj
[0] = args
;
39274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39275 if (!SWIG_IsOK(res1
)) {
39276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39278 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39281 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39282 wxPyEndAllowThreads(__tstate
);
39283 if (PyErr_Occurred()) SWIG_fail
;
39285 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39292 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39293 PyObject
*resultobj
= 0;
39294 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39295 SwigValueWrapper
<wxVisualAttributes
> result
;
39298 PyObject
*swig_obj
[1] ;
39300 if (!args
) SWIG_fail
;
39301 swig_obj
[0] = args
;
39302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39303 if (!SWIG_IsOK(res1
)) {
39304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39306 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39309 result
= (arg1
)->GetDefaultAttributes();
39310 wxPyEndAllowThreads(__tstate
);
39311 if (PyErr_Occurred()) SWIG_fail
;
39313 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39320 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39321 PyObject
*resultobj
= 0;
39322 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39325 PyObject
*swig_obj
[1] ;
39327 if (!args
) SWIG_fail
;
39328 swig_obj
[0] = args
;
39329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39330 if (!SWIG_IsOK(res1
)) {
39331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39333 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39336 (arg1
)->OnInternalIdle();
39337 wxPyEndAllowThreads(__tstate
);
39338 if (PyErr_Occurred()) SWIG_fail
;
39340 resultobj
= SWIG_Py_Void();
39347 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39351 return SWIG_Py_Void();
39354 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39355 return SWIG_Python_InitShadowInstance(args
);
39358 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39359 PyObject
*resultobj
= 0;
39360 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39361 int arg2
= (int) 0 ;
39362 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39363 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39364 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39365 wxHelpEvent
*result
= 0 ;
39373 PyObject
* obj0
= 0 ;
39374 PyObject
* obj1
= 0 ;
39375 PyObject
* obj2
= 0 ;
39376 PyObject
* obj3
= 0 ;
39377 char * kwnames
[] = {
39378 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39384 if (!SWIG_IsOK(ecode1
)) {
39385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39387 arg1
= static_cast< wxEventType
>(val1
);
39390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39391 if (!SWIG_IsOK(ecode2
)) {
39392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39394 arg2
= static_cast< int >(val2
);
39399 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39404 if (!SWIG_IsOK(ecode4
)) {
39405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39407 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39411 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39412 wxPyEndAllowThreads(__tstate
);
39413 if (PyErr_Occurred()) SWIG_fail
;
39415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39422 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39423 PyObject
*resultobj
= 0;
39424 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39428 PyObject
*swig_obj
[1] ;
39430 if (!args
) SWIG_fail
;
39431 swig_obj
[0] = args
;
39432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39433 if (!SWIG_IsOK(res1
)) {
39434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39436 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39439 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39440 wxPyEndAllowThreads(__tstate
);
39441 if (PyErr_Occurred()) SWIG_fail
;
39443 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39450 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39451 PyObject
*resultobj
= 0;
39452 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39453 wxPoint
*arg2
= 0 ;
39457 PyObject
* obj0
= 0 ;
39458 PyObject
* obj1
= 0 ;
39459 char * kwnames
[] = {
39460 (char *) "self",(char *) "pos", NULL
39463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39465 if (!SWIG_IsOK(res1
)) {
39466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39468 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39475 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39476 wxPyEndAllowThreads(__tstate
);
39477 if (PyErr_Occurred()) SWIG_fail
;
39479 resultobj
= SWIG_Py_Void();
39486 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39487 PyObject
*resultobj
= 0;
39488 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39489 wxString
*result
= 0 ;
39492 PyObject
*swig_obj
[1] ;
39494 if (!args
) SWIG_fail
;
39495 swig_obj
[0] = args
;
39496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39497 if (!SWIG_IsOK(res1
)) {
39498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39500 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39505 result
= (wxString
*) &_result_ref
;
39507 wxPyEndAllowThreads(__tstate
);
39508 if (PyErr_Occurred()) SWIG_fail
;
39512 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39514 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39523 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39524 PyObject
*resultobj
= 0;
39525 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39526 wxString
*arg2
= 0 ;
39529 bool temp2
= false ;
39530 PyObject
* obj0
= 0 ;
39531 PyObject
* obj1
= 0 ;
39532 char * kwnames
[] = {
39533 (char *) "self",(char *) "link", NULL
39536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39538 if (!SWIG_IsOK(res1
)) {
39539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39541 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39543 arg2
= wxString_in_helper(obj1
);
39544 if (arg2
== NULL
) SWIG_fail
;
39548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39549 (arg1
)->SetLink((wxString
const &)*arg2
);
39550 wxPyEndAllowThreads(__tstate
);
39551 if (PyErr_Occurred()) SWIG_fail
;
39553 resultobj
= SWIG_Py_Void();
39568 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39569 PyObject
*resultobj
= 0;
39570 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39571 wxString
*result
= 0 ;
39574 PyObject
*swig_obj
[1] ;
39576 if (!args
) SWIG_fail
;
39577 swig_obj
[0] = args
;
39578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39579 if (!SWIG_IsOK(res1
)) {
39580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39582 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39586 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39587 result
= (wxString
*) &_result_ref
;
39589 wxPyEndAllowThreads(__tstate
);
39590 if (PyErr_Occurred()) SWIG_fail
;
39594 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39596 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39605 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39606 PyObject
*resultobj
= 0;
39607 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39608 wxString
*arg2
= 0 ;
39611 bool temp2
= false ;
39612 PyObject
* obj0
= 0 ;
39613 PyObject
* obj1
= 0 ;
39614 char * kwnames
[] = {
39615 (char *) "self",(char *) "target", NULL
39618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39620 if (!SWIG_IsOK(res1
)) {
39621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39623 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39625 arg2
= wxString_in_helper(obj1
);
39626 if (arg2
== NULL
) SWIG_fail
;
39630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39631 (arg1
)->SetTarget((wxString
const &)*arg2
);
39632 wxPyEndAllowThreads(__tstate
);
39633 if (PyErr_Occurred()) SWIG_fail
;
39635 resultobj
= SWIG_Py_Void();
39650 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39651 PyObject
*resultobj
= 0;
39652 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39653 wxHelpEvent::Origin result
;
39656 PyObject
*swig_obj
[1] ;
39658 if (!args
) SWIG_fail
;
39659 swig_obj
[0] = args
;
39660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39661 if (!SWIG_IsOK(res1
)) {
39662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39664 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39667 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39668 wxPyEndAllowThreads(__tstate
);
39669 if (PyErr_Occurred()) SWIG_fail
;
39671 resultobj
= SWIG_From_int(static_cast< int >(result
));
39678 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39679 PyObject
*resultobj
= 0;
39680 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39681 wxHelpEvent::Origin arg2
;
39686 PyObject
* obj0
= 0 ;
39687 PyObject
* obj1
= 0 ;
39688 char * kwnames
[] = {
39689 (char *) "self",(char *) "origin", NULL
39692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39694 if (!SWIG_IsOK(res1
)) {
39695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39697 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39699 if (!SWIG_IsOK(ecode2
)) {
39700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39702 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39705 (arg1
)->SetOrigin(arg2
);
39706 wxPyEndAllowThreads(__tstate
);
39707 if (PyErr_Occurred()) SWIG_fail
;
39709 resultobj
= SWIG_Py_Void();
39716 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39718 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39719 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39720 return SWIG_Py_Void();
39723 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39724 return SWIG_Python_InitShadowInstance(args
);
39727 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39728 PyObject
*resultobj
= 0;
39729 wxWindow
*arg1
= (wxWindow
*) NULL
;
39730 bool arg2
= (bool) true ;
39731 wxContextHelp
*result
= 0 ;
39736 PyObject
* obj0
= 0 ;
39737 PyObject
* obj1
= 0 ;
39738 char * kwnames
[] = {
39739 (char *) "window",(char *) "doNow", NULL
39742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39745 if (!SWIG_IsOK(res1
)) {
39746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39748 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39751 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39752 if (!SWIG_IsOK(ecode2
)) {
39753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39755 arg2
= static_cast< bool >(val2
);
39758 if (!wxPyCheckForApp()) SWIG_fail
;
39759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39760 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39761 wxPyEndAllowThreads(__tstate
);
39762 if (PyErr_Occurred()) SWIG_fail
;
39764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39771 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39772 PyObject
*resultobj
= 0;
39773 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39776 PyObject
*swig_obj
[1] ;
39778 if (!args
) SWIG_fail
;
39779 swig_obj
[0] = args
;
39780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39781 if (!SWIG_IsOK(res1
)) {
39782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39784 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39789 wxPyEndAllowThreads(__tstate
);
39790 if (PyErr_Occurred()) SWIG_fail
;
39792 resultobj
= SWIG_Py_Void();
39799 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39800 PyObject
*resultobj
= 0;
39801 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39802 wxWindow
*arg2
= (wxWindow
*) NULL
;
39808 PyObject
* obj0
= 0 ;
39809 PyObject
* obj1
= 0 ;
39810 char * kwnames
[] = {
39811 (char *) "self",(char *) "window", NULL
39814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39816 if (!SWIG_IsOK(res1
)) {
39817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39819 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39822 if (!SWIG_IsOK(res2
)) {
39823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39825 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39829 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39830 wxPyEndAllowThreads(__tstate
);
39831 if (PyErr_Occurred()) SWIG_fail
;
39834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39842 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39843 PyObject
*resultobj
= 0;
39844 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39848 PyObject
*swig_obj
[1] ;
39850 if (!args
) SWIG_fail
;
39851 swig_obj
[0] = args
;
39852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39853 if (!SWIG_IsOK(res1
)) {
39854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39856 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 result
= (bool)(arg1
)->EndContextHelp();
39860 wxPyEndAllowThreads(__tstate
);
39861 if (PyErr_Occurred()) SWIG_fail
;
39864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39872 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39875 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39876 return SWIG_Py_Void();
39879 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39880 return SWIG_Python_InitShadowInstance(args
);
39883 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39884 PyObject
*resultobj
= 0;
39885 wxWindow
*arg1
= (wxWindow
*) 0 ;
39886 int arg2
= (int) wxID_CONTEXT_HELP
;
39887 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39888 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39889 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39890 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39891 long arg5
= (long) wxBU_AUTODRAW
;
39892 wxContextHelpButton
*result
= 0 ;
39901 PyObject
* obj0
= 0 ;
39902 PyObject
* obj1
= 0 ;
39903 PyObject
* obj2
= 0 ;
39904 PyObject
* obj3
= 0 ;
39905 PyObject
* obj4
= 0 ;
39906 char * kwnames
[] = {
39907 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39912 if (!SWIG_IsOK(res1
)) {
39913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39915 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39918 if (!SWIG_IsOK(ecode2
)) {
39919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39921 arg2
= static_cast< int >(val2
);
39926 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39932 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39936 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39937 if (!SWIG_IsOK(ecode5
)) {
39938 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39940 arg5
= static_cast< long >(val5
);
39943 if (!wxPyCheckForApp()) SWIG_fail
;
39944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39945 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39946 wxPyEndAllowThreads(__tstate
);
39947 if (PyErr_Occurred()) SWIG_fail
;
39949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39956 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39959 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39960 return SWIG_Py_Void();
39963 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39964 return SWIG_Python_InitShadowInstance(args
);
39967 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39968 PyObject
*resultobj
= 0;
39969 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39972 PyObject
*swig_obj
[1] ;
39974 if (!args
) SWIG_fail
;
39975 swig_obj
[0] = args
;
39976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39977 if (!SWIG_IsOK(res1
)) {
39978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39980 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39985 wxPyEndAllowThreads(__tstate
);
39986 if (PyErr_Occurred()) SWIG_fail
;
39988 resultobj
= SWIG_Py_Void();
39995 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39996 PyObject
*resultobj
= 0;
39997 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39998 wxHelpProvider
*result
= 0 ;
40000 PyObject
* obj0
= 0 ;
40001 char * kwnames
[] = {
40002 (char *) "helpProvider", NULL
40005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40006 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40007 if (!SWIG_IsOK(res1
)) {
40008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40012 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40013 wxPyEndAllowThreads(__tstate
);
40014 if (PyErr_Occurred()) SWIG_fail
;
40016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40023 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40024 PyObject
*resultobj
= 0;
40025 wxHelpProvider
*result
= 0 ;
40027 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40041 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40042 PyObject
*resultobj
= 0;
40043 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40044 wxWindow
*arg2
= (wxWindow
*) 0 ;
40050 PyObject
* obj0
= 0 ;
40051 PyObject
* obj1
= 0 ;
40052 char * kwnames
[] = {
40053 (char *) "self",(char *) "window", NULL
40056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40058 if (!SWIG_IsOK(res1
)) {
40059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40061 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40063 if (!SWIG_IsOK(res2
)) {
40064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40066 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40069 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40070 wxPyEndAllowThreads(__tstate
);
40071 if (PyErr_Occurred()) SWIG_fail
;
40075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40086 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40087 PyObject
*resultobj
= 0;
40088 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40089 wxWindow
*arg2
= (wxWindow
*) 0 ;
40095 PyObject
* obj0
= 0 ;
40096 PyObject
* obj1
= 0 ;
40097 char * kwnames
[] = {
40098 (char *) "self",(char *) "window", NULL
40101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40103 if (!SWIG_IsOK(res1
)) {
40104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40106 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40108 if (!SWIG_IsOK(res2
)) {
40109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40111 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40114 result
= (bool)(arg1
)->ShowHelp(arg2
);
40115 wxPyEndAllowThreads(__tstate
);
40116 if (PyErr_Occurred()) SWIG_fail
;
40119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40127 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40128 PyObject
*resultobj
= 0;
40129 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40130 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40131 wxPoint
*arg3
= 0 ;
40132 wxHelpEvent::Origin arg4
;
40141 PyObject
* obj0
= 0 ;
40142 PyObject
* obj1
= 0 ;
40143 PyObject
* obj2
= 0 ;
40144 PyObject
* obj3
= 0 ;
40145 char * kwnames
[] = {
40146 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40151 if (!SWIG_IsOK(res1
)) {
40152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40154 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40156 if (!SWIG_IsOK(res2
)) {
40157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40159 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40165 if (!SWIG_IsOK(ecode4
)) {
40166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40168 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40172 wxPyEndAllowThreads(__tstate
);
40173 if (PyErr_Occurred()) SWIG_fail
;
40176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40184 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40185 PyObject
*resultobj
= 0;
40186 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40187 wxWindow
*arg2
= (wxWindow
*) 0 ;
40188 wxString
*arg3
= 0 ;
40193 bool temp3
= false ;
40194 PyObject
* obj0
= 0 ;
40195 PyObject
* obj1
= 0 ;
40196 PyObject
* obj2
= 0 ;
40197 char * kwnames
[] = {
40198 (char *) "self",(char *) "window",(char *) "text", NULL
40201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40203 if (!SWIG_IsOK(res1
)) {
40204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40206 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40208 if (!SWIG_IsOK(res2
)) {
40209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40213 arg3
= wxString_in_helper(obj2
);
40214 if (arg3
== NULL
) SWIG_fail
;
40218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40219 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40220 wxPyEndAllowThreads(__tstate
);
40221 if (PyErr_Occurred()) SWIG_fail
;
40223 resultobj
= SWIG_Py_Void();
40238 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40239 PyObject
*resultobj
= 0;
40240 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40242 wxString
*arg3
= 0 ;
40247 bool temp3
= false ;
40248 PyObject
* obj0
= 0 ;
40249 PyObject
* obj1
= 0 ;
40250 PyObject
* obj2
= 0 ;
40251 char * kwnames
[] = {
40252 (char *) "self",(char *) "id",(char *) "text", NULL
40255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40257 if (!SWIG_IsOK(res1
)) {
40258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40260 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40262 if (!SWIG_IsOK(ecode2
)) {
40263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40265 arg2
= static_cast< int >(val2
);
40267 arg3
= wxString_in_helper(obj2
);
40268 if (arg3
== NULL
) SWIG_fail
;
40272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40273 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40274 wxPyEndAllowThreads(__tstate
);
40275 if (PyErr_Occurred()) SWIG_fail
;
40277 resultobj
= SWIG_Py_Void();
40292 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40293 PyObject
*resultobj
= 0;
40294 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40295 wxWindow
*arg2
= (wxWindow
*) 0 ;
40300 PyObject
* obj0
= 0 ;
40301 PyObject
* obj1
= 0 ;
40302 char * kwnames
[] = {
40303 (char *) "self",(char *) "window", NULL
40306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40308 if (!SWIG_IsOK(res1
)) {
40309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40311 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40313 if (!SWIG_IsOK(res2
)) {
40314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40316 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40319 (arg1
)->RemoveHelp(arg2
);
40320 wxPyEndAllowThreads(__tstate
);
40321 if (PyErr_Occurred()) SWIG_fail
;
40323 resultobj
= SWIG_Py_Void();
40330 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40331 PyObject
*resultobj
= 0;
40332 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40335 PyObject
*swig_obj
[1] ;
40337 if (!args
) SWIG_fail
;
40338 swig_obj
[0] = args
;
40339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40340 if (!SWIG_IsOK(res1
)) {
40341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40343 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40346 wxHelpProvider_Destroy(arg1
);
40347 wxPyEndAllowThreads(__tstate
);
40348 if (PyErr_Occurred()) SWIG_fail
;
40350 resultobj
= SWIG_Py_Void();
40357 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40360 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40361 return SWIG_Py_Void();
40364 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40365 PyObject
*resultobj
= 0;
40366 wxSimpleHelpProvider
*result
= 0 ;
40368 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40371 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40372 wxPyEndAllowThreads(__tstate
);
40373 if (PyErr_Occurred()) SWIG_fail
;
40375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40382 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40385 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40386 return SWIG_Py_Void();
40389 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40390 return SWIG_Python_InitShadowInstance(args
);
40393 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40394 PyObject
*resultobj
= 0;
40395 wxBitmap
*arg1
= 0 ;
40396 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40397 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40398 wxGenericDragImage
*result
= 0 ;
40403 PyObject
* obj0
= 0 ;
40404 PyObject
* obj1
= 0 ;
40405 char * kwnames
[] = {
40406 (char *) "image",(char *) "cursor", NULL
40409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40410 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40411 if (!SWIG_IsOK(res1
)) {
40412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40417 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40420 if (!SWIG_IsOK(res2
)) {
40421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40426 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40429 if (!wxPyCheckForApp()) SWIG_fail
;
40430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40431 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40432 wxPyEndAllowThreads(__tstate
);
40433 if (PyErr_Occurred()) SWIG_fail
;
40435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40442 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40443 PyObject
*resultobj
= 0;
40445 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40446 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40447 wxGenericDragImage
*result
= 0 ;
40452 PyObject
* obj0
= 0 ;
40453 PyObject
* obj1
= 0 ;
40454 char * kwnames
[] = {
40455 (char *) "image",(char *) "cursor", NULL
40458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40459 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40460 if (!SWIG_IsOK(res1
)) {
40461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40466 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40469 if (!SWIG_IsOK(res2
)) {
40470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40475 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40478 if (!wxPyCheckForApp()) SWIG_fail
;
40479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40480 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40481 wxPyEndAllowThreads(__tstate
);
40482 if (PyErr_Occurred()) SWIG_fail
;
40484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40491 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40492 PyObject
*resultobj
= 0;
40493 wxString
*arg1
= 0 ;
40494 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40495 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40496 wxGenericDragImage
*result
= 0 ;
40497 bool temp1
= false ;
40500 PyObject
* obj0
= 0 ;
40501 PyObject
* obj1
= 0 ;
40502 char * kwnames
[] = {
40503 (char *) "str",(char *) "cursor", NULL
40506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40508 arg1
= wxString_in_helper(obj0
);
40509 if (arg1
== NULL
) SWIG_fail
;
40513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40514 if (!SWIG_IsOK(res2
)) {
40515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40520 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40523 if (!wxPyCheckForApp()) SWIG_fail
;
40524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40525 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40526 wxPyEndAllowThreads(__tstate
);
40527 if (PyErr_Occurred()) SWIG_fail
;
40529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40544 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40545 PyObject
*resultobj
= 0;
40546 wxPyTreeCtrl
*arg1
= 0 ;
40547 wxTreeItemId
*arg2
= 0 ;
40548 wxGenericDragImage
*result
= 0 ;
40553 PyObject
* obj0
= 0 ;
40554 PyObject
* obj1
= 0 ;
40555 char * kwnames
[] = {
40556 (char *) "treeCtrl",(char *) "id", NULL
40559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40560 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40561 if (!SWIG_IsOK(res1
)) {
40562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40567 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40569 if (!SWIG_IsOK(res2
)) {
40570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40575 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40577 if (!wxPyCheckForApp()) SWIG_fail
;
40578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40579 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40580 wxPyEndAllowThreads(__tstate
);
40581 if (PyErr_Occurred()) SWIG_fail
;
40583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40590 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40591 PyObject
*resultobj
= 0;
40592 wxPyListCtrl
*arg1
= 0 ;
40594 wxGenericDragImage
*result
= 0 ;
40599 PyObject
* obj0
= 0 ;
40600 PyObject
* obj1
= 0 ;
40601 char * kwnames
[] = {
40602 (char *) "listCtrl",(char *) "id", NULL
40605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40606 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40607 if (!SWIG_IsOK(res1
)) {
40608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40613 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40614 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40615 if (!SWIG_IsOK(ecode2
)) {
40616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40618 arg2
= static_cast< long >(val2
);
40620 if (!wxPyCheckForApp()) SWIG_fail
;
40621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40622 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40623 wxPyEndAllowThreads(__tstate
);
40624 if (PyErr_Occurred()) SWIG_fail
;
40626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40633 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40634 PyObject
*resultobj
= 0;
40635 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40638 PyObject
*swig_obj
[1] ;
40640 if (!args
) SWIG_fail
;
40641 swig_obj
[0] = args
;
40642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40643 if (!SWIG_IsOK(res1
)) {
40644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40646 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40651 wxPyEndAllowThreads(__tstate
);
40652 if (PyErr_Occurred()) SWIG_fail
;
40654 resultobj
= SWIG_Py_Void();
40661 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40662 PyObject
*resultobj
= 0;
40663 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40664 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40669 PyObject
* obj0
= 0 ;
40670 PyObject
* obj1
= 0 ;
40671 char * kwnames
[] = {
40672 (char *) "self",(char *) "bitmap", NULL
40675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40677 if (!SWIG_IsOK(res1
)) {
40678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40680 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40682 if (!SWIG_IsOK(res2
)) {
40683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40685 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40688 (arg1
)->SetBackingBitmap(arg2
);
40689 wxPyEndAllowThreads(__tstate
);
40690 if (PyErr_Occurred()) SWIG_fail
;
40692 resultobj
= SWIG_Py_Void();
40699 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40700 PyObject
*resultobj
= 0;
40701 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40702 wxPoint
*arg2
= 0 ;
40703 wxWindow
*arg3
= (wxWindow
*) 0 ;
40704 bool arg4
= (bool) false ;
40705 wxRect
*arg5
= (wxRect
*) NULL
;
40716 PyObject
* obj0
= 0 ;
40717 PyObject
* obj1
= 0 ;
40718 PyObject
* obj2
= 0 ;
40719 PyObject
* obj3
= 0 ;
40720 PyObject
* obj4
= 0 ;
40721 char * kwnames
[] = {
40722 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40727 if (!SWIG_IsOK(res1
)) {
40728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40730 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40735 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40736 if (!SWIG_IsOK(res3
)) {
40737 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40739 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40741 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40742 if (!SWIG_IsOK(ecode4
)) {
40743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40745 arg4
= static_cast< bool >(val4
);
40748 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40749 if (!SWIG_IsOK(res5
)) {
40750 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40752 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40756 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40757 wxPyEndAllowThreads(__tstate
);
40758 if (PyErr_Occurred()) SWIG_fail
;
40761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40769 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40770 PyObject
*resultobj
= 0;
40771 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40772 wxPoint
*arg2
= 0 ;
40773 wxWindow
*arg3
= (wxWindow
*) 0 ;
40774 wxWindow
*arg4
= (wxWindow
*) 0 ;
40783 PyObject
* obj0
= 0 ;
40784 PyObject
* obj1
= 0 ;
40785 PyObject
* obj2
= 0 ;
40786 PyObject
* obj3
= 0 ;
40787 char * kwnames
[] = {
40788 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40793 if (!SWIG_IsOK(res1
)) {
40794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40796 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40801 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40802 if (!SWIG_IsOK(res3
)) {
40803 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40805 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40806 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40807 if (!SWIG_IsOK(res4
)) {
40808 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40810 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40813 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40814 wxPyEndAllowThreads(__tstate
);
40815 if (PyErr_Occurred()) SWIG_fail
;
40818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40826 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40827 PyObject
*resultobj
= 0;
40828 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40832 PyObject
*swig_obj
[1] ;
40834 if (!args
) SWIG_fail
;
40835 swig_obj
[0] = args
;
40836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40837 if (!SWIG_IsOK(res1
)) {
40838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40840 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40843 result
= (bool)(arg1
)->EndDrag();
40844 wxPyEndAllowThreads(__tstate
);
40845 if (PyErr_Occurred()) SWIG_fail
;
40848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40856 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40857 PyObject
*resultobj
= 0;
40858 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40859 wxPoint
*arg2
= 0 ;
40864 PyObject
* obj0
= 0 ;
40865 PyObject
* obj1
= 0 ;
40866 char * kwnames
[] = {
40867 (char *) "self",(char *) "pt", NULL
40870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40872 if (!SWIG_IsOK(res1
)) {
40873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40875 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40882 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40883 wxPyEndAllowThreads(__tstate
);
40884 if (PyErr_Occurred()) SWIG_fail
;
40887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40895 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40896 PyObject
*resultobj
= 0;
40897 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40901 PyObject
*swig_obj
[1] ;
40903 if (!args
) SWIG_fail
;
40904 swig_obj
[0] = args
;
40905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40906 if (!SWIG_IsOK(res1
)) {
40907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40909 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40912 result
= (bool)(arg1
)->Show();
40913 wxPyEndAllowThreads(__tstate
);
40914 if (PyErr_Occurred()) SWIG_fail
;
40917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40925 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40926 PyObject
*resultobj
= 0;
40927 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40931 PyObject
*swig_obj
[1] ;
40933 if (!args
) SWIG_fail
;
40934 swig_obj
[0] = args
;
40935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40936 if (!SWIG_IsOK(res1
)) {
40937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40939 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40942 result
= (bool)(arg1
)->Hide();
40943 wxPyEndAllowThreads(__tstate
);
40944 if (PyErr_Occurred()) SWIG_fail
;
40947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40955 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40956 PyObject
*resultobj
= 0;
40957 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40958 wxPoint
*arg2
= 0 ;
40963 PyObject
* obj0
= 0 ;
40964 PyObject
* obj1
= 0 ;
40965 char * kwnames
[] = {
40966 (char *) "self",(char *) "pos", NULL
40969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40971 if (!SWIG_IsOK(res1
)) {
40972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40974 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40981 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40982 wxPyEndAllowThreads(__tstate
);
40983 if (PyErr_Occurred()) SWIG_fail
;
40985 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40992 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40993 PyObject
*resultobj
= 0;
40994 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40996 wxPoint
*arg3
= 0 ;
41003 PyObject
* obj0
= 0 ;
41004 PyObject
* obj1
= 0 ;
41005 PyObject
* obj2
= 0 ;
41006 char * kwnames
[] = {
41007 (char *) "self",(char *) "dc",(char *) "pos", NULL
41010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41012 if (!SWIG_IsOK(res1
)) {
41013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41015 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41017 if (!SWIG_IsOK(res2
)) {
41018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41023 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41030 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41031 wxPyEndAllowThreads(__tstate
);
41032 if (PyErr_Occurred()) SWIG_fail
;
41035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41043 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41044 PyObject
*resultobj
= 0;
41045 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41047 wxMemoryDC
*arg3
= 0 ;
41059 PyObject
* obj0
= 0 ;
41060 PyObject
* obj1
= 0 ;
41061 PyObject
* obj2
= 0 ;
41062 PyObject
* obj3
= 0 ;
41063 PyObject
* obj4
= 0 ;
41064 char * kwnames
[] = {
41065 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41070 if (!SWIG_IsOK(res1
)) {
41071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41073 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41075 if (!SWIG_IsOK(res2
)) {
41076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41081 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41082 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41083 if (!SWIG_IsOK(res3
)) {
41084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41089 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41092 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41096 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41100 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41101 wxPyEndAllowThreads(__tstate
);
41102 if (PyErr_Occurred()) SWIG_fail
;
41105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41113 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41114 PyObject
*resultobj
= 0;
41115 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41116 wxPoint
*arg2
= 0 ;
41117 wxPoint
*arg3
= 0 ;
41129 PyObject
* obj0
= 0 ;
41130 PyObject
* obj1
= 0 ;
41131 PyObject
* obj2
= 0 ;
41132 PyObject
* obj3
= 0 ;
41133 PyObject
* obj4
= 0 ;
41134 char * kwnames
[] = {
41135 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41140 if (!SWIG_IsOK(res1
)) {
41141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41143 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41152 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41153 if (!SWIG_IsOK(ecode4
)) {
41154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41156 arg4
= static_cast< bool >(val4
);
41157 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41158 if (!SWIG_IsOK(ecode5
)) {
41159 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41161 arg5
= static_cast< bool >(val5
);
41163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41164 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41165 wxPyEndAllowThreads(__tstate
);
41166 if (PyErr_Occurred()) SWIG_fail
;
41169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41177 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41180 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41181 return SWIG_Py_Void();
41184 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41185 return SWIG_Python_InitShadowInstance(args
);
41188 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41189 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41194 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41195 PyObject
*pyobj
= 0;
41199 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41201 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41208 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41209 PyObject
*resultobj
= 0;
41210 wxWindow
*arg1
= (wxWindow
*) 0 ;
41211 int arg2
= (int) -1 ;
41212 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41213 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41214 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41215 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41216 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41217 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41218 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41219 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41220 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41221 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41222 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41223 wxDatePickerCtrl
*result
= 0 ;
41236 bool temp8
= false ;
41237 PyObject
* obj0
= 0 ;
41238 PyObject
* obj1
= 0 ;
41239 PyObject
* obj2
= 0 ;
41240 PyObject
* obj3
= 0 ;
41241 PyObject
* obj4
= 0 ;
41242 PyObject
* obj5
= 0 ;
41243 PyObject
* obj6
= 0 ;
41244 PyObject
* obj7
= 0 ;
41245 char * kwnames
[] = {
41246 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41251 if (!SWIG_IsOK(res1
)) {
41252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41254 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41257 if (!SWIG_IsOK(ecode2
)) {
41258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41260 arg2
= static_cast< int >(val2
);
41263 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41264 if (!SWIG_IsOK(res3
)) {
41265 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41270 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41275 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41281 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41285 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41286 if (!SWIG_IsOK(ecode6
)) {
41287 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41289 arg6
= static_cast< long >(val6
);
41292 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41293 if (!SWIG_IsOK(res7
)) {
41294 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41299 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41303 arg8
= wxString_in_helper(obj7
);
41304 if (arg8
== NULL
) SWIG_fail
;
41309 if (!wxPyCheckForApp()) SWIG_fail
;
41310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41311 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41312 wxPyEndAllowThreads(__tstate
);
41313 if (PyErr_Occurred()) SWIG_fail
;
41315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41330 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41331 PyObject
*resultobj
= 0;
41332 wxDatePickerCtrl
*result
= 0 ;
41334 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41336 if (!wxPyCheckForApp()) SWIG_fail
;
41337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41338 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41339 wxPyEndAllowThreads(__tstate
);
41340 if (PyErr_Occurred()) SWIG_fail
;
41342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41349 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41350 PyObject
*resultobj
= 0;
41351 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41352 wxWindow
*arg2
= (wxWindow
*) 0 ;
41353 int arg3
= (int) -1 ;
41354 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41355 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41356 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41357 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41358 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41359 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41360 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41361 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41362 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41363 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41364 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41380 bool temp9
= false ;
41381 PyObject
* obj0
= 0 ;
41382 PyObject
* obj1
= 0 ;
41383 PyObject
* obj2
= 0 ;
41384 PyObject
* obj3
= 0 ;
41385 PyObject
* obj4
= 0 ;
41386 PyObject
* obj5
= 0 ;
41387 PyObject
* obj6
= 0 ;
41388 PyObject
* obj7
= 0 ;
41389 PyObject
* obj8
= 0 ;
41390 char * kwnames
[] = {
41391 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41396 if (!SWIG_IsOK(res1
)) {
41397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41399 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41401 if (!SWIG_IsOK(res2
)) {
41402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41404 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41407 if (!SWIG_IsOK(ecode3
)) {
41408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41410 arg3
= static_cast< int >(val3
);
41413 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41414 if (!SWIG_IsOK(res4
)) {
41415 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41420 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41425 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41431 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41435 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41436 if (!SWIG_IsOK(ecode7
)) {
41437 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41439 arg7
= static_cast< long >(val7
);
41442 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41443 if (!SWIG_IsOK(res8
)) {
41444 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41449 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41453 arg9
= wxString_in_helper(obj8
);
41454 if (arg9
== NULL
) SWIG_fail
;
41459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41461 wxPyEndAllowThreads(__tstate
);
41462 if (PyErr_Occurred()) SWIG_fail
;
41465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41481 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41482 PyObject
*resultobj
= 0;
41483 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41484 wxDateTime
*arg2
= 0 ;
41489 PyObject
* obj0
= 0 ;
41490 PyObject
* obj1
= 0 ;
41491 char * kwnames
[] = {
41492 (char *) "self",(char *) "dt", NULL
41495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41497 if (!SWIG_IsOK(res1
)) {
41498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41500 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41502 if (!SWIG_IsOK(res2
)) {
41503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41508 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41511 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41512 wxPyEndAllowThreads(__tstate
);
41513 if (PyErr_Occurred()) SWIG_fail
;
41515 resultobj
= SWIG_Py_Void();
41522 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41523 PyObject
*resultobj
= 0;
41524 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41528 PyObject
*swig_obj
[1] ;
41530 if (!args
) SWIG_fail
;
41531 swig_obj
[0] = args
;
41532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41533 if (!SWIG_IsOK(res1
)) {
41534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41536 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41539 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41540 wxPyEndAllowThreads(__tstate
);
41541 if (PyErr_Occurred()) SWIG_fail
;
41543 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41550 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41551 PyObject
*resultobj
= 0;
41552 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41553 wxDateTime
*arg2
= 0 ;
41554 wxDateTime
*arg3
= 0 ;
41561 PyObject
* obj0
= 0 ;
41562 PyObject
* obj1
= 0 ;
41563 PyObject
* obj2
= 0 ;
41564 char * kwnames
[] = {
41565 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41570 if (!SWIG_IsOK(res1
)) {
41571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41573 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41575 if (!SWIG_IsOK(res2
)) {
41576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41581 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41582 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41583 if (!SWIG_IsOK(res3
)) {
41584 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41589 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41592 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41593 wxPyEndAllowThreads(__tstate
);
41594 if (PyErr_Occurred()) SWIG_fail
;
41596 resultobj
= SWIG_Py_Void();
41603 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41604 PyObject
*resultobj
= 0;
41605 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41609 PyObject
*swig_obj
[1] ;
41611 if (!args
) SWIG_fail
;
41612 swig_obj
[0] = args
;
41613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41614 if (!SWIG_IsOK(res1
)) {
41615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41617 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41620 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41621 wxPyEndAllowThreads(__tstate
);
41622 if (PyErr_Occurred()) SWIG_fail
;
41624 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41631 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41632 PyObject
*resultobj
= 0;
41633 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41637 PyObject
*swig_obj
[1] ;
41639 if (!args
) SWIG_fail
;
41640 swig_obj
[0] = args
;
41641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41642 if (!SWIG_IsOK(res1
)) {
41643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41645 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41648 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41649 wxPyEndAllowThreads(__tstate
);
41650 if (PyErr_Occurred()) SWIG_fail
;
41652 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41659 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41662 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41663 return SWIG_Py_Void();
41666 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41667 return SWIG_Python_InitShadowInstance(args
);
41670 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41671 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41676 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41677 PyObject
*pyobj
= 0;
41681 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41683 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41690 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41691 PyObject
*resultobj
= 0;
41692 wxWindow
*arg1
= (wxWindow
*) 0 ;
41694 wxString
*arg3
= 0 ;
41695 wxString
*arg4
= 0 ;
41696 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41697 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41698 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41699 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41700 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41701 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41702 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41703 wxHyperlinkCtrl
*result
= 0 ;
41708 bool temp3
= false ;
41709 bool temp4
= false ;
41714 bool temp8
= false ;
41715 PyObject
* obj0
= 0 ;
41716 PyObject
* obj1
= 0 ;
41717 PyObject
* obj2
= 0 ;
41718 PyObject
* obj3
= 0 ;
41719 PyObject
* obj4
= 0 ;
41720 PyObject
* obj5
= 0 ;
41721 PyObject
* obj6
= 0 ;
41722 PyObject
* obj7
= 0 ;
41723 char * kwnames
[] = {
41724 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41729 if (!SWIG_IsOK(res1
)) {
41730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41734 if (!SWIG_IsOK(ecode2
)) {
41735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41737 arg2
= static_cast< int >(val2
);
41739 arg3
= wxString_in_helper(obj2
);
41740 if (arg3
== NULL
) SWIG_fail
;
41744 arg4
= wxString_in_helper(obj3
);
41745 if (arg4
== NULL
) SWIG_fail
;
41751 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41757 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41761 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41762 if (!SWIG_IsOK(ecode7
)) {
41763 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41765 arg7
= static_cast< long >(val7
);
41769 arg8
= wxString_in_helper(obj7
);
41770 if (arg8
== NULL
) SWIG_fail
;
41775 if (!wxPyCheckForApp()) SWIG_fail
;
41776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41777 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41778 wxPyEndAllowThreads(__tstate
);
41779 if (PyErr_Occurred()) SWIG_fail
;
41781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41812 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41813 PyObject
*resultobj
= 0;
41814 wxHyperlinkCtrl
*result
= 0 ;
41816 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41818 if (!wxPyCheckForApp()) SWIG_fail
;
41819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41820 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41821 wxPyEndAllowThreads(__tstate
);
41822 if (PyErr_Occurred()) SWIG_fail
;
41824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41831 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41832 PyObject
*resultobj
= 0;
41833 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41834 wxWindow
*arg2
= (wxWindow
*) 0 ;
41836 wxString
*arg4
= 0 ;
41837 wxString
*arg5
= 0 ;
41838 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41839 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41840 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41841 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41842 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41843 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41844 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41852 bool temp4
= false ;
41853 bool temp5
= false ;
41858 bool temp9
= false ;
41859 PyObject
* obj0
= 0 ;
41860 PyObject
* obj1
= 0 ;
41861 PyObject
* obj2
= 0 ;
41862 PyObject
* obj3
= 0 ;
41863 PyObject
* obj4
= 0 ;
41864 PyObject
* obj5
= 0 ;
41865 PyObject
* obj6
= 0 ;
41866 PyObject
* obj7
= 0 ;
41867 PyObject
* obj8
= 0 ;
41868 char * kwnames
[] = {
41869 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41874 if (!SWIG_IsOK(res1
)) {
41875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41877 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41879 if (!SWIG_IsOK(res2
)) {
41880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41884 if (!SWIG_IsOK(ecode3
)) {
41885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41887 arg3
= static_cast< int >(val3
);
41889 arg4
= wxString_in_helper(obj3
);
41890 if (arg4
== NULL
) SWIG_fail
;
41894 arg5
= wxString_in_helper(obj4
);
41895 if (arg5
== NULL
) SWIG_fail
;
41901 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41907 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41911 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41912 if (!SWIG_IsOK(ecode8
)) {
41913 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41915 arg8
= static_cast< long >(val8
);
41919 arg9
= wxString_in_helper(obj8
);
41920 if (arg9
== NULL
) SWIG_fail
;
41925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41927 wxPyEndAllowThreads(__tstate
);
41928 if (PyErr_Occurred()) SWIG_fail
;
41931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41963 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41964 PyObject
*resultobj
= 0;
41965 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41969 PyObject
*swig_obj
[1] ;
41971 if (!args
) SWIG_fail
;
41972 swig_obj
[0] = args
;
41973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41974 if (!SWIG_IsOK(res1
)) {
41975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41977 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41980 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41981 wxPyEndAllowThreads(__tstate
);
41982 if (PyErr_Occurred()) SWIG_fail
;
41984 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41991 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41992 PyObject
*resultobj
= 0;
41993 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41994 wxColour
*arg2
= 0 ;
41998 PyObject
* obj0
= 0 ;
41999 PyObject
* obj1
= 0 ;
42000 char * kwnames
[] = {
42001 (char *) "self",(char *) "colour", NULL
42004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42006 if (!SWIG_IsOK(res1
)) {
42007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42009 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42016 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42017 wxPyEndAllowThreads(__tstate
);
42018 if (PyErr_Occurred()) SWIG_fail
;
42020 resultobj
= SWIG_Py_Void();
42027 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42028 PyObject
*resultobj
= 0;
42029 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42033 PyObject
*swig_obj
[1] ;
42035 if (!args
) SWIG_fail
;
42036 swig_obj
[0] = args
;
42037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42038 if (!SWIG_IsOK(res1
)) {
42039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42041 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42044 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42045 wxPyEndAllowThreads(__tstate
);
42046 if (PyErr_Occurred()) SWIG_fail
;
42048 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42055 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42056 PyObject
*resultobj
= 0;
42057 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42058 wxColour
*arg2
= 0 ;
42062 PyObject
* obj0
= 0 ;
42063 PyObject
* obj1
= 0 ;
42064 char * kwnames
[] = {
42065 (char *) "self",(char *) "colour", NULL
42068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42070 if (!SWIG_IsOK(res1
)) {
42071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42073 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42076 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42080 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42081 wxPyEndAllowThreads(__tstate
);
42082 if (PyErr_Occurred()) SWIG_fail
;
42084 resultobj
= SWIG_Py_Void();
42091 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42092 PyObject
*resultobj
= 0;
42093 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42097 PyObject
*swig_obj
[1] ;
42099 if (!args
) SWIG_fail
;
42100 swig_obj
[0] = args
;
42101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42102 if (!SWIG_IsOK(res1
)) {
42103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42105 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42108 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42109 wxPyEndAllowThreads(__tstate
);
42110 if (PyErr_Occurred()) SWIG_fail
;
42112 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42119 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42120 PyObject
*resultobj
= 0;
42121 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42122 wxColour
*arg2
= 0 ;
42126 PyObject
* obj0
= 0 ;
42127 PyObject
* obj1
= 0 ;
42128 char * kwnames
[] = {
42129 (char *) "self",(char *) "colour", NULL
42132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42134 if (!SWIG_IsOK(res1
)) {
42135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42137 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42144 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42145 wxPyEndAllowThreads(__tstate
);
42146 if (PyErr_Occurred()) SWIG_fail
;
42148 resultobj
= SWIG_Py_Void();
42155 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42156 PyObject
*resultobj
= 0;
42157 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42161 PyObject
*swig_obj
[1] ;
42163 if (!args
) SWIG_fail
;
42164 swig_obj
[0] = args
;
42165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42166 if (!SWIG_IsOK(res1
)) {
42167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42169 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42172 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42173 wxPyEndAllowThreads(__tstate
);
42174 if (PyErr_Occurred()) SWIG_fail
;
42178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42189 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42190 PyObject
*resultobj
= 0;
42191 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42192 wxString
*arg2
= 0 ;
42195 bool temp2
= false ;
42196 PyObject
* obj0
= 0 ;
42197 PyObject
* obj1
= 0 ;
42198 char * kwnames
[] = {
42199 (char *) "self",(char *) "url", NULL
42202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42204 if (!SWIG_IsOK(res1
)) {
42205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42207 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42209 arg2
= wxString_in_helper(obj1
);
42210 if (arg2
== NULL
) SWIG_fail
;
42214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42215 (arg1
)->SetURL((wxString
const &)*arg2
);
42216 wxPyEndAllowThreads(__tstate
);
42217 if (PyErr_Occurred()) SWIG_fail
;
42219 resultobj
= SWIG_Py_Void();
42234 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42235 PyObject
*resultobj
= 0;
42236 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42237 bool arg2
= (bool) true ;
42242 PyObject
* obj0
= 0 ;
42243 PyObject
* obj1
= 0 ;
42244 char * kwnames
[] = {
42245 (char *) "self",(char *) "visited", NULL
42248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42250 if (!SWIG_IsOK(res1
)) {
42251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42253 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42255 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42256 if (!SWIG_IsOK(ecode2
)) {
42257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42259 arg2
= static_cast< bool >(val2
);
42262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42263 (arg1
)->SetVisited(arg2
);
42264 wxPyEndAllowThreads(__tstate
);
42265 if (PyErr_Occurred()) SWIG_fail
;
42267 resultobj
= SWIG_Py_Void();
42274 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42275 PyObject
*resultobj
= 0;
42276 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42280 PyObject
*swig_obj
[1] ;
42282 if (!args
) SWIG_fail
;
42283 swig_obj
[0] = args
;
42284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42285 if (!SWIG_IsOK(res1
)) {
42286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42288 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42291 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42292 wxPyEndAllowThreads(__tstate
);
42293 if (PyErr_Occurred()) SWIG_fail
;
42296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42304 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42307 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42308 return SWIG_Py_Void();
42311 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42312 return SWIG_Python_InitShadowInstance(args
);
42315 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42316 PyObject
*resultobj
= 0;
42317 wxObject
*arg1
= (wxObject
*) 0 ;
42319 wxString
*arg3
= 0 ;
42320 wxHyperlinkEvent
*result
= 0 ;
42325 bool temp3
= false ;
42326 PyObject
* obj0
= 0 ;
42327 PyObject
* obj1
= 0 ;
42328 PyObject
* obj2
= 0 ;
42329 char * kwnames
[] = {
42330 (char *) "generator",(char *) "id",(char *) "url", NULL
42333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42335 if (!SWIG_IsOK(res1
)) {
42336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42338 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42340 if (!SWIG_IsOK(ecode2
)) {
42341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42343 arg2
= static_cast< int >(val2
);
42345 arg3
= wxString_in_helper(obj2
);
42346 if (arg3
== NULL
) SWIG_fail
;
42350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42351 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42352 wxPyEndAllowThreads(__tstate
);
42353 if (PyErr_Occurred()) SWIG_fail
;
42355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42370 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42371 PyObject
*resultobj
= 0;
42372 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42376 PyObject
*swig_obj
[1] ;
42378 if (!args
) SWIG_fail
;
42379 swig_obj
[0] = args
;
42380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42381 if (!SWIG_IsOK(res1
)) {
42382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42384 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42387 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42388 wxPyEndAllowThreads(__tstate
);
42389 if (PyErr_Occurred()) SWIG_fail
;
42393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42404 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42405 PyObject
*resultobj
= 0;
42406 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42407 wxString
*arg2
= 0 ;
42410 bool temp2
= false ;
42411 PyObject
* obj0
= 0 ;
42412 PyObject
* obj1
= 0 ;
42413 char * kwnames
[] = {
42414 (char *) "self",(char *) "url", NULL
42417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42419 if (!SWIG_IsOK(res1
)) {
42420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42422 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42424 arg2
= wxString_in_helper(obj1
);
42425 if (arg2
== NULL
) SWIG_fail
;
42429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42430 (arg1
)->SetURL((wxString
const &)*arg2
);
42431 wxPyEndAllowThreads(__tstate
);
42432 if (PyErr_Occurred()) SWIG_fail
;
42434 resultobj
= SWIG_Py_Void();
42449 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42452 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42453 return SWIG_Py_Void();
42456 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42457 return SWIG_Python_InitShadowInstance(args
);
42460 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42461 PyObject
*resultobj
= 0;
42462 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42463 wxWindow
*arg2
= (wxWindow
*) 0 ;
42465 wxString
const &arg4_defvalue
= wxEmptyString
;
42466 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42467 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42468 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42469 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42470 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42471 long arg7
= (long) 0 ;
42472 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42473 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42474 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42475 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42483 bool temp4
= false ;
42490 bool temp9
= false ;
42491 PyObject
* obj0
= 0 ;
42492 PyObject
* obj1
= 0 ;
42493 PyObject
* obj2
= 0 ;
42494 PyObject
* obj3
= 0 ;
42495 PyObject
* obj4
= 0 ;
42496 PyObject
* obj5
= 0 ;
42497 PyObject
* obj6
= 0 ;
42498 PyObject
* obj7
= 0 ;
42499 PyObject
* obj8
= 0 ;
42500 char * kwnames
[] = {
42501 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42506 if (!SWIG_IsOK(res1
)) {
42507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42509 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42511 if (!SWIG_IsOK(res2
)) {
42512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42516 if (!SWIG_IsOK(ecode3
)) {
42517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42519 arg3
= static_cast< int >(val3
);
42522 arg4
= wxString_in_helper(obj3
);
42523 if (arg4
== NULL
) SWIG_fail
;
42530 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42536 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42540 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42541 if (!SWIG_IsOK(ecode7
)) {
42542 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42544 arg7
= static_cast< long >(val7
);
42547 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42548 if (!SWIG_IsOK(res8
)) {
42549 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42554 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42558 arg9
= wxString_in_helper(obj8
);
42559 if (arg9
== NULL
) SWIG_fail
;
42564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42565 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42566 wxPyEndAllowThreads(__tstate
);
42567 if (PyErr_Occurred()) SWIG_fail
;
42570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42594 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42595 PyObject
*resultobj
= 0;
42596 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42602 PyObject
* obj0
= 0 ;
42603 PyObject
* obj1
= 0 ;
42604 char * kwnames
[] = {
42605 (char *) "self",(char *) "newmargin", NULL
42608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42610 if (!SWIG_IsOK(res1
)) {
42611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42613 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42615 if (!SWIG_IsOK(ecode2
)) {
42616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42618 arg2
= static_cast< int >(val2
);
42620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42621 (arg1
)->SetInternalMargin(arg2
);
42622 wxPyEndAllowThreads(__tstate
);
42623 if (PyErr_Occurred()) SWIG_fail
;
42625 resultobj
= SWIG_Py_Void();
42632 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42633 PyObject
*resultobj
= 0;
42634 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42638 PyObject
*swig_obj
[1] ;
42640 if (!args
) SWIG_fail
;
42641 swig_obj
[0] = args
;
42642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42643 if (!SWIG_IsOK(res1
)) {
42644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42646 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42649 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42650 wxPyEndAllowThreads(__tstate
);
42651 if (PyErr_Occurred()) SWIG_fail
;
42653 resultobj
= SWIG_From_int(static_cast< int >(result
));
42660 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42661 PyObject
*resultobj
= 0;
42662 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42668 PyObject
* obj0
= 0 ;
42669 PyObject
* obj1
= 0 ;
42670 char * kwnames
[] = {
42671 (char *) "self",(char *) "prop", NULL
42674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42676 if (!SWIG_IsOK(res1
)) {
42677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42679 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42681 if (!SWIG_IsOK(ecode2
)) {
42682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42684 arg2
= static_cast< int >(val2
);
42686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42687 (arg1
)->SetTextCtrlProportion(arg2
);
42688 wxPyEndAllowThreads(__tstate
);
42689 if (PyErr_Occurred()) SWIG_fail
;
42691 resultobj
= SWIG_Py_Void();
42698 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42699 PyObject
*resultobj
= 0;
42700 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42704 PyObject
*swig_obj
[1] ;
42706 if (!args
) SWIG_fail
;
42707 swig_obj
[0] = args
;
42708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42709 if (!SWIG_IsOK(res1
)) {
42710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42712 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42715 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42716 wxPyEndAllowThreads(__tstate
);
42717 if (PyErr_Occurred()) SWIG_fail
;
42719 resultobj
= SWIG_From_int(static_cast< int >(result
));
42726 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42727 PyObject
*resultobj
= 0;
42728 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42734 PyObject
* obj0
= 0 ;
42735 PyObject
* obj1
= 0 ;
42736 char * kwnames
[] = {
42737 (char *) "self",(char *) "prop", NULL
42740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42742 if (!SWIG_IsOK(res1
)) {
42743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42745 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42747 if (!SWIG_IsOK(ecode2
)) {
42748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42750 arg2
= static_cast< int >(val2
);
42752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42753 (arg1
)->SetPickerCtrlProportion(arg2
);
42754 wxPyEndAllowThreads(__tstate
);
42755 if (PyErr_Occurred()) SWIG_fail
;
42757 resultobj
= SWIG_Py_Void();
42764 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42765 PyObject
*resultobj
= 0;
42766 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42770 PyObject
*swig_obj
[1] ;
42772 if (!args
) SWIG_fail
;
42773 swig_obj
[0] = args
;
42774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42775 if (!SWIG_IsOK(res1
)) {
42776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42778 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42781 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42782 wxPyEndAllowThreads(__tstate
);
42783 if (PyErr_Occurred()) SWIG_fail
;
42785 resultobj
= SWIG_From_int(static_cast< int >(result
));
42792 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42793 PyObject
*resultobj
= 0;
42794 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42798 PyObject
*swig_obj
[1] ;
42800 if (!args
) SWIG_fail
;
42801 swig_obj
[0] = args
;
42802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42803 if (!SWIG_IsOK(res1
)) {
42804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42806 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42809 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42810 wxPyEndAllowThreads(__tstate
);
42811 if (PyErr_Occurred()) SWIG_fail
;
42814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42822 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42823 PyObject
*resultobj
= 0;
42824 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42825 bool arg2
= (bool) true ;
42830 PyObject
* obj0
= 0 ;
42831 PyObject
* obj1
= 0 ;
42832 char * kwnames
[] = {
42833 (char *) "self",(char *) "grow", NULL
42836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42838 if (!SWIG_IsOK(res1
)) {
42839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42841 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42844 if (!SWIG_IsOK(ecode2
)) {
42845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42847 arg2
= static_cast< bool >(val2
);
42850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42851 (arg1
)->SetTextCtrlGrowable(arg2
);
42852 wxPyEndAllowThreads(__tstate
);
42853 if (PyErr_Occurred()) SWIG_fail
;
42855 resultobj
= SWIG_Py_Void();
42862 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42863 PyObject
*resultobj
= 0;
42864 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42868 PyObject
*swig_obj
[1] ;
42870 if (!args
) SWIG_fail
;
42871 swig_obj
[0] = args
;
42872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42873 if (!SWIG_IsOK(res1
)) {
42874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42876 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42879 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42880 wxPyEndAllowThreads(__tstate
);
42881 if (PyErr_Occurred()) SWIG_fail
;
42884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42892 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42893 PyObject
*resultobj
= 0;
42894 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42895 bool arg2
= (bool) true ;
42900 PyObject
* obj0
= 0 ;
42901 PyObject
* obj1
= 0 ;
42902 char * kwnames
[] = {
42903 (char *) "self",(char *) "grow", NULL
42906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42908 if (!SWIG_IsOK(res1
)) {
42909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42911 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42913 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42914 if (!SWIG_IsOK(ecode2
)) {
42915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42917 arg2
= static_cast< bool >(val2
);
42920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42921 (arg1
)->SetPickerCtrlGrowable(arg2
);
42922 wxPyEndAllowThreads(__tstate
);
42923 if (PyErr_Occurred()) SWIG_fail
;
42925 resultobj
= SWIG_Py_Void();
42932 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42933 PyObject
*resultobj
= 0;
42934 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42938 PyObject
*swig_obj
[1] ;
42940 if (!args
) SWIG_fail
;
42941 swig_obj
[0] = args
;
42942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42943 if (!SWIG_IsOK(res1
)) {
42944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42946 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42949 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42950 wxPyEndAllowThreads(__tstate
);
42951 if (PyErr_Occurred()) SWIG_fail
;
42954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42962 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42963 PyObject
*resultobj
= 0;
42964 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42965 wxTextCtrl
*result
= 0 ;
42968 PyObject
*swig_obj
[1] ;
42970 if (!args
) SWIG_fail
;
42971 swig_obj
[0] = args
;
42972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42973 if (!SWIG_IsOK(res1
)) {
42974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42976 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42979 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42980 wxPyEndAllowThreads(__tstate
);
42981 if (PyErr_Occurred()) SWIG_fail
;
42984 resultobj
= wxPyMake_wxObject(result
, 0);
42992 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42993 PyObject
*resultobj
= 0;
42994 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42995 wxControl
*result
= 0 ;
42998 PyObject
*swig_obj
[1] ;
43000 if (!args
) SWIG_fail
;
43001 swig_obj
[0] = args
;
43002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43003 if (!SWIG_IsOK(res1
)) {
43004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43006 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43009 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43010 wxPyEndAllowThreads(__tstate
);
43011 if (PyErr_Occurred()) SWIG_fail
;
43014 resultobj
= wxPyMake_wxObject(result
, 0);
43022 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43026 return SWIG_Py_Void();
43029 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43030 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43035 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43036 PyObject
*pyobj
= 0;
43040 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43042 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43049 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43050 PyObject
*resultobj
= 0;
43051 wxWindow
*arg1
= (wxWindow
*) 0 ;
43052 int arg2
= (int) -1 ;
43053 wxColour
const &arg3_defvalue
= *wxBLACK
;
43054 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43055 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43056 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43057 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43058 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43059 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43060 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43061 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43062 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43063 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43064 wxColourPickerCtrl
*result
= 0 ;
43076 bool temp8
= false ;
43077 PyObject
* obj0
= 0 ;
43078 PyObject
* obj1
= 0 ;
43079 PyObject
* obj2
= 0 ;
43080 PyObject
* obj3
= 0 ;
43081 PyObject
* obj4
= 0 ;
43082 PyObject
* obj5
= 0 ;
43083 PyObject
* obj6
= 0 ;
43084 PyObject
* obj7
= 0 ;
43085 char * kwnames
[] = {
43086 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43091 if (!SWIG_IsOK(res1
)) {
43092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43097 if (!SWIG_IsOK(ecode2
)) {
43098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43100 arg2
= static_cast< int >(val2
);
43105 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43111 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43117 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43121 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43122 if (!SWIG_IsOK(ecode6
)) {
43123 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43125 arg6
= static_cast< long >(val6
);
43128 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43129 if (!SWIG_IsOK(res7
)) {
43130 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43135 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43139 arg8
= wxString_in_helper(obj7
);
43140 if (arg8
== NULL
) SWIG_fail
;
43145 if (!wxPyCheckForApp()) SWIG_fail
;
43146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43147 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43148 wxPyEndAllowThreads(__tstate
);
43149 if (PyErr_Occurred()) SWIG_fail
;
43151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43166 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43167 PyObject
*resultobj
= 0;
43168 wxColourPickerCtrl
*result
= 0 ;
43170 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43172 if (!wxPyCheckForApp()) SWIG_fail
;
43173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43174 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43175 wxPyEndAllowThreads(__tstate
);
43176 if (PyErr_Occurred()) SWIG_fail
;
43178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43185 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43186 PyObject
*resultobj
= 0;
43187 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43188 wxWindow
*arg2
= (wxWindow
*) 0 ;
43190 wxColour
const &arg4_defvalue
= *wxBLACK
;
43191 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43192 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43193 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43194 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43195 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43196 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43197 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43198 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43199 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43200 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43215 bool temp9
= false ;
43216 PyObject
* obj0
= 0 ;
43217 PyObject
* obj1
= 0 ;
43218 PyObject
* obj2
= 0 ;
43219 PyObject
* obj3
= 0 ;
43220 PyObject
* obj4
= 0 ;
43221 PyObject
* obj5
= 0 ;
43222 PyObject
* obj6
= 0 ;
43223 PyObject
* obj7
= 0 ;
43224 PyObject
* obj8
= 0 ;
43225 char * kwnames
[] = {
43226 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43231 if (!SWIG_IsOK(res1
)) {
43232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43234 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43236 if (!SWIG_IsOK(res2
)) {
43237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43239 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43241 if (!SWIG_IsOK(ecode3
)) {
43242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43244 arg3
= static_cast< int >(val3
);
43248 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43254 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43260 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43264 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43265 if (!SWIG_IsOK(ecode7
)) {
43266 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43268 arg7
= static_cast< long >(val7
);
43271 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43272 if (!SWIG_IsOK(res8
)) {
43273 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43278 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43282 arg9
= wxString_in_helper(obj8
);
43283 if (arg9
== NULL
) SWIG_fail
;
43288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43289 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43290 wxPyEndAllowThreads(__tstate
);
43291 if (PyErr_Occurred()) SWIG_fail
;
43294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43310 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43311 PyObject
*resultobj
= 0;
43312 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43316 PyObject
*swig_obj
[1] ;
43318 if (!args
) SWIG_fail
;
43319 swig_obj
[0] = args
;
43320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43321 if (!SWIG_IsOK(res1
)) {
43322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43324 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43327 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43328 wxPyEndAllowThreads(__tstate
);
43329 if (PyErr_Occurred()) SWIG_fail
;
43331 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43338 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43339 PyObject
*resultobj
= 0;
43340 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43341 wxColour
*arg2
= 0 ;
43345 PyObject
* obj0
= 0 ;
43346 PyObject
* obj1
= 0 ;
43347 char * kwnames
[] = {
43348 (char *) "self",(char *) "col", NULL
43351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43353 if (!SWIG_IsOK(res1
)) {
43354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43356 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43359 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43363 (arg1
)->SetColour((wxColour
const &)*arg2
);
43364 wxPyEndAllowThreads(__tstate
);
43365 if (PyErr_Occurred()) SWIG_fail
;
43367 resultobj
= SWIG_Py_Void();
43374 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43377 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43378 return SWIG_Py_Void();
43381 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43382 return SWIG_Python_InitShadowInstance(args
);
43385 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43386 PyObject
*resultobj
= 0;
43387 wxObject
*arg1
= (wxObject
*) 0 ;
43389 wxColour
*arg3
= 0 ;
43390 wxColourPickerEvent
*result
= 0 ;
43396 PyObject
* obj0
= 0 ;
43397 PyObject
* obj1
= 0 ;
43398 PyObject
* obj2
= 0 ;
43399 char * kwnames
[] = {
43400 (char *) "generator",(char *) "id",(char *) "col", NULL
43403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43405 if (!SWIG_IsOK(res1
)) {
43406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43408 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43410 if (!SWIG_IsOK(ecode2
)) {
43411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43413 arg2
= static_cast< int >(val2
);
43416 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43420 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43421 wxPyEndAllowThreads(__tstate
);
43422 if (PyErr_Occurred()) SWIG_fail
;
43424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43431 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43432 PyObject
*resultobj
= 0;
43433 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43437 PyObject
*swig_obj
[1] ;
43439 if (!args
) SWIG_fail
;
43440 swig_obj
[0] = args
;
43441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43442 if (!SWIG_IsOK(res1
)) {
43443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43445 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43448 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43449 wxPyEndAllowThreads(__tstate
);
43450 if (PyErr_Occurred()) SWIG_fail
;
43452 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43459 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43460 PyObject
*resultobj
= 0;
43461 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43462 wxColour
*arg2
= 0 ;
43466 PyObject
* obj0
= 0 ;
43467 PyObject
* obj1
= 0 ;
43468 char * kwnames
[] = {
43469 (char *) "self",(char *) "c", NULL
43472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43474 if (!SWIG_IsOK(res1
)) {
43475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43477 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43480 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43484 (arg1
)->SetColour((wxColour
const &)*arg2
);
43485 wxPyEndAllowThreads(__tstate
);
43486 if (PyErr_Occurred()) SWIG_fail
;
43488 resultobj
= SWIG_Py_Void();
43495 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43498 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43499 return SWIG_Py_Void();
43502 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43503 return SWIG_Python_InitShadowInstance(args
);
43506 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43507 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43512 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43513 PyObject
*pyobj
= 0;
43517 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43519 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43526 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43527 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43532 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43533 PyObject
*pyobj
= 0;
43537 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43539 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43546 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43547 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43552 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43553 PyObject
*pyobj
= 0;
43557 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43559 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43566 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43567 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43572 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43573 PyObject
*pyobj
= 0;
43577 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43579 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43586 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43587 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43592 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43593 PyObject
*pyobj
= 0;
43597 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43599 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43606 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43607 PyObject
*resultobj
= 0;
43608 wxWindow
*arg1
= (wxWindow
*) 0 ;
43609 int arg2
= (int) -1 ;
43610 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43611 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43612 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43613 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43614 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43615 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43616 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43617 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43618 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43619 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43620 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43621 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43622 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43623 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43624 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43625 wxFilePickerCtrl
*result
= 0 ;
43630 bool temp3
= false ;
43631 bool temp4
= false ;
43632 bool temp5
= false ;
43639 bool temp10
= false ;
43640 PyObject
* obj0
= 0 ;
43641 PyObject
* obj1
= 0 ;
43642 PyObject
* obj2
= 0 ;
43643 PyObject
* obj3
= 0 ;
43644 PyObject
* obj4
= 0 ;
43645 PyObject
* obj5
= 0 ;
43646 PyObject
* obj6
= 0 ;
43647 PyObject
* obj7
= 0 ;
43648 PyObject
* obj8
= 0 ;
43649 PyObject
* obj9
= 0 ;
43650 char * kwnames
[] = {
43651 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43656 if (!SWIG_IsOK(res1
)) {
43657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43662 if (!SWIG_IsOK(ecode2
)) {
43663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43665 arg2
= static_cast< int >(val2
);
43669 arg3
= wxString_in_helper(obj2
);
43670 if (arg3
== NULL
) SWIG_fail
;
43676 arg4
= wxString_in_helper(obj3
);
43677 if (arg4
== NULL
) SWIG_fail
;
43683 arg5
= wxString_in_helper(obj4
);
43684 if (arg5
== NULL
) SWIG_fail
;
43691 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43697 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43701 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43702 if (!SWIG_IsOK(ecode8
)) {
43703 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43705 arg8
= static_cast< long >(val8
);
43708 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43709 if (!SWIG_IsOK(res9
)) {
43710 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43715 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43719 arg10
= wxString_in_helper(obj9
);
43720 if (arg10
== NULL
) SWIG_fail
;
43725 if (!wxPyCheckForApp()) SWIG_fail
;
43726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43727 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
);
43728 wxPyEndAllowThreads(__tstate
);
43729 if (PyErr_Occurred()) SWIG_fail
;
43731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43770 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43771 PyObject
*resultobj
= 0;
43772 wxFilePickerCtrl
*result
= 0 ;
43774 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43776 if (!wxPyCheckForApp()) SWIG_fail
;
43777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43778 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43779 wxPyEndAllowThreads(__tstate
);
43780 if (PyErr_Occurred()) SWIG_fail
;
43782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43789 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43790 PyObject
*resultobj
= 0;
43791 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43792 wxWindow
*arg2
= (wxWindow
*) 0 ;
43793 int arg3
= (int) -1 ;
43794 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43796 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43797 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43798 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43799 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43800 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43801 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43802 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43803 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43804 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43805 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43806 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43807 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43808 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43816 bool temp4
= false ;
43817 bool temp5
= false ;
43818 bool temp6
= false ;
43825 bool temp11
= false ;
43826 PyObject
* obj0
= 0 ;
43827 PyObject
* obj1
= 0 ;
43828 PyObject
* obj2
= 0 ;
43829 PyObject
* obj3
= 0 ;
43830 PyObject
* obj4
= 0 ;
43831 PyObject
* obj5
= 0 ;
43832 PyObject
* obj6
= 0 ;
43833 PyObject
* obj7
= 0 ;
43834 PyObject
* obj8
= 0 ;
43835 PyObject
* obj9
= 0 ;
43836 PyObject
* obj10
= 0 ;
43837 char * kwnames
[] = {
43838 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43843 if (!SWIG_IsOK(res1
)) {
43844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43846 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43848 if (!SWIG_IsOK(res2
)) {
43849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43854 if (!SWIG_IsOK(ecode3
)) {
43855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43857 arg3
= static_cast< int >(val3
);
43861 arg4
= wxString_in_helper(obj3
);
43862 if (arg4
== NULL
) SWIG_fail
;
43868 arg5
= wxString_in_helper(obj4
);
43869 if (arg5
== NULL
) SWIG_fail
;
43875 arg6
= wxString_in_helper(obj5
);
43876 if (arg6
== NULL
) SWIG_fail
;
43883 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43889 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43893 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43894 if (!SWIG_IsOK(ecode9
)) {
43895 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43897 arg9
= static_cast< long >(val9
);
43900 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43901 if (!SWIG_IsOK(res10
)) {
43902 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43907 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43911 arg11
= wxString_in_helper(obj10
);
43912 if (arg11
== NULL
) SWIG_fail
;
43917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43918 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
);
43919 wxPyEndAllowThreads(__tstate
);
43920 if (PyErr_Occurred()) SWIG_fail
;
43923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43963 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43964 PyObject
*resultobj
= 0;
43965 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43969 PyObject
*swig_obj
[1] ;
43971 if (!args
) SWIG_fail
;
43972 swig_obj
[0] = args
;
43973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43974 if (!SWIG_IsOK(res1
)) {
43975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43977 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43980 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43981 wxPyEndAllowThreads(__tstate
);
43982 if (PyErr_Occurred()) SWIG_fail
;
43986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43997 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43998 PyObject
*resultobj
= 0;
43999 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44000 wxString
*arg2
= 0 ;
44003 bool temp2
= false ;
44004 PyObject
* obj0
= 0 ;
44005 PyObject
* obj1
= 0 ;
44006 char * kwnames
[] = {
44007 (char *) "self",(char *) "str", NULL
44010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44012 if (!SWIG_IsOK(res1
)) {
44013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44015 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44017 arg2
= wxString_in_helper(obj1
);
44018 if (arg2
== NULL
) SWIG_fail
;
44022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44023 (arg1
)->SetPath((wxString
const &)*arg2
);
44024 wxPyEndAllowThreads(__tstate
);
44025 if (PyErr_Occurred()) SWIG_fail
;
44027 resultobj
= SWIG_Py_Void();
44042 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44043 PyObject
*resultobj
= 0;
44044 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44045 wxString
*arg2
= 0 ;
44049 bool temp2
= false ;
44050 PyObject
* obj0
= 0 ;
44051 PyObject
* obj1
= 0 ;
44052 char * kwnames
[] = {
44053 (char *) "self",(char *) "path", NULL
44056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44058 if (!SWIG_IsOK(res1
)) {
44059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44061 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44063 arg2
= wxString_in_helper(obj1
);
44064 if (arg2
== NULL
) SWIG_fail
;
44068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44069 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44070 wxPyEndAllowThreads(__tstate
);
44071 if (PyErr_Occurred()) SWIG_fail
;
44074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44090 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44091 PyObject
*resultobj
= 0;
44092 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44096 PyObject
*swig_obj
[1] ;
44098 if (!args
) SWIG_fail
;
44099 swig_obj
[0] = args
;
44100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44101 if (!SWIG_IsOK(res1
)) {
44102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44104 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44107 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44108 wxPyEndAllowThreads(__tstate
);
44109 if (PyErr_Occurred()) SWIG_fail
;
44113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44124 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44127 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44128 return SWIG_Py_Void();
44131 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44132 return SWIG_Python_InitShadowInstance(args
);
44135 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44136 PyObject
*resultobj
= 0;
44137 wxWindow
*arg1
= (wxWindow
*) 0 ;
44138 int arg2
= (int) -1 ;
44139 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44140 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44141 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44142 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44143 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44144 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44145 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44146 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44147 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44148 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44149 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44150 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44151 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44152 wxDirPickerCtrl
*result
= 0 ;
44157 bool temp3
= false ;
44158 bool temp4
= false ;
44165 bool temp9
= false ;
44166 PyObject
* obj0
= 0 ;
44167 PyObject
* obj1
= 0 ;
44168 PyObject
* obj2
= 0 ;
44169 PyObject
* obj3
= 0 ;
44170 PyObject
* obj4
= 0 ;
44171 PyObject
* obj5
= 0 ;
44172 PyObject
* obj6
= 0 ;
44173 PyObject
* obj7
= 0 ;
44174 PyObject
* obj8
= 0 ;
44175 char * kwnames
[] = {
44176 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44181 if (!SWIG_IsOK(res1
)) {
44182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44184 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44187 if (!SWIG_IsOK(ecode2
)) {
44188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44190 arg2
= static_cast< int >(val2
);
44194 arg3
= wxString_in_helper(obj2
);
44195 if (arg3
== NULL
) SWIG_fail
;
44201 arg4
= wxString_in_helper(obj3
);
44202 if (arg4
== NULL
) SWIG_fail
;
44209 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44215 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44219 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44220 if (!SWIG_IsOK(ecode7
)) {
44221 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44223 arg7
= static_cast< long >(val7
);
44226 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44227 if (!SWIG_IsOK(res8
)) {
44228 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44233 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44237 arg9
= wxString_in_helper(obj8
);
44238 if (arg9
== NULL
) SWIG_fail
;
44243 if (!wxPyCheckForApp()) SWIG_fail
;
44244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44245 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
);
44246 wxPyEndAllowThreads(__tstate
);
44247 if (PyErr_Occurred()) SWIG_fail
;
44249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44280 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44281 PyObject
*resultobj
= 0;
44282 wxDirPickerCtrl
*result
= 0 ;
44284 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44286 if (!wxPyCheckForApp()) SWIG_fail
;
44287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44288 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44289 wxPyEndAllowThreads(__tstate
);
44290 if (PyErr_Occurred()) SWIG_fail
;
44292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44299 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44300 PyObject
*resultobj
= 0;
44301 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44302 wxWindow
*arg2
= (wxWindow
*) 0 ;
44303 int arg3
= (int) -1 ;
44304 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44305 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44306 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44307 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44308 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44309 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44310 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44311 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44312 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44313 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44314 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44315 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44316 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44324 bool temp4
= false ;
44325 bool temp5
= false ;
44332 bool temp10
= false ;
44333 PyObject
* obj0
= 0 ;
44334 PyObject
* obj1
= 0 ;
44335 PyObject
* obj2
= 0 ;
44336 PyObject
* obj3
= 0 ;
44337 PyObject
* obj4
= 0 ;
44338 PyObject
* obj5
= 0 ;
44339 PyObject
* obj6
= 0 ;
44340 PyObject
* obj7
= 0 ;
44341 PyObject
* obj8
= 0 ;
44342 PyObject
* obj9
= 0 ;
44343 char * kwnames
[] = {
44344 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44349 if (!SWIG_IsOK(res1
)) {
44350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44352 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44354 if (!SWIG_IsOK(res2
)) {
44355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44357 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44360 if (!SWIG_IsOK(ecode3
)) {
44361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44363 arg3
= static_cast< int >(val3
);
44367 arg4
= wxString_in_helper(obj3
);
44368 if (arg4
== NULL
) SWIG_fail
;
44374 arg5
= wxString_in_helper(obj4
);
44375 if (arg5
== NULL
) SWIG_fail
;
44382 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44388 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44392 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44393 if (!SWIG_IsOK(ecode8
)) {
44394 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44396 arg8
= static_cast< long >(val8
);
44399 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44400 if (!SWIG_IsOK(res9
)) {
44401 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44406 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44410 arg10
= wxString_in_helper(obj9
);
44411 if (arg10
== NULL
) SWIG_fail
;
44416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44417 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
);
44418 wxPyEndAllowThreads(__tstate
);
44419 if (PyErr_Occurred()) SWIG_fail
;
44422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44454 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44455 PyObject
*resultobj
= 0;
44456 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44460 PyObject
*swig_obj
[1] ;
44462 if (!args
) SWIG_fail
;
44463 swig_obj
[0] = args
;
44464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44465 if (!SWIG_IsOK(res1
)) {
44466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44468 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44471 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44472 wxPyEndAllowThreads(__tstate
);
44473 if (PyErr_Occurred()) SWIG_fail
;
44477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44488 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44489 PyObject
*resultobj
= 0;
44490 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44491 wxString
*arg2
= 0 ;
44494 bool temp2
= false ;
44495 PyObject
* obj0
= 0 ;
44496 PyObject
* obj1
= 0 ;
44497 char * kwnames
[] = {
44498 (char *) "self",(char *) "str", NULL
44501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44503 if (!SWIG_IsOK(res1
)) {
44504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44506 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44508 arg2
= wxString_in_helper(obj1
);
44509 if (arg2
== NULL
) SWIG_fail
;
44513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44514 (arg1
)->SetPath((wxString
const &)*arg2
);
44515 wxPyEndAllowThreads(__tstate
);
44516 if (PyErr_Occurred()) SWIG_fail
;
44518 resultobj
= SWIG_Py_Void();
44533 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44534 PyObject
*resultobj
= 0;
44535 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44536 wxString
*arg2
= 0 ;
44540 bool temp2
= false ;
44541 PyObject
* obj0
= 0 ;
44542 PyObject
* obj1
= 0 ;
44543 char * kwnames
[] = {
44544 (char *) "self",(char *) "path", NULL
44547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44549 if (!SWIG_IsOK(res1
)) {
44550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44552 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44554 arg2
= wxString_in_helper(obj1
);
44555 if (arg2
== NULL
) SWIG_fail
;
44559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44560 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44561 wxPyEndAllowThreads(__tstate
);
44562 if (PyErr_Occurred()) SWIG_fail
;
44565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44581 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44582 PyObject
*resultobj
= 0;
44583 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44587 PyObject
*swig_obj
[1] ;
44589 if (!args
) SWIG_fail
;
44590 swig_obj
[0] = args
;
44591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44592 if (!SWIG_IsOK(res1
)) {
44593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44595 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44598 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44599 wxPyEndAllowThreads(__tstate
);
44600 if (PyErr_Occurred()) SWIG_fail
;
44604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44615 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44618 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44619 return SWIG_Py_Void();
44622 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44623 return SWIG_Python_InitShadowInstance(args
);
44626 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44627 PyObject
*resultobj
= 0;
44629 wxObject
*arg2
= (wxObject
*) 0 ;
44631 wxString
*arg4
= 0 ;
44632 wxFileDirPickerEvent
*result
= 0 ;
44639 bool temp4
= false ;
44640 PyObject
* obj0
= 0 ;
44641 PyObject
* obj1
= 0 ;
44642 PyObject
* obj2
= 0 ;
44643 PyObject
* obj3
= 0 ;
44644 char * kwnames
[] = {
44645 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44650 if (!SWIG_IsOK(ecode1
)) {
44651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44653 arg1
= static_cast< wxEventType
>(val1
);
44654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44655 if (!SWIG_IsOK(res2
)) {
44656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44658 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44660 if (!SWIG_IsOK(ecode3
)) {
44661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44663 arg3
= static_cast< int >(val3
);
44665 arg4
= wxString_in_helper(obj3
);
44666 if (arg4
== NULL
) SWIG_fail
;
44670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44671 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44672 wxPyEndAllowThreads(__tstate
);
44673 if (PyErr_Occurred()) SWIG_fail
;
44675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44690 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44691 PyObject
*resultobj
= 0;
44692 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44696 PyObject
*swig_obj
[1] ;
44698 if (!args
) SWIG_fail
;
44699 swig_obj
[0] = args
;
44700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44701 if (!SWIG_IsOK(res1
)) {
44702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44704 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44707 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44708 wxPyEndAllowThreads(__tstate
);
44709 if (PyErr_Occurred()) SWIG_fail
;
44713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44724 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44725 PyObject
*resultobj
= 0;
44726 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44727 wxString
*arg2
= 0 ;
44730 bool temp2
= false ;
44731 PyObject
* obj0
= 0 ;
44732 PyObject
* obj1
= 0 ;
44733 char * kwnames
[] = {
44734 (char *) "self",(char *) "p", NULL
44737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44739 if (!SWIG_IsOK(res1
)) {
44740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44742 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44744 arg2
= wxString_in_helper(obj1
);
44745 if (arg2
== NULL
) SWIG_fail
;
44749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44750 (arg1
)->SetPath((wxString
const &)*arg2
);
44751 wxPyEndAllowThreads(__tstate
);
44752 if (PyErr_Occurred()) SWIG_fail
;
44754 resultobj
= SWIG_Py_Void();
44769 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44772 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44773 return SWIG_Py_Void();
44776 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44777 return SWIG_Python_InitShadowInstance(args
);
44780 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44781 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44786 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44787 PyObject
*pyobj
= 0;
44791 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44793 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44800 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44801 PyObject
*resultobj
= 0;
44802 wxWindow
*arg1
= (wxWindow
*) 0 ;
44803 int arg2
= (int) -1 ;
44804 wxFont
const &arg3_defvalue
= wxNullFont
;
44805 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44806 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44807 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44808 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44809 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44810 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44811 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44812 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44813 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44814 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44815 wxFontPickerCtrl
*result
= 0 ;
44828 bool temp8
= false ;
44829 PyObject
* obj0
= 0 ;
44830 PyObject
* obj1
= 0 ;
44831 PyObject
* obj2
= 0 ;
44832 PyObject
* obj3
= 0 ;
44833 PyObject
* obj4
= 0 ;
44834 PyObject
* obj5
= 0 ;
44835 PyObject
* obj6
= 0 ;
44836 PyObject
* obj7
= 0 ;
44837 char * kwnames
[] = {
44838 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44843 if (!SWIG_IsOK(res1
)) {
44844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44846 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44849 if (!SWIG_IsOK(ecode2
)) {
44850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44852 arg2
= static_cast< int >(val2
);
44855 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44856 if (!SWIG_IsOK(res3
)) {
44857 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44862 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44878 if (!SWIG_IsOK(ecode6
)) {
44879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44881 arg6
= static_cast< long >(val6
);
44884 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44885 if (!SWIG_IsOK(res7
)) {
44886 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44891 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44895 arg8
= wxString_in_helper(obj7
);
44896 if (arg8
== NULL
) SWIG_fail
;
44901 if (!wxPyCheckForApp()) SWIG_fail
;
44902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44903 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44904 wxPyEndAllowThreads(__tstate
);
44905 if (PyErr_Occurred()) SWIG_fail
;
44907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44922 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44923 PyObject
*resultobj
= 0;
44924 wxFontPickerCtrl
*result
= 0 ;
44926 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44928 if (!wxPyCheckForApp()) SWIG_fail
;
44929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44930 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44931 wxPyEndAllowThreads(__tstate
);
44932 if (PyErr_Occurred()) SWIG_fail
;
44934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44941 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44942 PyObject
*resultobj
= 0;
44943 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44944 wxWindow
*arg2
= (wxWindow
*) 0 ;
44945 int arg3
= (int) -1 ;
44946 wxFont
const &arg4_defvalue
= wxNullFont
;
44947 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44952 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44953 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44954 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44955 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44956 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44972 bool temp9
= false ;
44973 PyObject
* obj0
= 0 ;
44974 PyObject
* obj1
= 0 ;
44975 PyObject
* obj2
= 0 ;
44976 PyObject
* obj3
= 0 ;
44977 PyObject
* obj4
= 0 ;
44978 PyObject
* obj5
= 0 ;
44979 PyObject
* obj6
= 0 ;
44980 PyObject
* obj7
= 0 ;
44981 PyObject
* obj8
= 0 ;
44982 char * kwnames
[] = {
44983 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44988 if (!SWIG_IsOK(res1
)) {
44989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44991 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44993 if (!SWIG_IsOK(res2
)) {
44994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44999 if (!SWIG_IsOK(ecode3
)) {
45000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45002 arg3
= static_cast< int >(val3
);
45005 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45006 if (!SWIG_IsOK(res4
)) {
45007 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45012 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45017 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45023 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45027 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45028 if (!SWIG_IsOK(ecode7
)) {
45029 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45031 arg7
= static_cast< long >(val7
);
45034 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45035 if (!SWIG_IsOK(res8
)) {
45036 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45041 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45045 arg9
= wxString_in_helper(obj8
);
45046 if (arg9
== NULL
) SWIG_fail
;
45051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45053 wxPyEndAllowThreads(__tstate
);
45054 if (PyErr_Occurred()) SWIG_fail
;
45057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45073 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45074 PyObject
*resultobj
= 0;
45075 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45079 PyObject
*swig_obj
[1] ;
45081 if (!args
) SWIG_fail
;
45082 swig_obj
[0] = args
;
45083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45084 if (!SWIG_IsOK(res1
)) {
45085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45087 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45090 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45091 wxPyEndAllowThreads(__tstate
);
45092 if (PyErr_Occurred()) SWIG_fail
;
45094 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45101 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45102 PyObject
*resultobj
= 0;
45103 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45109 PyObject
* obj0
= 0 ;
45110 PyObject
* obj1
= 0 ;
45111 char * kwnames
[] = {
45112 (char *) "self",(char *) "f", NULL
45115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45117 if (!SWIG_IsOK(res1
)) {
45118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45120 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45122 if (!SWIG_IsOK(res2
)) {
45123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45128 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45131 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45132 wxPyEndAllowThreads(__tstate
);
45133 if (PyErr_Occurred()) SWIG_fail
;
45135 resultobj
= SWIG_Py_Void();
45142 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45143 PyObject
*resultobj
= 0;
45144 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45145 unsigned int arg2
;
45148 unsigned int val2
;
45150 PyObject
* obj0
= 0 ;
45151 PyObject
* obj1
= 0 ;
45152 char * kwnames
[] = {
45153 (char *) "self",(char *) "max", NULL
45156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45158 if (!SWIG_IsOK(res1
)) {
45159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45161 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45162 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45163 if (!SWIG_IsOK(ecode2
)) {
45164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45166 arg2
= static_cast< unsigned int >(val2
);
45168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45169 (arg1
)->SetMaxPointSize(arg2
);
45170 wxPyEndAllowThreads(__tstate
);
45171 if (PyErr_Occurred()) SWIG_fail
;
45173 resultobj
= SWIG_Py_Void();
45180 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45181 PyObject
*resultobj
= 0;
45182 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45183 unsigned int result
;
45186 PyObject
*swig_obj
[1] ;
45188 if (!args
) SWIG_fail
;
45189 swig_obj
[0] = args
;
45190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45191 if (!SWIG_IsOK(res1
)) {
45192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45194 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45197 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45198 wxPyEndAllowThreads(__tstate
);
45199 if (PyErr_Occurred()) SWIG_fail
;
45201 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45208 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45211 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45212 return SWIG_Py_Void();
45215 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45216 return SWIG_Python_InitShadowInstance(args
);
45219 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45220 PyObject
*resultobj
= 0;
45221 wxObject
*arg1
= (wxObject
*) 0 ;
45224 wxFontPickerEvent
*result
= 0 ;
45231 PyObject
* obj0
= 0 ;
45232 PyObject
* obj1
= 0 ;
45233 PyObject
* obj2
= 0 ;
45234 char * kwnames
[] = {
45235 (char *) "generator",(char *) "id",(char *) "f", NULL
45238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45240 if (!SWIG_IsOK(res1
)) {
45241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45243 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45245 if (!SWIG_IsOK(ecode2
)) {
45246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45248 arg2
= static_cast< int >(val2
);
45249 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45250 if (!SWIG_IsOK(res3
)) {
45251 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45256 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45259 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45260 wxPyEndAllowThreads(__tstate
);
45261 if (PyErr_Occurred()) SWIG_fail
;
45263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45270 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45271 PyObject
*resultobj
= 0;
45272 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45276 PyObject
*swig_obj
[1] ;
45278 if (!args
) SWIG_fail
;
45279 swig_obj
[0] = args
;
45280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45281 if (!SWIG_IsOK(res1
)) {
45282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45284 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45287 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45288 wxPyEndAllowThreads(__tstate
);
45289 if (PyErr_Occurred()) SWIG_fail
;
45291 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45298 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45299 PyObject
*resultobj
= 0;
45300 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45306 PyObject
* obj0
= 0 ;
45307 PyObject
* obj1
= 0 ;
45308 char * kwnames
[] = {
45309 (char *) "self",(char *) "c", NULL
45312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45314 if (!SWIG_IsOK(res1
)) {
45315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45317 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45319 if (!SWIG_IsOK(res2
)) {
45320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45325 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45328 (arg1
)->SetFont((wxFont
const &)*arg2
);
45329 wxPyEndAllowThreads(__tstate
);
45330 if (PyErr_Occurred()) SWIG_fail
;
45332 resultobj
= SWIG_Py_Void();
45339 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45342 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45343 return SWIG_Py_Void();
45346 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45347 return SWIG_Python_InitShadowInstance(args
);
45350 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45351 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45356 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45357 PyObject
*pyobj
= 0;
45361 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45363 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45370 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45371 PyObject
*resultobj
= 0;
45372 wxWindow
*arg1
= (wxWindow
*) 0 ;
45373 int arg2
= (int) -1 ;
45374 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45375 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45380 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45381 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45382 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45383 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45385 wxCollapsiblePane
*result
= 0 ;
45390 bool temp3
= false ;
45397 bool temp8
= false ;
45398 PyObject
* obj0
= 0 ;
45399 PyObject
* obj1
= 0 ;
45400 PyObject
* obj2
= 0 ;
45401 PyObject
* obj3
= 0 ;
45402 PyObject
* obj4
= 0 ;
45403 PyObject
* obj5
= 0 ;
45404 PyObject
* obj6
= 0 ;
45405 PyObject
* obj7
= 0 ;
45406 char * kwnames
[] = {
45407 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45412 if (!SWIG_IsOK(res1
)) {
45413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45415 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45418 if (!SWIG_IsOK(ecode2
)) {
45419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45421 arg2
= static_cast< int >(val2
);
45425 arg3
= wxString_in_helper(obj2
);
45426 if (arg3
== NULL
) SWIG_fail
;
45433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45443 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45444 if (!SWIG_IsOK(ecode6
)) {
45445 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45447 arg6
= static_cast< long >(val6
);
45450 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45451 if (!SWIG_IsOK(res7
)) {
45452 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45457 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45461 arg8
= wxString_in_helper(obj7
);
45462 if (arg8
== NULL
) SWIG_fail
;
45467 if (!wxPyCheckForApp()) SWIG_fail
;
45468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45469 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45470 wxPyEndAllowThreads(__tstate
);
45471 if (PyErr_Occurred()) SWIG_fail
;
45473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45496 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45497 PyObject
*resultobj
= 0;
45498 wxCollapsiblePane
*result
= 0 ;
45500 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45502 if (!wxPyCheckForApp()) SWIG_fail
;
45503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45504 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45505 wxPyEndAllowThreads(__tstate
);
45506 if (PyErr_Occurred()) SWIG_fail
;
45508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45515 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45516 PyObject
*resultobj
= 0;
45517 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45518 wxWindow
*arg2
= (wxWindow
*) 0 ;
45519 int arg3
= (int) -1 ;
45520 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45521 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45522 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45523 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45524 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45525 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45526 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45527 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45528 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45529 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45530 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45538 bool temp4
= false ;
45545 bool temp9
= false ;
45546 PyObject
* obj0
= 0 ;
45547 PyObject
* obj1
= 0 ;
45548 PyObject
* obj2
= 0 ;
45549 PyObject
* obj3
= 0 ;
45550 PyObject
* obj4
= 0 ;
45551 PyObject
* obj5
= 0 ;
45552 PyObject
* obj6
= 0 ;
45553 PyObject
* obj7
= 0 ;
45554 PyObject
* obj8
= 0 ;
45555 char * kwnames
[] = {
45556 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45561 if (!SWIG_IsOK(res1
)) {
45562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45564 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45566 if (!SWIG_IsOK(res2
)) {
45567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45572 if (!SWIG_IsOK(ecode3
)) {
45573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45575 arg3
= static_cast< int >(val3
);
45579 arg4
= wxString_in_helper(obj3
);
45580 if (arg4
== NULL
) SWIG_fail
;
45587 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45593 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45597 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45598 if (!SWIG_IsOK(ecode7
)) {
45599 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45601 arg7
= static_cast< long >(val7
);
45604 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45605 if (!SWIG_IsOK(res8
)) {
45606 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45611 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45615 arg9
= wxString_in_helper(obj8
);
45616 if (arg9
== NULL
) SWIG_fail
;
45621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45623 wxPyEndAllowThreads(__tstate
);
45624 if (PyErr_Occurred()) SWIG_fail
;
45627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45651 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45652 PyObject
*resultobj
= 0;
45653 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45654 bool arg2
= (bool) true ;
45659 PyObject
* obj0
= 0 ;
45660 PyObject
* obj1
= 0 ;
45661 char * kwnames
[] = {
45662 (char *) "self",(char *) "collapse", NULL
45665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45667 if (!SWIG_IsOK(res1
)) {
45668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45670 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45672 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45673 if (!SWIG_IsOK(ecode2
)) {
45674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45676 arg2
= static_cast< bool >(val2
);
45679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45680 (arg1
)->Collapse(arg2
);
45681 wxPyEndAllowThreads(__tstate
);
45682 if (PyErr_Occurred()) SWIG_fail
;
45684 resultobj
= SWIG_Py_Void();
45691 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45692 PyObject
*resultobj
= 0;
45693 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45696 PyObject
*swig_obj
[1] ;
45698 if (!args
) SWIG_fail
;
45699 swig_obj
[0] = args
;
45700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45701 if (!SWIG_IsOK(res1
)) {
45702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45704 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45708 wxPyEndAllowThreads(__tstate
);
45709 if (PyErr_Occurred()) SWIG_fail
;
45711 resultobj
= SWIG_Py_Void();
45718 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45719 PyObject
*resultobj
= 0;
45720 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45724 PyObject
*swig_obj
[1] ;
45726 if (!args
) SWIG_fail
;
45727 swig_obj
[0] = args
;
45728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45729 if (!SWIG_IsOK(res1
)) {
45730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45732 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45735 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45736 wxPyEndAllowThreads(__tstate
);
45737 if (PyErr_Occurred()) SWIG_fail
;
45740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45748 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45749 PyObject
*resultobj
= 0;
45750 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45754 PyObject
*swig_obj
[1] ;
45756 if (!args
) SWIG_fail
;
45757 swig_obj
[0] = args
;
45758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45759 if (!SWIG_IsOK(res1
)) {
45760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45762 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45765 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45766 wxPyEndAllowThreads(__tstate
);
45767 if (PyErr_Occurred()) SWIG_fail
;
45770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45778 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45779 PyObject
*resultobj
= 0;
45780 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45781 wxWindow
*result
= 0 ;
45784 PyObject
*swig_obj
[1] ;
45786 if (!args
) SWIG_fail
;
45787 swig_obj
[0] = args
;
45788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45789 if (!SWIG_IsOK(res1
)) {
45790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45792 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45795 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45796 wxPyEndAllowThreads(__tstate
);
45797 if (PyErr_Occurred()) SWIG_fail
;
45800 resultobj
= wxPyMake_wxObject(result
, 0);
45808 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45811 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45812 return SWIG_Py_Void();
45815 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45816 return SWIG_Python_InitShadowInstance(args
);
45819 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45820 PyObject
*resultobj
= 0;
45821 wxObject
*arg1
= (wxObject
*) 0 ;
45824 wxCollapsiblePaneEvent
*result
= 0 ;
45831 PyObject
* obj0
= 0 ;
45832 PyObject
* obj1
= 0 ;
45833 PyObject
* obj2
= 0 ;
45834 char * kwnames
[] = {
45835 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45840 if (!SWIG_IsOK(res1
)) {
45841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45843 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45845 if (!SWIG_IsOK(ecode2
)) {
45846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45848 arg2
= static_cast< int >(val2
);
45849 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45850 if (!SWIG_IsOK(ecode3
)) {
45851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45853 arg3
= static_cast< bool >(val3
);
45855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45856 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45857 wxPyEndAllowThreads(__tstate
);
45858 if (PyErr_Occurred()) SWIG_fail
;
45860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45867 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45868 PyObject
*resultobj
= 0;
45869 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45873 PyObject
*swig_obj
[1] ;
45875 if (!args
) SWIG_fail
;
45876 swig_obj
[0] = args
;
45877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45878 if (!SWIG_IsOK(res1
)) {
45879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45881 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45884 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45885 wxPyEndAllowThreads(__tstate
);
45886 if (PyErr_Occurred()) SWIG_fail
;
45889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45897 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45898 PyObject
*resultobj
= 0;
45899 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45905 PyObject
* obj0
= 0 ;
45906 PyObject
* obj1
= 0 ;
45907 char * kwnames
[] = {
45908 (char *) "self",(char *) "c", NULL
45911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45913 if (!SWIG_IsOK(res1
)) {
45914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45916 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45917 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45918 if (!SWIG_IsOK(ecode2
)) {
45919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45921 arg2
= static_cast< bool >(val2
);
45923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45924 (arg1
)->SetCollapsed(arg2
);
45925 wxPyEndAllowThreads(__tstate
);
45926 if (PyErr_Occurred()) SWIG_fail
;
45928 resultobj
= SWIG_Py_Void();
45935 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45938 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
45939 return SWIG_Py_Void();
45942 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45943 return SWIG_Python_InitShadowInstance(args
);
45946 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
45947 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
45952 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
45953 PyObject
*pyobj
= 0;
45957 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
45959 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
45966 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45967 PyObject
*resultobj
= 0;
45968 wxWindow
*arg1
= (wxWindow
*) 0 ;
45969 int arg2
= (int) -1 ;
45970 wxString
const &arg3_defvalue
= wxEmptyString
;
45971 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45976 long arg6
= (long) 0 ;
45977 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45978 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45979 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
45980 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45981 wxSearchCtrl
*result
= 0 ;
45986 bool temp3
= false ;
45993 bool temp8
= false ;
45994 PyObject
* obj0
= 0 ;
45995 PyObject
* obj1
= 0 ;
45996 PyObject
* obj2
= 0 ;
45997 PyObject
* obj3
= 0 ;
45998 PyObject
* obj4
= 0 ;
45999 PyObject
* obj5
= 0 ;
46000 PyObject
* obj6
= 0 ;
46001 PyObject
* obj7
= 0 ;
46002 char * kwnames
[] = {
46003 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46008 if (!SWIG_IsOK(res1
)) {
46009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46014 if (!SWIG_IsOK(ecode2
)) {
46015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46017 arg2
= static_cast< int >(val2
);
46021 arg3
= wxString_in_helper(obj2
);
46022 if (arg3
== NULL
) SWIG_fail
;
46029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46035 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46039 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46040 if (!SWIG_IsOK(ecode6
)) {
46041 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46043 arg6
= static_cast< long >(val6
);
46046 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46047 if (!SWIG_IsOK(res7
)) {
46048 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46053 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46057 arg8
= wxString_in_helper(obj7
);
46058 if (arg8
== NULL
) SWIG_fail
;
46063 if (!wxPyCheckForApp()) SWIG_fail
;
46064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46065 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46066 wxPyEndAllowThreads(__tstate
);
46067 if (PyErr_Occurred()) SWIG_fail
;
46069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46092 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46093 PyObject
*resultobj
= 0;
46094 wxSearchCtrl
*result
= 0 ;
46096 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46098 if (!wxPyCheckForApp()) SWIG_fail
;
46099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46100 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46101 wxPyEndAllowThreads(__tstate
);
46102 if (PyErr_Occurred()) SWIG_fail
;
46104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46111 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46112 PyObject
*resultobj
= 0;
46113 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46114 wxWindow
*arg2
= (wxWindow
*) 0 ;
46115 int arg3
= (int) -1 ;
46116 wxString
const &arg4_defvalue
= wxEmptyString
;
46117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46118 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46119 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46120 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46121 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46122 long arg7
= (long) 0 ;
46123 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46124 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46125 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46126 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46134 bool temp4
= false ;
46141 bool temp9
= false ;
46142 PyObject
* obj0
= 0 ;
46143 PyObject
* obj1
= 0 ;
46144 PyObject
* obj2
= 0 ;
46145 PyObject
* obj3
= 0 ;
46146 PyObject
* obj4
= 0 ;
46147 PyObject
* obj5
= 0 ;
46148 PyObject
* obj6
= 0 ;
46149 PyObject
* obj7
= 0 ;
46150 PyObject
* obj8
= 0 ;
46151 char * kwnames
[] = {
46152 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46157 if (!SWIG_IsOK(res1
)) {
46158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46160 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46162 if (!SWIG_IsOK(res2
)) {
46163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46165 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46168 if (!SWIG_IsOK(ecode3
)) {
46169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46171 arg3
= static_cast< int >(val3
);
46175 arg4
= wxString_in_helper(obj3
);
46176 if (arg4
== NULL
) SWIG_fail
;
46183 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46189 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46193 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46194 if (!SWIG_IsOK(ecode7
)) {
46195 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46197 arg7
= static_cast< long >(val7
);
46200 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46201 if (!SWIG_IsOK(res8
)) {
46202 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46207 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46211 arg9
= wxString_in_helper(obj8
);
46212 if (arg9
== NULL
) SWIG_fail
;
46217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46218 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46219 wxPyEndAllowThreads(__tstate
);
46220 if (PyErr_Occurred()) SWIG_fail
;
46223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46247 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46248 PyObject
*resultobj
= 0;
46249 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46250 wxMenu
*arg2
= (wxMenu
*) 0 ;
46255 PyObject
* obj0
= 0 ;
46256 PyObject
* obj1
= 0 ;
46257 char * kwnames
[] = {
46258 (char *) "self",(char *) "menu", NULL
46261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46263 if (!SWIG_IsOK(res1
)) {
46264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46266 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46268 if (!SWIG_IsOK(res2
)) {
46269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46271 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46274 (arg1
)->SetMenu(arg2
);
46275 wxPyEndAllowThreads(__tstate
);
46276 if (PyErr_Occurred()) SWIG_fail
;
46278 resultobj
= SWIG_Py_Void();
46285 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46286 PyObject
*resultobj
= 0;
46287 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46288 wxMenu
*result
= 0 ;
46291 PyObject
*swig_obj
[1] ;
46293 if (!args
) SWIG_fail
;
46294 swig_obj
[0] = args
;
46295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46296 if (!SWIG_IsOK(res1
)) {
46297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46299 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46302 result
= (wxMenu
*)(arg1
)->GetMenu();
46303 wxPyEndAllowThreads(__tstate
);
46304 if (PyErr_Occurred()) SWIG_fail
;
46307 resultobj
= wxPyMake_wxObject(result
, 0);
46315 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46316 PyObject
*resultobj
= 0;
46317 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46323 PyObject
* obj0
= 0 ;
46324 PyObject
* obj1
= 0 ;
46325 char * kwnames
[] = {
46326 (char *) "self",(char *) "show", NULL
46329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46331 if (!SWIG_IsOK(res1
)) {
46332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46334 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46336 if (!SWIG_IsOK(ecode2
)) {
46337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46339 arg2
= static_cast< bool >(val2
);
46341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46342 (arg1
)->SetSearchButtonVisible(arg2
);
46343 wxPyEndAllowThreads(__tstate
);
46344 if (PyErr_Occurred()) SWIG_fail
;
46346 resultobj
= SWIG_Py_Void();
46353 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46354 PyObject
*resultobj
= 0;
46355 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46359 PyObject
*swig_obj
[1] ;
46361 if (!args
) SWIG_fail
;
46362 swig_obj
[0] = args
;
46363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46364 if (!SWIG_IsOK(res1
)) {
46365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46367 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46370 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetSearchButtonVisible();
46371 wxPyEndAllowThreads(__tstate
);
46372 if (PyErr_Occurred()) SWIG_fail
;
46375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46383 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46384 PyObject
*resultobj
= 0;
46385 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46391 PyObject
* obj0
= 0 ;
46392 PyObject
* obj1
= 0 ;
46393 char * kwnames
[] = {
46394 (char *) "self",(char *) "show", NULL
46397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46399 if (!SWIG_IsOK(res1
)) {
46400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46402 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46403 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46404 if (!SWIG_IsOK(ecode2
)) {
46405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46407 arg2
= static_cast< bool >(val2
);
46409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46410 (arg1
)->SetCancelButtonVisible(arg2
);
46411 wxPyEndAllowThreads(__tstate
);
46412 if (PyErr_Occurred()) SWIG_fail
;
46414 resultobj
= SWIG_Py_Void();
46421 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46422 PyObject
*resultobj
= 0;
46423 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46427 PyObject
*swig_obj
[1] ;
46429 if (!args
) SWIG_fail
;
46430 swig_obj
[0] = args
;
46431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46432 if (!SWIG_IsOK(res1
)) {
46433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46435 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46438 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetCancelButtonVisible();
46439 wxPyEndAllowThreads(__tstate
);
46440 if (PyErr_Occurred()) SWIG_fail
;
46443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46451 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46452 PyObject
*resultobj
= 0;
46453 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46454 wxBitmap
*arg2
= 0 ;
46459 PyObject
* obj0
= 0 ;
46460 PyObject
* obj1
= 0 ;
46461 char * kwnames
[] = {
46462 (char *) "self",(char *)"arg2", NULL
46465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46467 if (!SWIG_IsOK(res1
)) {
46468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46470 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46472 if (!SWIG_IsOK(res2
)) {
46473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46478 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46481 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46482 wxPyEndAllowThreads(__tstate
);
46483 if (PyErr_Occurred()) SWIG_fail
;
46485 resultobj
= SWIG_Py_Void();
46492 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46493 PyObject
*resultobj
= 0;
46494 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46495 wxBitmap
*arg2
= 0 ;
46500 PyObject
* obj0
= 0 ;
46501 PyObject
* obj1
= 0 ;
46502 char * kwnames
[] = {
46503 (char *) "self",(char *)"arg2", NULL
46506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46508 if (!SWIG_IsOK(res1
)) {
46509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46511 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46513 if (!SWIG_IsOK(res2
)) {
46514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46519 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46522 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
46523 wxPyEndAllowThreads(__tstate
);
46524 if (PyErr_Occurred()) SWIG_fail
;
46526 resultobj
= SWIG_Py_Void();
46533 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46534 PyObject
*resultobj
= 0;
46535 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46536 wxBitmap
*arg2
= 0 ;
46541 PyObject
* obj0
= 0 ;
46542 PyObject
* obj1
= 0 ;
46543 char * kwnames
[] = {
46544 (char *) "self",(char *)"arg2", NULL
46547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46549 if (!SWIG_IsOK(res1
)) {
46550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46552 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46554 if (!SWIG_IsOK(res2
)) {
46555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46560 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46563 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
46564 wxPyEndAllowThreads(__tstate
);
46565 if (PyErr_Occurred()) SWIG_fail
;
46567 resultobj
= SWIG_Py_Void();
46574 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46577 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46578 return SWIG_Py_Void();
46581 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46582 return SWIG_Python_InitShadowInstance(args
);
46585 static PyMethodDef SwigMethods
[] = {
46586 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46588 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46590 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46591 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46593 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46594 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46596 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46598 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46599 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46600 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46601 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46602 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46609 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46610 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46611 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46612 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46614 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46616 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46617 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46619 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46621 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46622 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46624 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46625 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46627 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46629 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46631 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46632 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46634 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46636 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46638 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46639 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46640 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46642 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46643 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46646 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46649 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46651 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46652 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46653 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46654 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46655 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46656 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46657 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46658 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46659 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46661 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46662 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46664 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46667 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46669 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46670 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46671 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46673 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46675 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46677 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46678 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46680 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46683 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46684 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46686 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46688 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46689 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46691 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46692 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46694 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46698 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46699 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46701 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46703 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46707 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46708 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46710 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46721 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46726 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46732 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46733 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46735 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46739 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46740 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46742 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46743 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46753 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46754 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46755 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46756 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46757 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46758 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46759 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46760 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46761 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46762 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46763 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46764 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46765 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46766 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46767 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46768 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46769 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46770 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46772 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46773 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46775 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46777 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46779 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46784 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46785 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46786 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46787 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46788 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46789 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46790 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46791 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46796 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46797 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46806 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46812 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46813 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46814 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46815 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46816 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46817 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46818 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46819 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46820 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46821 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46823 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46824 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46825 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46827 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46830 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46834 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46835 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46837 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46838 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46839 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46840 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46841 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46843 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46844 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46845 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46846 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46847 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46848 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46849 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46852 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46853 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46855 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46857 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46858 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46859 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46864 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46866 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46867 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46869 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46871 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46875 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46876 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46879 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46880 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46882 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46884 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46885 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46887 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46890 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46891 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46893 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46901 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46902 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46909 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46910 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46912 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46914 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46917 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46918 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46920 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46922 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46925 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46926 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46931 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46932 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46934 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46936 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46937 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46939 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46940 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46941 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46944 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46945 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46947 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46950 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46952 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46953 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46954 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46956 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46957 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46962 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46967 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46969 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46971 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46973 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46974 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46977 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46984 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46985 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46987 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46989 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46991 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46992 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46994 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46996 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46999 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47003 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47004 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47006 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47007 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47009 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47011 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47012 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47013 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47015 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47016 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47018 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47020 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47021 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47022 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47024 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47025 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47027 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47035 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47036 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47037 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47039 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47040 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47042 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47044 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47045 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47046 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47047 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47049 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47050 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47051 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47052 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47053 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47054 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47055 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47056 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47057 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47058 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47059 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47060 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47061 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47062 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47063 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47064 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47065 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47066 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47067 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47069 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47076 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47078 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47080 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47088 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47091 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47093 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47094 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47111 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47112 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47113 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47114 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47117 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47118 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47120 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47121 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47124 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47125 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47126 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47128 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47131 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47132 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47134 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47138 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47139 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47140 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47141 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47142 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47143 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47145 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47146 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47147 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47148 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47149 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47150 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47151 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47165 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47166 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47167 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47168 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47169 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47170 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47171 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47172 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47173 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47174 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47175 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47176 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47177 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47178 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47179 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47180 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47181 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47182 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47183 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47184 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47185 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47186 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47187 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47188 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47189 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47190 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47191 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47192 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47193 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47194 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47195 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47196 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47197 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47198 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47199 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47200 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47202 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47203 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47204 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47205 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47206 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47207 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47208 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47209 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47210 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47211 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47212 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47213 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47214 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47215 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47216 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47217 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47218 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47219 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47220 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47221 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47222 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47223 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47224 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47225 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47227 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47228 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47230 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47237 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47238 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47239 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47254 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47255 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47256 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47258 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47259 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47261 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47265 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47267 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47268 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47273 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47275 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47276 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47296 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47298 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47299 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47301 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47302 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47304 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47308 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47310 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47313 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47314 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47315 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47316 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47317 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47318 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47321 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47322 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47323 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47324 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47326 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47327 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47328 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47329 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47330 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47331 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47332 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47333 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47334 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47335 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47337 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47339 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47341 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47342 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47344 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47346 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47348 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47349 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47350 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47351 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47353 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47356 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47357 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47359 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47361 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47362 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47366 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47371 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47374 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47388 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47390 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47391 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47392 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47396 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47399 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47401 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47409 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47412 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47416 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47418 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47424 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47430 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47431 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47432 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47434 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47435 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47437 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47438 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47440 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47441 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47444 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47445 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47447 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47449 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47450 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47451 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47453 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47454 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47455 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47456 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47458 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47461 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47462 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47464 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47470 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47471 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47472 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47473 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47474 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47475 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47476 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47477 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47478 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47479 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47481 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47483 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47484 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47485 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47487 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47489 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47490 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47492 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47493 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47494 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47495 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47496 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47498 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47499 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47500 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47502 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47503 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47506 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47509 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47510 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47511 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47512 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47513 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47519 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47522 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47523 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47525 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47526 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47527 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47530 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47531 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47532 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47533 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47534 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47536 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47537 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47538 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47539 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47540 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47541 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47542 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47544 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47545 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47546 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47547 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47548 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47550 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47552 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47553 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47555 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47556 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47557 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47559 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47561 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47562 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47565 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47567 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47569 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47570 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47571 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47572 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47574 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47575 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47576 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47577 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47579 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47581 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47583 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47584 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47586 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47588 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47589 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47591 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47593 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47596 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47597 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47598 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47600 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47602 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47605 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47606 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47607 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47609 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47611 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47612 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47614 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47616 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47617 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47619 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47620 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47621 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47622 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47623 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47625 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47626 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47628 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47631 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47632 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47633 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47634 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47635 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47636 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47637 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47638 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47640 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47641 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47643 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47646 { (char *)"SearchCtrl_SetSearchButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetSearchButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47647 { (char *)"SearchCtrl_GetSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetSearchButtonVisible
, METH_O
, NULL
},
47648 { (char *)"SearchCtrl_SetCancelButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetCancelButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"SearchCtrl_GetCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetCancelButtonVisible
, METH_O
, NULL
},
47650 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47651 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47652 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47654 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47655 { NULL
, NULL
, 0, NULL
}
47659 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47661 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47664 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47665 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47667 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47668 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47670 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47671 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47673 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47674 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47676 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47677 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47679 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47680 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47682 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47683 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47685 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47688 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47691 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47692 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47694 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47695 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47697 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47700 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47703 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47704 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47706 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47707 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47709 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47710 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47712 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47713 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47715 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47716 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47718 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47719 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47721 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47722 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47724 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47725 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47727 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47728 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47730 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47733 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47734 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47736 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47739 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47740 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47742 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47743 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47745 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47746 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47748 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47749 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47751 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47752 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47754 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47755 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47757 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47760 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47763 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47764 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47766 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47767 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47769 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47772 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47775 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47776 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47778 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47779 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47781 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47782 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47784 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47785 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47787 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47788 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47790 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47791 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47793 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47794 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47796 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47797 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47799 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47800 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47802 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47803 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47805 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47806 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47808 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47809 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47811 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47812 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47814 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47815 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47817 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47818 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47820 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47821 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47823 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47824 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47826 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47827 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47829 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47830 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47832 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47833 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47835 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47836 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47838 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47839 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47841 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47842 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47844 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47845 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47847 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47848 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47850 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47851 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47853 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47854 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47856 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47857 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47859 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47860 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47862 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47863 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47865 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47866 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47868 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47869 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47871 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47872 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47874 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
47875 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
47877 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47878 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47880 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47881 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47883 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47884 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47886 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47887 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47889 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47890 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47892 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47893 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47895 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47896 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47898 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47899 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47901 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47902 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47904 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47905 return (void *)((wxControl
*) ((wxGauge
*) x
));
47907 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47908 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47910 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47911 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47913 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47914 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47916 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47917 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47919 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47920 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47922 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47923 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47925 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47926 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47928 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47929 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47931 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47932 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47934 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47935 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47937 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47938 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47940 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47941 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47943 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47944 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47946 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47947 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47949 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47950 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47952 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47953 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47955 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47956 return (void *)((wxControl
*) ((wxSlider
*) x
));
47958 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47959 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47961 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47962 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47964 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47965 return (void *)((wxControl
*) ((wxButton
*) x
));
47967 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47968 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47970 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47971 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47973 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47974 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47976 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47977 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47979 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47980 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47982 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47983 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47985 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47986 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47988 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47989 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47991 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47992 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47994 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47995 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47997 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
47998 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48000 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48001 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48003 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48004 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48006 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48007 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48009 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48010 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48012 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48013 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48015 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48016 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48018 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48019 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48021 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48022 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48024 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48025 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48027 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48028 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48030 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48031 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48033 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48034 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48036 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48037 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48039 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48040 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48042 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48045 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48046 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48048 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48051 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48052 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48054 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48055 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48057 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48060 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48063 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48064 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48066 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48069 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48072 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48075 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48078 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48079 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48081 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48082 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48084 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48087 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48090 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48093 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48096 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48099 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48100 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48102 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48105 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48108 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48111 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48114 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48117 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48120 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48123 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48126 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48129 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48132 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48135 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48138 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48141 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48144 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48147 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48150 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48153 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48156 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48159 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48162 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48165 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48168 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48171 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48174 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48177 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48180 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48183 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48186 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48189 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48192 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48195 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48198 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48199 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48201 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48202 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48204 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48205 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48207 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48208 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48210 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48211 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48213 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48214 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48216 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48219 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48220 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48222 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48223 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48225 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48228 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48229 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48231 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48232 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48234 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48235 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48237 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48238 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48240 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48241 return (void *)((wxObject
*) ((wxSizer
*) x
));
48243 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48244 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48246 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48249 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48252 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48255 static void *_p_wxEventTo_p_wxObject(void *x
) {
48256 return (void *)((wxObject
*) ((wxEvent
*) x
));
48258 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48259 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48261 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48262 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48264 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48267 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48268 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48270 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48273 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48276 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48279 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48282 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48285 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48286 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48288 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48289 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48291 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48292 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48294 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48295 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48297 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48298 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48300 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48301 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48303 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48306 static void *_p_wxControlTo_p_wxObject(void *x
) {
48307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48309 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48312 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48315 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48318 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48321 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48324 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48325 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48327 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48330 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48333 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48336 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48339 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48340 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48342 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48343 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48345 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48348 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48351 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48354 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48357 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48360 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48361 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48363 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48364 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48366 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48369 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48372 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48373 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48375 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48378 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48381 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48382 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48384 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48385 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48387 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48388 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48390 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48393 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48394 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48396 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48397 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48399 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48400 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48402 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48403 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48405 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48406 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48408 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48409 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48411 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48414 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48415 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48417 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48420 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48423 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48426 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48429 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48432 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48435 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48438 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48439 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48441 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48442 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48444 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48445 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48447 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48448 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48450 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48453 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48454 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48456 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48459 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48462 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48465 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48466 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48468 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48469 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48471 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48474 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48477 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48480 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48483 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48486 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48489 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48492 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48493 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48495 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48496 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48498 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48501 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48504 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48507 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48510 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48511 return (void *)((wxObject
*) ((wxListItem
*) x
));
48513 static void *_p_wxImageTo_p_wxObject(void *x
) {
48514 return (void *)((wxObject
*) ((wxImage
*) x
));
48516 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48517 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48519 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48520 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48522 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48523 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48525 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48528 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48531 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48534 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48537 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48540 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48543 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48546 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48547 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48549 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48550 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48552 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48553 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48555 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48556 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48558 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48561 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48562 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48564 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48567 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48570 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48571 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48573 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48574 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48576 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48577 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48579 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48580 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48582 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48583 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48585 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48588 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48591 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48594 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48595 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48597 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48600 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48601 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48603 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48604 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48606 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48609 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48612 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48615 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48618 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48621 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48624 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48627 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48630 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48631 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48633 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48636 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48639 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48640 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48642 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48643 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48645 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48646 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48648 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48649 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48651 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48652 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48654 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48655 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48657 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48658 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48660 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48661 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48663 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48664 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48666 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48667 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48669 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48670 return (void *)((wxWindow
*) ((wxControl
*) x
));
48672 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48673 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48675 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48676 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48678 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48679 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48681 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48682 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48684 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48685 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48687 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48688 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48690 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48691 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48693 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48694 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48696 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48697 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48699 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48700 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48702 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48703 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48705 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48706 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48708 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48709 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48711 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48712 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48714 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48715 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48717 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48718 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48720 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48721 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48723 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48724 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48726 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48727 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48729 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48730 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48732 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48733 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48735 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48736 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48738 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48739 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48741 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48742 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48744 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48745 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48747 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48748 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48750 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48751 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48753 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48754 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48756 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48757 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48759 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48760 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48762 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48763 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48765 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48766 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48768 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48769 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48771 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48772 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48774 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48775 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48777 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48778 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48780 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48781 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48783 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48784 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48786 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48787 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48789 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48790 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48792 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48793 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48795 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48796 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48798 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48799 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48801 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48802 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48804 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48805 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48807 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48808 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48810 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48811 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48813 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48814 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48816 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48817 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48819 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48820 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48822 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48823 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48825 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48826 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48828 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48829 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48831 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48832 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48834 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48835 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48837 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48838 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48840 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48841 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48843 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48844 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48846 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48847 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48849 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48850 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48852 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48853 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48855 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48856 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48858 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48859 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48861 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48862 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48864 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48865 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48867 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48868 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48870 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48871 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48873 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48874 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48876 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48877 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48879 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48880 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48882 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48883 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48885 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48886 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48888 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48889 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48891 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48892 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48893 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};
48894 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48895 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48896 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48897 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48898 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48899 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48900 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48901 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48902 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48903 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48904 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48905 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48906 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48907 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48908 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48909 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48910 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48911 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48912 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48913 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48914 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48915 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48916 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48917 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48918 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48919 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48920 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48921 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48922 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48923 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48924 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48925 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48926 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48927 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48928 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48929 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48930 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48931 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48932 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48933 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48934 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48935 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48936 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48937 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48938 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48939 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48940 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48941 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48942 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48943 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48944 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48945 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48946 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48947 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48948 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48949 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48950 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48951 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48952 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48953 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48954 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48955 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48956 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48957 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48958 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48959 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48960 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48961 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48962 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48963 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48964 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48965 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48966 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48967 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48968 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48969 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48970 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48971 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48972 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48973 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48974 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48975 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48976 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48977 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48978 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48979 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48980 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48981 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48982 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48983 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48984 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48985 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48986 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48987 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48988 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48989 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48990 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48991 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48992 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48993 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
48994 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48995 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48996 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48997 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48998 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48999 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49000 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49001 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49002 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49003 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49004 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49005 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49006 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49007 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49008 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49009 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49010 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49011 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49012 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49013 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49014 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49015 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49016 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49017 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49018 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49019 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49020 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49021 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49022 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49023 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49024 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49025 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49026 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49027 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49028 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49029 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49030 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49031 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49032 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49033 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49034 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49035 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49036 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49037 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49038 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49039 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49040 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49041 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49042 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49043 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49044 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49045 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49046 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49047 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49048 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49049 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49050 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49051 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49052 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49053 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49054 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49055 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49056 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49057 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49058 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49059 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49060 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49061 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49062 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49063 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49064 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49065 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49066 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49067 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49068 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49069 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49071 static swig_type_info
*swig_type_initial
[] = {
49074 &_swigt__p_form_ops_t
,
49077 &_swigt__p_unsigned_char
,
49078 &_swigt__p_unsigned_int
,
49079 &_swigt__p_unsigned_long
,
49081 &_swigt__p_wxANIHandler
,
49082 &_swigt__p_wxAcceleratorTable
,
49083 &_swigt__p_wxActivateEvent
,
49084 &_swigt__p_wxArrayInt
,
49085 &_swigt__p_wxArrayString
,
49086 &_swigt__p_wxBMPHandler
,
49087 &_swigt__p_wxBitmap
,
49088 &_swigt__p_wxBitmapButton
,
49089 &_swigt__p_wxBookCtrlBase
,
49090 &_swigt__p_wxBookCtrlBaseEvent
,
49091 &_swigt__p_wxBoxSizer
,
49092 &_swigt__p_wxButton
,
49093 &_swigt__p_wxCURHandler
,
49094 &_swigt__p_wxCheckBox
,
49095 &_swigt__p_wxCheckListBox
,
49096 &_swigt__p_wxChildFocusEvent
,
49097 &_swigt__p_wxChoice
,
49098 &_swigt__p_wxChoicebook
,
49099 &_swigt__p_wxChoicebookEvent
,
49100 &_swigt__p_wxClipboardTextEvent
,
49101 &_swigt__p_wxCloseEvent
,
49102 &_swigt__p_wxCollapsiblePane
,
49103 &_swigt__p_wxCollapsiblePaneEvent
,
49104 &_swigt__p_wxColour
,
49105 &_swigt__p_wxColourPickerCtrl
,
49106 &_swigt__p_wxColourPickerEvent
,
49107 &_swigt__p_wxComboBox
,
49108 &_swigt__p_wxCommandEvent
,
49109 &_swigt__p_wxContextHelp
,
49110 &_swigt__p_wxContextHelpButton
,
49111 &_swigt__p_wxContextMenuEvent
,
49112 &_swigt__p_wxControl
,
49113 &_swigt__p_wxControlWithItems
,
49114 &_swigt__p_wxCursor
,
49116 &_swigt__p_wxDateEvent
,
49117 &_swigt__p_wxDatePickerCtrl
,
49118 &_swigt__p_wxDateTime
,
49119 &_swigt__p_wxDirFilterListCtrl
,
49120 &_swigt__p_wxDirPickerCtrl
,
49121 &_swigt__p_wxDisplayChangedEvent
,
49122 &_swigt__p_wxDropFilesEvent
,
49123 &_swigt__p_wxDuplexMode
,
49124 &_swigt__p_wxEraseEvent
,
49125 &_swigt__p_wxEvent
,
49126 &_swigt__p_wxEvtHandler
,
49127 &_swigt__p_wxFSFile
,
49128 &_swigt__p_wxFileDirPickerEvent
,
49129 &_swigt__p_wxFilePickerCtrl
,
49130 &_swigt__p_wxFileSystem
,
49131 &_swigt__p_wxFlexGridSizer
,
49132 &_swigt__p_wxFocusEvent
,
49134 &_swigt__p_wxFontPickerCtrl
,
49135 &_swigt__p_wxFontPickerEvent
,
49136 &_swigt__p_wxGBSizerItem
,
49137 &_swigt__p_wxGIFHandler
,
49138 &_swigt__p_wxGauge
,
49139 &_swigt__p_wxGenericDirCtrl
,
49140 &_swigt__p_wxGenericDragImage
,
49141 &_swigt__p_wxGridBagSizer
,
49142 &_swigt__p_wxGridSizer
,
49143 &_swigt__p_wxHelpEvent
,
49144 &_swigt__p_wxHelpProvider
,
49145 &_swigt__p_wxHyperlinkCtrl
,
49146 &_swigt__p_wxHyperlinkEvent
,
49147 &_swigt__p_wxICOHandler
,
49149 &_swigt__p_wxIconizeEvent
,
49150 &_swigt__p_wxIdleEvent
,
49151 &_swigt__p_wxImage
,
49152 &_swigt__p_wxImageHandler
,
49153 &_swigt__p_wxImageList
,
49154 &_swigt__p_wxIndividualLayoutConstraint
,
49155 &_swigt__p_wxInitDialogEvent
,
49156 &_swigt__p_wxItemContainer
,
49157 &_swigt__p_wxJPEGHandler
,
49158 &_swigt__p_wxKeyEvent
,
49159 &_swigt__p_wxLayoutConstraints
,
49160 &_swigt__p_wxListBox
,
49161 &_swigt__p_wxListEvent
,
49162 &_swigt__p_wxListItem
,
49163 &_swigt__p_wxListItemAttr
,
49164 &_swigt__p_wxListView
,
49165 &_swigt__p_wxListbook
,
49166 &_swigt__p_wxListbookEvent
,
49167 &_swigt__p_wxMaximizeEvent
,
49168 &_swigt__p_wxMemoryDC
,
49170 &_swigt__p_wxMenuBar
,
49171 &_swigt__p_wxMenuEvent
,
49172 &_swigt__p_wxMenuItem
,
49173 &_swigt__p_wxMouseCaptureChangedEvent
,
49174 &_swigt__p_wxMouseCaptureLostEvent
,
49175 &_swigt__p_wxMouseEvent
,
49176 &_swigt__p_wxMoveEvent
,
49177 &_swigt__p_wxNavigationKeyEvent
,
49178 &_swigt__p_wxNcPaintEvent
,
49179 &_swigt__p_wxNotebook
,
49180 &_swigt__p_wxNotebookEvent
,
49181 &_swigt__p_wxNotifyEvent
,
49182 &_swigt__p_wxObject
,
49183 &_swigt__p_wxPCXHandler
,
49184 &_swigt__p_wxPNGHandler
,
49185 &_swigt__p_wxPNMHandler
,
49186 &_swigt__p_wxPaintEvent
,
49187 &_swigt__p_wxPaletteChangedEvent
,
49188 &_swigt__p_wxPaperSize
,
49189 &_swigt__p_wxPickerBase
,
49190 &_swigt__p_wxPoint
,
49191 &_swigt__p_wxPyApp
,
49192 &_swigt__p_wxPyCommandEvent
,
49193 &_swigt__p_wxPyControl
,
49194 &_swigt__p_wxPyEvent
,
49195 &_swigt__p_wxPyImageHandler
,
49196 &_swigt__p_wxPyListCtrl
,
49197 &_swigt__p_wxPySizer
,
49198 &_swigt__p_wxPyTreeCtrl
,
49199 &_swigt__p_wxPyTreeItemData
,
49200 &_swigt__p_wxPyValidator
,
49201 &_swigt__p_wxQueryNewPaletteEvent
,
49202 &_swigt__p_wxRadioBox
,
49203 &_swigt__p_wxRadioButton
,
49205 &_swigt__p_wxScrollBar
,
49206 &_swigt__p_wxScrollEvent
,
49207 &_swigt__p_wxScrollWinEvent
,
49208 &_swigt__p_wxSearchCtrl
,
49209 &_swigt__p_wxSetCursorEvent
,
49210 &_swigt__p_wxShowEvent
,
49211 &_swigt__p_wxSimpleHelpProvider
,
49213 &_swigt__p_wxSizeEvent
,
49214 &_swigt__p_wxSizer
,
49215 &_swigt__p_wxSizerItem
,
49216 &_swigt__p_wxSlider
,
49217 &_swigt__p_wxSpinButton
,
49218 &_swigt__p_wxSpinCtrl
,
49219 &_swigt__p_wxSpinEvent
,
49220 &_swigt__p_wxStaticBitmap
,
49221 &_swigt__p_wxStaticBox
,
49222 &_swigt__p_wxStaticBoxSizer
,
49223 &_swigt__p_wxStaticLine
,
49224 &_swigt__p_wxStaticText
,
49225 &_swigt__p_wxStdDialogButtonSizer
,
49226 &_swigt__p_wxString
,
49227 &_swigt__p_wxSysColourChangedEvent
,
49228 &_swigt__p_wxTGAHandler
,
49229 &_swigt__p_wxTIFFHandler
,
49230 &_swigt__p_wxTextAttr
,
49231 &_swigt__p_wxTextCtrl
,
49232 &_swigt__p_wxTextUrlEvent
,
49233 &_swigt__p_wxToggleButton
,
49234 &_swigt__p_wxToolBar
,
49235 &_swigt__p_wxToolBarBase
,
49236 &_swigt__p_wxToolBarToolBase
,
49237 &_swigt__p_wxToolbook
,
49238 &_swigt__p_wxToolbookEvent
,
49239 &_swigt__p_wxTreeEvent
,
49240 &_swigt__p_wxTreeItemId
,
49241 &_swigt__p_wxTreebook
,
49242 &_swigt__p_wxTreebookEvent
,
49243 &_swigt__p_wxUpdateUIEvent
,
49244 &_swigt__p_wxValidator
,
49245 &_swigt__p_wxVisualAttributes
,
49246 &_swigt__p_wxWindow
,
49247 &_swigt__p_wxWindowBase
,
49248 &_swigt__p_wxWindowCreateEvent
,
49249 &_swigt__p_wxWindowDestroyEvent
,
49250 &_swigt__p_wxXPMHandler
,
49253 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49254 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49255 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49256 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49257 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49258 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49259 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49260 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49261 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49262 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49263 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49264 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49265 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}};
49266 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}};
49267 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}};
49268 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}};
49269 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49270 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49271 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}};
49272 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49273 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49274 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49275 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49276 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49277 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49278 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49279 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49280 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49281 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49282 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49283 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49284 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49285 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49286 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49287 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49288 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49289 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
49290 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49291 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49292 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
49293 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}};
49294 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49295 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49296 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49297 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49298 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49299 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49300 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49301 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49302 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49303 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49304 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49305 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49306 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49307 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49308 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49309 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49310 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49311 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49312 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49313 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49314 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49315 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49316 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49317 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49318 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49319 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49320 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49321 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49322 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49323 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49324 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49325 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49326 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
49327 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49328 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49329 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49330 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49331 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49332 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49333 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49334 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49335 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49336 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49337 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49338 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49339 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49340 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}};
49341 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49342 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49343 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49344 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49345 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}};
49346 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49347 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}};
49348 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49349 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49350 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49351 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49352 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49353 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49354 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49355 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49356 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49357 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49358 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49359 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}};
49360 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49361 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49362 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49363 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49364 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49365 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49366 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49367 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49368 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49369 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49370 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49371 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49372 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49373 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49374 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49375 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49376 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49377 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49378 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49379 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49380 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49381 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49382 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49383 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49384 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49385 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49386 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49387 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49388 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49389 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49390 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49391 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49392 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49393 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}};
49394 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49395 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49396 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}};
49397 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49398 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49399 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49400 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49401 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49402 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49403 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49404 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49405 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49406 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49407 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49408 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49409 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49410 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49411 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49412 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49413 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49414 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49415 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49416 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49417 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49418 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49419 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49420 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}};
49421 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49422 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49423 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49424 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49425 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49426 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49427 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49428 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}};
49429 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49430 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
49431 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49433 static swig_cast_info
*swig_cast_initial
[] = {
49436 _swigc__p_form_ops_t
,
49439 _swigc__p_unsigned_char
,
49440 _swigc__p_unsigned_int
,
49441 _swigc__p_unsigned_long
,
49443 _swigc__p_wxANIHandler
,
49444 _swigc__p_wxAcceleratorTable
,
49445 _swigc__p_wxActivateEvent
,
49446 _swigc__p_wxArrayInt
,
49447 _swigc__p_wxArrayString
,
49448 _swigc__p_wxBMPHandler
,
49449 _swigc__p_wxBitmap
,
49450 _swigc__p_wxBitmapButton
,
49451 _swigc__p_wxBookCtrlBase
,
49452 _swigc__p_wxBookCtrlBaseEvent
,
49453 _swigc__p_wxBoxSizer
,
49454 _swigc__p_wxButton
,
49455 _swigc__p_wxCURHandler
,
49456 _swigc__p_wxCheckBox
,
49457 _swigc__p_wxCheckListBox
,
49458 _swigc__p_wxChildFocusEvent
,
49459 _swigc__p_wxChoice
,
49460 _swigc__p_wxChoicebook
,
49461 _swigc__p_wxChoicebookEvent
,
49462 _swigc__p_wxClipboardTextEvent
,
49463 _swigc__p_wxCloseEvent
,
49464 _swigc__p_wxCollapsiblePane
,
49465 _swigc__p_wxCollapsiblePaneEvent
,
49466 _swigc__p_wxColour
,
49467 _swigc__p_wxColourPickerCtrl
,
49468 _swigc__p_wxColourPickerEvent
,
49469 _swigc__p_wxComboBox
,
49470 _swigc__p_wxCommandEvent
,
49471 _swigc__p_wxContextHelp
,
49472 _swigc__p_wxContextHelpButton
,
49473 _swigc__p_wxContextMenuEvent
,
49474 _swigc__p_wxControl
,
49475 _swigc__p_wxControlWithItems
,
49476 _swigc__p_wxCursor
,
49478 _swigc__p_wxDateEvent
,
49479 _swigc__p_wxDatePickerCtrl
,
49480 _swigc__p_wxDateTime
,
49481 _swigc__p_wxDirFilterListCtrl
,
49482 _swigc__p_wxDirPickerCtrl
,
49483 _swigc__p_wxDisplayChangedEvent
,
49484 _swigc__p_wxDropFilesEvent
,
49485 _swigc__p_wxDuplexMode
,
49486 _swigc__p_wxEraseEvent
,
49488 _swigc__p_wxEvtHandler
,
49489 _swigc__p_wxFSFile
,
49490 _swigc__p_wxFileDirPickerEvent
,
49491 _swigc__p_wxFilePickerCtrl
,
49492 _swigc__p_wxFileSystem
,
49493 _swigc__p_wxFlexGridSizer
,
49494 _swigc__p_wxFocusEvent
,
49496 _swigc__p_wxFontPickerCtrl
,
49497 _swigc__p_wxFontPickerEvent
,
49498 _swigc__p_wxGBSizerItem
,
49499 _swigc__p_wxGIFHandler
,
49501 _swigc__p_wxGenericDirCtrl
,
49502 _swigc__p_wxGenericDragImage
,
49503 _swigc__p_wxGridBagSizer
,
49504 _swigc__p_wxGridSizer
,
49505 _swigc__p_wxHelpEvent
,
49506 _swigc__p_wxHelpProvider
,
49507 _swigc__p_wxHyperlinkCtrl
,
49508 _swigc__p_wxHyperlinkEvent
,
49509 _swigc__p_wxICOHandler
,
49511 _swigc__p_wxIconizeEvent
,
49512 _swigc__p_wxIdleEvent
,
49514 _swigc__p_wxImageHandler
,
49515 _swigc__p_wxImageList
,
49516 _swigc__p_wxIndividualLayoutConstraint
,
49517 _swigc__p_wxInitDialogEvent
,
49518 _swigc__p_wxItemContainer
,
49519 _swigc__p_wxJPEGHandler
,
49520 _swigc__p_wxKeyEvent
,
49521 _swigc__p_wxLayoutConstraints
,
49522 _swigc__p_wxListBox
,
49523 _swigc__p_wxListEvent
,
49524 _swigc__p_wxListItem
,
49525 _swigc__p_wxListItemAttr
,
49526 _swigc__p_wxListView
,
49527 _swigc__p_wxListbook
,
49528 _swigc__p_wxListbookEvent
,
49529 _swigc__p_wxMaximizeEvent
,
49530 _swigc__p_wxMemoryDC
,
49532 _swigc__p_wxMenuBar
,
49533 _swigc__p_wxMenuEvent
,
49534 _swigc__p_wxMenuItem
,
49535 _swigc__p_wxMouseCaptureChangedEvent
,
49536 _swigc__p_wxMouseCaptureLostEvent
,
49537 _swigc__p_wxMouseEvent
,
49538 _swigc__p_wxMoveEvent
,
49539 _swigc__p_wxNavigationKeyEvent
,
49540 _swigc__p_wxNcPaintEvent
,
49541 _swigc__p_wxNotebook
,
49542 _swigc__p_wxNotebookEvent
,
49543 _swigc__p_wxNotifyEvent
,
49544 _swigc__p_wxObject
,
49545 _swigc__p_wxPCXHandler
,
49546 _swigc__p_wxPNGHandler
,
49547 _swigc__p_wxPNMHandler
,
49548 _swigc__p_wxPaintEvent
,
49549 _swigc__p_wxPaletteChangedEvent
,
49550 _swigc__p_wxPaperSize
,
49551 _swigc__p_wxPickerBase
,
49554 _swigc__p_wxPyCommandEvent
,
49555 _swigc__p_wxPyControl
,
49556 _swigc__p_wxPyEvent
,
49557 _swigc__p_wxPyImageHandler
,
49558 _swigc__p_wxPyListCtrl
,
49559 _swigc__p_wxPySizer
,
49560 _swigc__p_wxPyTreeCtrl
,
49561 _swigc__p_wxPyTreeItemData
,
49562 _swigc__p_wxPyValidator
,
49563 _swigc__p_wxQueryNewPaletteEvent
,
49564 _swigc__p_wxRadioBox
,
49565 _swigc__p_wxRadioButton
,
49567 _swigc__p_wxScrollBar
,
49568 _swigc__p_wxScrollEvent
,
49569 _swigc__p_wxScrollWinEvent
,
49570 _swigc__p_wxSearchCtrl
,
49571 _swigc__p_wxSetCursorEvent
,
49572 _swigc__p_wxShowEvent
,
49573 _swigc__p_wxSimpleHelpProvider
,
49575 _swigc__p_wxSizeEvent
,
49577 _swigc__p_wxSizerItem
,
49578 _swigc__p_wxSlider
,
49579 _swigc__p_wxSpinButton
,
49580 _swigc__p_wxSpinCtrl
,
49581 _swigc__p_wxSpinEvent
,
49582 _swigc__p_wxStaticBitmap
,
49583 _swigc__p_wxStaticBox
,
49584 _swigc__p_wxStaticBoxSizer
,
49585 _swigc__p_wxStaticLine
,
49586 _swigc__p_wxStaticText
,
49587 _swigc__p_wxStdDialogButtonSizer
,
49588 _swigc__p_wxString
,
49589 _swigc__p_wxSysColourChangedEvent
,
49590 _swigc__p_wxTGAHandler
,
49591 _swigc__p_wxTIFFHandler
,
49592 _swigc__p_wxTextAttr
,
49593 _swigc__p_wxTextCtrl
,
49594 _swigc__p_wxTextUrlEvent
,
49595 _swigc__p_wxToggleButton
,
49596 _swigc__p_wxToolBar
,
49597 _swigc__p_wxToolBarBase
,
49598 _swigc__p_wxToolBarToolBase
,
49599 _swigc__p_wxToolbook
,
49600 _swigc__p_wxToolbookEvent
,
49601 _swigc__p_wxTreeEvent
,
49602 _swigc__p_wxTreeItemId
,
49603 _swigc__p_wxTreebook
,
49604 _swigc__p_wxTreebookEvent
,
49605 _swigc__p_wxUpdateUIEvent
,
49606 _swigc__p_wxValidator
,
49607 _swigc__p_wxVisualAttributes
,
49608 _swigc__p_wxWindow
,
49609 _swigc__p_wxWindowBase
,
49610 _swigc__p_wxWindowCreateEvent
,
49611 _swigc__p_wxWindowDestroyEvent
,
49612 _swigc__p_wxXPMHandler
,
49616 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49618 static swig_const_info swig_const_table
[] = {
49619 {0, 0, 0, 0.0, 0, 0}};
49624 /* -----------------------------------------------------------------------------
49625 * Type initialization:
49626 * This problem is tough by the requirement that no dynamic
49627 * memory is used. Also, since swig_type_info structures store pointers to
49628 * swig_cast_info structures and swig_cast_info structures store pointers back
49629 * to swig_type_info structures, we need some lookup code at initialization.
49630 * The idea is that swig generates all the structures that are needed.
49631 * The runtime then collects these partially filled structures.
49632 * The SWIG_InitializeModule function takes these initial arrays out of
49633 * swig_module, and does all the lookup, filling in the swig_module.types
49634 * array with the correct data and linking the correct swig_cast_info
49635 * structures together.
49637 * The generated swig_type_info structures are assigned staticly to an initial
49638 * array. We just loop though that array, and handle each type individually.
49639 * First we lookup if this type has been already loaded, and if so, use the
49640 * loaded structure instead of the generated one. Then we have to fill in the
49641 * cast linked list. The cast data is initially stored in something like a
49642 * two-dimensional array. Each row corresponds to a type (there are the same
49643 * number of rows as there are in the swig_type_initial array). Each entry in
49644 * a column is one of the swig_cast_info structures for that type.
49645 * The cast_initial array is actually an array of arrays, because each row has
49646 * a variable number of columns. So to actually build the cast linked list,
49647 * we find the array of casts associated with the type, and loop through it
49648 * adding the casts to the list. The one last trick we need to do is making
49649 * sure the type pointer in the swig_cast_info struct is correct.
49651 * First off, we lookup the cast->type name to see if it is already loaded.
49652 * There are three cases to handle:
49653 * 1) If the cast->type has already been loaded AND the type we are adding
49654 * casting info to has not been loaded (it is in this module), THEN we
49655 * replace the cast->type pointer with the type pointer that has already
49657 * 2) If BOTH types (the one we are adding casting info to, and the
49658 * cast->type) are loaded, THEN the cast info has already been loaded by
49659 * the previous module so we just ignore it.
49660 * 3) Finally, if cast->type has not already been loaded, then we add that
49661 * swig_cast_info to the linked list (because the cast->type) pointer will
49663 * ----------------------------------------------------------------------------- */
49673 #define SWIGRUNTIME_DEBUG
49677 SWIG_InitializeModule(void *clientdata
) {
49679 swig_module_info
*module_head
;
49680 static int init_run
= 0;
49682 clientdata
= clientdata
;
49684 if (init_run
) return;
49687 /* Initialize the swig_module */
49688 swig_module
.type_initial
= swig_type_initial
;
49689 swig_module
.cast_initial
= swig_cast_initial
;
49691 /* Try and load any already created modules */
49692 module_head
= SWIG_GetModule(clientdata
);
49694 swig_module
.next
= module_head
->next
;
49695 module_head
->next
= &swig_module
;
49697 /* This is the first module loaded */
49698 swig_module
.next
= &swig_module
;
49699 SWIG_SetModule(clientdata
, &swig_module
);
49702 /* Now work on filling in swig_module.types */
49703 #ifdef SWIGRUNTIME_DEBUG
49704 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49706 for (i
= 0; i
< swig_module
.size
; ++i
) {
49707 swig_type_info
*type
= 0;
49708 swig_type_info
*ret
;
49709 swig_cast_info
*cast
;
49711 #ifdef SWIGRUNTIME_DEBUG
49712 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49715 /* if there is another module already loaded */
49716 if (swig_module
.next
!= &swig_module
) {
49717 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49720 /* Overwrite clientdata field */
49721 #ifdef SWIGRUNTIME_DEBUG
49722 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49724 if (swig_module
.type_initial
[i
]->clientdata
) {
49725 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49726 #ifdef SWIGRUNTIME_DEBUG
49727 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49731 type
= swig_module
.type_initial
[i
];
49734 /* Insert casting types */
49735 cast
= swig_module
.cast_initial
[i
];
49736 while (cast
->type
) {
49737 /* Don't need to add information already in the list */
49739 #ifdef SWIGRUNTIME_DEBUG
49740 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49742 if (swig_module
.next
!= &swig_module
) {
49743 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49744 #ifdef SWIGRUNTIME_DEBUG
49745 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49749 if (type
== swig_module
.type_initial
[i
]) {
49750 #ifdef SWIGRUNTIME_DEBUG
49751 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49756 /* Check for casting already in the list */
49757 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49758 #ifdef SWIGRUNTIME_DEBUG
49759 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49761 if (!ocast
) ret
= 0;
49766 #ifdef SWIGRUNTIME_DEBUG
49767 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49770 type
->cast
->prev
= cast
;
49771 cast
->next
= type
->cast
;
49777 /* Set entry in modules->types array equal to the type */
49778 swig_module
.types
[i
] = type
;
49780 swig_module
.types
[i
] = 0;
49782 #ifdef SWIGRUNTIME_DEBUG
49783 printf("**** SWIG_InitializeModule: Cast List ******\n");
49784 for (i
= 0; i
< swig_module
.size
; ++i
) {
49786 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49787 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49788 while (cast
->type
) {
49789 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49793 printf("---- Total casts: %d\n",j
);
49795 printf("**** SWIG_InitializeModule: Cast List ******\n");
49799 /* This function will propagate the clientdata field of type to
49800 * any new swig_type_info structures that have been added into the list
49801 * of equivalent types. It is like calling
49802 * SWIG_TypeClientData(type, clientdata) a second time.
49805 SWIG_PropagateClientData(void) {
49807 swig_cast_info
*equiv
;
49808 static int init_run
= 0;
49810 if (init_run
) return;
49813 for (i
= 0; i
< swig_module
.size
; i
++) {
49814 if (swig_module
.types
[i
]->clientdata
) {
49815 equiv
= swig_module
.types
[i
]->cast
;
49817 if (!equiv
->converter
) {
49818 if (equiv
->type
&& !equiv
->type
->clientdata
)
49819 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49821 equiv
= equiv
->next
;
49841 /* Python-specific SWIG API */
49842 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49843 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49844 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49846 /* -----------------------------------------------------------------------------
49847 * global variable support code.
49848 * ----------------------------------------------------------------------------- */
49850 typedef struct swig_globalvar
{
49851 char *name
; /* Name of global variable */
49852 PyObject
*(*get_attr
)(void); /* Return the current value */
49853 int (*set_attr
)(PyObject
*); /* Set the value */
49854 struct swig_globalvar
*next
;
49857 typedef struct swig_varlinkobject
{
49859 swig_globalvar
*vars
;
49860 } swig_varlinkobject
;
49862 SWIGINTERN PyObject
*
49863 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49864 return PyString_FromString("<Swig global variables>");
49867 SWIGINTERN PyObject
*
49868 swig_varlink_str(swig_varlinkobject
*v
) {
49869 PyObject
*str
= PyString_FromString("(");
49870 swig_globalvar
*var
;
49871 for (var
= v
->vars
; var
; var
=var
->next
) {
49872 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49873 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49875 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49880 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49881 PyObject
*str
= swig_varlink_str(v
);
49882 fprintf(fp
,"Swig global variables ");
49883 fprintf(fp
,"%s\n", PyString_AsString(str
));
49889 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49890 swig_globalvar
*var
= v
->vars
;
49892 swig_globalvar
*n
= var
->next
;
49899 SWIGINTERN PyObject
*
49900 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49901 PyObject
*res
= NULL
;
49902 swig_globalvar
*var
= v
->vars
;
49904 if (strcmp(var
->name
,n
) == 0) {
49905 res
= (*var
->get_attr
)();
49910 if (res
== NULL
&& !PyErr_Occurred()) {
49911 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49917 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49919 swig_globalvar
*var
= v
->vars
;
49921 if (strcmp(var
->name
,n
) == 0) {
49922 res
= (*var
->set_attr
)(p
);
49927 if (res
== 1 && !PyErr_Occurred()) {
49928 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49933 SWIGINTERN PyTypeObject
*
49934 swig_varlink_type(void) {
49935 static char varlink__doc__
[] = "Swig var link object";
49936 static PyTypeObject varlink_type
;
49937 static int type_init
= 0;
49939 const PyTypeObject tmp
49941 PyObject_HEAD_INIT(NULL
)
49942 0, /* Number of items in variable part (ob_size) */
49943 (char *)"swigvarlink", /* Type name (tp_name) */
49944 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49945 0, /* Itemsize (tp_itemsize) */
49946 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49947 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49948 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49949 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49950 0, /* tp_compare */
49951 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49952 0, /* tp_as_number */
49953 0, /* tp_as_sequence */
49954 0, /* tp_as_mapping */
49957 (reprfunc
)swig_varlink_str
, /* tp_str */
49958 0, /* tp_getattro */
49959 0, /* tp_setattro */
49960 0, /* tp_as_buffer */
49962 varlink__doc__
, /* tp_doc */
49963 0, /* tp_traverse */
49965 0, /* tp_richcompare */
49966 0, /* tp_weaklistoffset */
49967 #if PY_VERSION_HEX >= 0x02020000
49968 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49970 #if PY_VERSION_HEX >= 0x02030000
49973 #ifdef COUNT_ALLOCS
49974 0,0,0,0 /* tp_alloc -> tp_next */
49977 varlink_type
= tmp
;
49978 varlink_type
.ob_type
= &PyType_Type
;
49981 return &varlink_type
;
49984 /* Create a variable linking object for use later */
49985 SWIGINTERN PyObject
*
49986 SWIG_Python_newvarlink(void) {
49987 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49991 return ((PyObject
*) result
);
49995 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49996 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49997 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49999 size_t size
= strlen(name
)+1;
50000 gv
->name
= (char *)malloc(size
);
50002 strncpy(gv
->name
,name
,size
);
50003 gv
->get_attr
= get_attr
;
50004 gv
->set_attr
= set_attr
;
50005 gv
->next
= v
->vars
;
50011 SWIGINTERN PyObject
*
50013 static PyObject
*_SWIG_globals
= 0;
50014 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50015 return _SWIG_globals
;
50018 /* -----------------------------------------------------------------------------
50019 * constants/methods manipulation
50020 * ----------------------------------------------------------------------------- */
50022 /* Install Constants */
50024 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50027 for (i
= 0; constants
[i
].type
; ++i
) {
50028 switch(constants
[i
].type
) {
50029 case SWIG_PY_POINTER
:
50030 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50032 case SWIG_PY_BINARY
:
50033 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50040 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50046 /* -----------------------------------------------------------------------------*/
50047 /* Fix SwigMethods to carry the callback ptrs when needed */
50048 /* -----------------------------------------------------------------------------*/
50051 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50052 swig_const_info
*const_table
,
50053 swig_type_info
**types
,
50054 swig_type_info
**types_initial
) {
50056 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50057 const char *c
= methods
[i
].ml_doc
;
50058 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50060 swig_const_info
*ci
= 0;
50061 const char *name
= c
+ 10;
50062 for (j
= 0; const_table
[j
].type
; ++j
) {
50063 if (strncmp(const_table
[j
].name
, name
,
50064 strlen(const_table
[j
].name
)) == 0) {
50065 ci
= &(const_table
[j
]);
50070 size_t shift
= (ci
->ptype
) - types
;
50071 swig_type_info
*ty
= types_initial
[shift
];
50072 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50073 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50074 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50077 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50079 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50081 strncpy(buff
, "swig_ptr: ", 10);
50083 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50084 methods
[i
].ml_doc
= ndoc
;
50096 /* -----------------------------------------------------------------------------*
50097 * Partial Init method
50098 * -----------------------------------------------------------------------------*/
50103 SWIGEXPORT
void SWIG_init(void) {
50106 /* Fix SwigMethods to carry the callback ptrs when needed */
50107 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50109 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50110 d
= PyModule_GetDict(m
);
50112 SWIG_InitializeModule(0);
50113 SWIG_InstallConstants(d
,swig_const_table
);
50116 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50117 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50118 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50119 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50120 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50121 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50122 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50123 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50124 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50125 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50126 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50127 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50128 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50129 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50130 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50131 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50132 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50133 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50134 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50135 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50136 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50137 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50138 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50139 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50140 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50141 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50142 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50143 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50144 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50145 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50146 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50147 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50148 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50149 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50150 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50151 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50152 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50153 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50154 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50155 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50156 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50157 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50158 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50159 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50160 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50161 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50162 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50163 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50164 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50165 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50166 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50167 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50168 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50169 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50170 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50171 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50172 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50173 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50174 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50175 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50176 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50177 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50178 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50179 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50180 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50181 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50182 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50183 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50184 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50185 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50186 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50187 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50188 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50189 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50190 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50191 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50192 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50193 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50194 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50195 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50196 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50197 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50198 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50199 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50200 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50201 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50202 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50203 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50204 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50205 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50206 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50207 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50208 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50209 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50210 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50211 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50212 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50213 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50214 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50215 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50216 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50217 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50218 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50219 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50220 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50221 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50222 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50223 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50224 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50225 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50226 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50227 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50228 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50229 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50230 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50231 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50232 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50233 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50234 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50235 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50236 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50237 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50238 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50239 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50240 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50241 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50242 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50243 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50244 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50245 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50246 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50247 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50248 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50249 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50250 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50251 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50252 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50253 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50254 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50255 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50256 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50257 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50258 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50259 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50260 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50261 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50265 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50266 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50267 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50268 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50269 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50270 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50271 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50272 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50273 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50274 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50275 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50276 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50277 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50278 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50279 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50280 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50281 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50282 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50283 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50284 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50285 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50286 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50287 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50288 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50289 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50290 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50291 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50292 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50293 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50294 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50295 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50296 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50297 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50298 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50299 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50300 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50301 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50302 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50303 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50304 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50305 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50306 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50307 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50308 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50309 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50310 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50311 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50312 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50313 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50314 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50315 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50316 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50317 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50318 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50319 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50320 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50321 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50322 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50323 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50324 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50325 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50326 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50327 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50328 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50329 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50330 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50331 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50332 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50333 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50334 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50335 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50336 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50337 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50338 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50339 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50340 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50341 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50342 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50343 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50344 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50345 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50346 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50347 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50348 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50349 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50350 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50351 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50352 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50353 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50354 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50355 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50356 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50357 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50358 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50359 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50360 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50361 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50362 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50363 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50364 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50365 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50366 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50367 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50368 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50369 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50370 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50371 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50372 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50373 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50374 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50375 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50376 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50378 // Map renamed classes back to their common name for OOR
50379 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50381 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50382 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50383 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50384 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50385 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50386 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50387 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50388 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50389 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50390 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50391 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50392 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50393 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50394 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50395 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50396 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50397 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50398 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50399 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50400 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50401 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50402 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50403 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50404 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50405 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50406 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50407 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50408 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50409 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50410 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50411 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50412 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50413 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50414 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50415 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50416 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50417 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50418 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50419 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50420 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50421 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50422 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50423 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50424 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50425 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50426 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50427 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50428 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50429 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50430 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50431 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50432 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50433 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50434 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50435 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50436 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50438 // Map renamed classes back to their common name for OOR
50439 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50440 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50442 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50443 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50444 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50445 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50446 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50447 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50448 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50449 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50450 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50451 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50452 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50454 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50456 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50457 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50458 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50459 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50460 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50461 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50462 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50463 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50464 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50465 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50466 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50467 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50468 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50469 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50470 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50471 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50472 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50473 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50474 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50475 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50476 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50477 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50478 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50479 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50480 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50481 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50482 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50483 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50484 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50485 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50486 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50487 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50488 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50489 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50490 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50491 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50492 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50493 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50494 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50495 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50496 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50497 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50498 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50499 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50500 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50501 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50502 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50503 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50504 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL
));
50505 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH
));