1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495 #define SWIGTYPE_p_wxComboBox swig_types[33]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2498 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500 #define SWIGTYPE_p_wxControl swig_types[38]
2501 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502 #define SWIGTYPE_p_wxCursor swig_types[40]
2503 #define SWIGTYPE_p_wxDC swig_types[41]
2504 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2505 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDateTime swig_types[44]
2507 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvent swig_types[51]
2514 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515 #define SWIGTYPE_p_wxFSFile swig_types[53]
2516 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGauge swig_types[64]
2527 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2531 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2536 #define SWIGTYPE_p_wxIcon swig_types[74]
2537 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539 #define SWIGTYPE_p_wxImage swig_types[77]
2540 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2541 #define SWIGTYPE_p_wxImageList swig_types[79]
2542 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2545 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548 #define SWIGTYPE_p_wxListBox swig_types[86]
2549 #define SWIGTYPE_p_wxListEvent swig_types[87]
2550 #define SWIGTYPE_p_wxListItem swig_types[88]
2551 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552 #define SWIGTYPE_p_wxListView swig_types[90]
2553 #define SWIGTYPE_p_wxListbook swig_types[91]
2554 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557 #define SWIGTYPE_p_wxMenu swig_types[95]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotebook swig_types[104]
2567 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxObject swig_types[107]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2576 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2577 #define SWIGTYPE_p_wxPoint swig_types[115]
2578 #define SWIGTYPE_p_wxPyApp swig_types[116]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPyControl swig_types[118]
2581 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584 #define SWIGTYPE_p_wxPySizer swig_types[122]
2585 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2590 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2591 #define SWIGTYPE_p_wxRect swig_types[129]
2592 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSlider swig_types[140]
2603 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2604 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2610 #define SWIGTYPE_p_wxStaticText swig_types[148]
2611 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612 #define SWIGTYPE_p_wxString swig_types[150]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2616 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2619 #define SWIGTYPE_p_wxToolBar swig_types[157]
2620 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622 #define SWIGTYPE_p_wxToolbook swig_types[160]
2623 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624 #define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627 #define SWIGTYPE_p_wxTreebook swig_types[165]
2628 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630 #define SWIGTYPE_p_wxValidator swig_types[168]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632 #define SWIGTYPE_p_wxWindow swig_types[170]
2633 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637 static swig_type_info
*swig_types
[176];
2638 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_controls_
2664 #define SWIG_name "_controls_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2743 const wxArrayString wxPyEmptyStringArray
;
2745 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2747 #define SWIG_From_long PyInt_FromLong
2750 SWIGINTERNINLINE PyObject
*
2751 SWIG_From_int (int value
)
2753 return SWIG_From_long (value
);
2759 # define LLONG_MIN LONG_LONG_MIN
2762 # define LLONG_MAX LONG_LONG_MAX
2765 # define ULLONG_MAX ULONG_LONG_MAX
2770 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2772 if (PyNumber_Check(obj
)) {
2773 if (val
) *val
= PyInt_AsLong(obj
);
2776 return SWIG_TypeError
;
2781 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2784 int res
= SWIG_AsVal_long (obj
, &v
);
2785 if (SWIG_IsOK(res
)) {
2786 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2787 return SWIG_OverflowError
;
2789 if (val
) *val
= static_cast< int >(v
);
2795 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2798 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2800 if (obj
== Py_True
) {
2801 if (val
) *val
= true;
2803 } else if (obj
== Py_False
) {
2804 if (val
) *val
= false;
2808 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2809 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2814 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2815 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2816 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2817 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2818 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2819 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2821 #include <wx/checklst.h>
2823 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2824 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2827 wxPyClientData
* data
= new wxPyClientData(clientData
);
2828 self
->Insert(item
, pos
, data
);
2831 self
->Insert(item
, pos
);
2835 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2838 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2839 return SWIG_TypeError
;
2842 *val
= (unsigned long)v
;
2848 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2851 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2852 if (SWIG_IsOK(res
)) {
2853 if ((v
> UINT_MAX
)) {
2854 return SWIG_OverflowError
;
2856 if (val
) *val
= static_cast< unsigned int >(v
);
2862 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2863 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2865 self
->GetSelections(lst
);
2866 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2867 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2869 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2871 wxPyEndBlockThreads(blocked
);
2874 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetTextColour(c
);
2880 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2882 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2883 self
->GetItem(item
)->SetBackgroundColour(c
);
2886 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2888 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2889 self
->GetItem(item
)->SetFont(f
);
2892 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2893 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2894 self
->AppendText(text
);
2896 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2897 return self
->GetValue().Mid(from
, to
- from
);
2899 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2900 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2901 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2902 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2903 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2905 SWIGINTERNINLINE PyObject
*
2906 SWIG_From_unsigned_SS_long (unsigned long value
)
2908 return (value
> LONG_MAX
) ?
2909 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_size_t (size_t value
)
2916 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_unsigned_SS_int (unsigned int value
)
2923 return SWIG_From_unsigned_SS_long (value
);
2927 #include <wx/slider.h>
2930 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2931 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2933 #if !wxUSE_TOGGLEBTN
2934 // implement dummy items for platforms that don't have this class
2936 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2938 class wxToggleButton
: public wxControl
2941 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2942 const wxPoint
&, const wxSize
&, long,
2943 const wxValidator
&, const wxString
&)
2944 { wxPyRaiseNotImplemented(); }
2947 { wxPyRaiseNotImplemented(); }
2951 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2953 SWIGINTERNINLINE
int
2954 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2957 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2958 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2962 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2963 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2964 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2966 Py_INCREF(udata
->m_obj
);
2967 return udata
->m_obj
;
2973 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2974 self
->SetClientData(new wxPyUserData(clientData
));
2976 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2977 wxPyUserData
* udata
= NULL
;
2978 if (clientData
&& clientData
!= Py_None
)
2979 udata
= new wxPyUserData(clientData
);
2980 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2981 shortHelp
, longHelp
, udata
);
2983 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2991 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2993 Py_INCREF(udata
->m_obj
);
2994 return udata
->m_obj
;
3000 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3001 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3004 #include <wx/listctrl.h>
3006 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3007 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3008 // Python aware sorting function for wxPyListCtrl
3009 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3011 PyObject
* func
= (PyObject
*)funcPtr
;
3012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3014 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3015 PyObject
* result
= PyEval_CallObject(func
, args
);
3018 retval
= PyInt_AsLong(result
);
3022 wxPyEndBlockThreads(blocked
);
3026 // C++ Version of a Python aware class
3027 class wxPyListCtrl
: public wxListCtrl
{
3028 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3030 wxPyListCtrl() : wxListCtrl() {}
3031 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3035 const wxValidator
& validator
,
3036 const wxString
& name
) :
3037 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3039 bool Create(wxWindow
* parent
, wxWindowID id
,
3043 const wxValidator
& validator
,
3044 const wxString
& name
) {
3045 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3048 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3049 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3051 // use the virtual version to avoid a confusing assert in the base class
3052 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3053 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3060 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3061 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3062 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3063 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3066 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3068 item
.SetMask( wxLIST_MASK_STATE
|
3076 if (self
->GetColumn(col
, item
))
3077 return new wxListItem(item
);
3081 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3082 wxListItem
* info
= new wxListItem
;
3083 info
->m_itemId
= itemId
;
3085 info
->m_mask
= 0xFFFF;
3086 self
->GetItem(*info
);
3089 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3091 self
->GetItemPosition(item
, pos
);
3094 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3096 self
->GetItemRect(item
, rect
, code
);
3099 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3100 if (!PyCallable_Check(func
))
3102 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3104 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3108 return (wxWindow
*)self
->m_mainWin
;
3112 #include <wx/treectrl.h>
3113 #include "wx/wxPython/pytree.h"
3115 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3116 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3117 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3118 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3120 static wxTreeItemId wxNullTreeItemId
;
3122 // C++ version of Python aware wxTreeCtrl
3123 class wxPyTreeCtrl
: public wxTreeCtrl
{
3124 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3126 wxPyTreeCtrl() : wxTreeCtrl() {}
3127 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3131 const wxValidator
& validator
,
3132 const wxString
& name
) :
3133 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3135 bool Create(wxWindow
*parent
, wxWindowID id
,
3139 const wxValidator
& validator
,
3140 const wxString
& name
) {
3141 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3145 int OnCompareItems(const wxTreeItemId
& item1
,
3146 const wxTreeItemId
& item2
) {
3149 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3150 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3151 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3152 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3153 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3157 wxPyEndBlockThreads(blocked
);
3159 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3165 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3168 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3169 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3171 data
= new wxPyTreeItemData();
3172 data
->SetId(item
); // set the id
3173 self
->SetItemData(item
, data
);
3177 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3184 return data
->GetData();
3186 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3187 data
->SetId(item
); // set the id
3188 self
->SetItemData(item
, data
);
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3191 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3193 data
= new wxPyTreeItemData(obj
);
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3199 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 PyObject
* rval
= PyList_New(0);
3202 wxArrayTreeItemIds array
;
3204 num
= self
->GetSelections(array
);
3205 for (x
=0; x
< num
; x
++) {
3206 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3207 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3208 PyList_Append(rval
, item
);
3211 wxPyEndBlockThreads(blocked
);
3214 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3216 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 PyObject
* tup
= PyTuple_New(2);
3219 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3220 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3235 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 wxRect
* r
= new wxRect(rect
);
3238 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3239 wxPyEndBlockThreads(blocked
);
3245 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3247 SWIGINTERNINLINE PyObject
*
3248 SWIG_From_bool (bool value
)
3250 return PyBool_FromLong(value
? 1 : 0);
3253 // C++ version of Python aware wxControl
3254 class wxPyControl
: public wxControl
3256 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3258 wxPyControl() : wxControl() {}
3259 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3260 const wxPoint
& pos
= wxDefaultPosition
,
3261 const wxSize
& size
= wxDefaultSize
,
3263 const wxValidator
& validator
=wxDefaultValidator
,
3264 const wxString
& name
= wxPyControlNameStr
)
3265 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3267 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3269 bool DoEraseBackground(wxDC
* dc
) {
3271 return wxWindow::DoEraseBackground(dc
->GetHDC());
3273 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3279 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3280 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3282 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3289 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3291 DEC_PYCALLBACK__(InitDialog
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3293 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3294 DEC_PYCALLBACK_BOOL_(Validate
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3297 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3298 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3301 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3303 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3304 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3306 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3308 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3313 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3315 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3316 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3318 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3325 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3327 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3328 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3330 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3333 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3340 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3342 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3344 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3348 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3350 #include <wx/generic/dragimgg.h>
3352 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3353 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3355 self
->GetRange(&rv
, NULL
);
3358 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3360 self
->GetRange(NULL
, &rv
);
3363 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3364 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3365 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3366 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3367 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3368 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3369 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3370 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3374 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3375 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3380 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3381 PyObject
*pyobj
= 0;
3385 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3387 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3394 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
= 0;
3396 wxWindow
*arg1
= (wxWindow
*) 0 ;
3397 int arg2
= (int) -1 ;
3398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3404 long arg6
= (long) 0 ;
3405 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3406 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3407 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3408 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3409 wxButton
*result
= 0 ;
3414 bool temp3
= false ;
3421 bool temp8
= false ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3424 PyObject
* obj2
= 0 ;
3425 PyObject
* obj3
= 0 ;
3426 PyObject
* obj4
= 0 ;
3427 PyObject
* obj5
= 0 ;
3428 PyObject
* obj6
= 0 ;
3429 PyObject
* obj7
= 0 ;
3430 char * kwnames
[] = {
3431 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3436 if (!SWIG_IsOK(res1
)) {
3437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3439 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3442 if (!SWIG_IsOK(ecode2
)) {
3443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3445 arg2
= static_cast< int >(val2
);
3449 arg3
= wxString_in_helper(obj2
);
3450 if (arg3
== NULL
) SWIG_fail
;
3457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3468 if (!SWIG_IsOK(ecode6
)) {
3469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3471 arg6
= static_cast< long >(val6
);
3474 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3475 if (!SWIG_IsOK(res7
)) {
3476 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3481 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3485 arg8
= wxString_in_helper(obj7
);
3486 if (arg8
== NULL
) SWIG_fail
;
3491 if (!wxPyCheckForApp()) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3520 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3521 PyObject
*resultobj
= 0;
3522 wxButton
*result
= 0 ;
3524 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3526 if (!wxPyCheckForApp()) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (wxButton
*)new wxButton();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3539 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
= 0;
3541 wxButton
*arg1
= (wxButton
*) 0 ;
3542 wxWindow
*arg2
= (wxWindow
*) 0 ;
3543 int arg3
= (int) -1 ;
3544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3550 long arg7
= (long) 0 ;
3551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3553 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3562 bool temp4
= false ;
3569 bool temp9
= false ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3573 PyObject
* obj3
= 0 ;
3574 PyObject
* obj4
= 0 ;
3575 PyObject
* obj5
= 0 ;
3576 PyObject
* obj6
= 0 ;
3577 PyObject
* obj7
= 0 ;
3578 PyObject
* obj8
= 0 ;
3579 char * kwnames
[] = {
3580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3585 if (!SWIG_IsOK(res1
)) {
3586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3588 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3590 if (!SWIG_IsOK(res2
)) {
3591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3596 if (!SWIG_IsOK(ecode3
)) {
3597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3599 arg3
= static_cast< int >(val3
);
3603 arg4
= wxString_in_helper(obj3
);
3604 if (arg4
== NULL
) SWIG_fail
;
3611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3621 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3622 if (!SWIG_IsOK(ecode7
)) {
3623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3625 arg7
= static_cast< long >(val7
);
3628 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3629 if (!SWIG_IsOK(res8
)) {
3630 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3635 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3639 arg9
= wxString_in_helper(obj8
);
3640 if (arg9
== NULL
) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3675 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3676 PyObject
*resultobj
= 0;
3677 wxButton
*arg1
= (wxButton
*) 0 ;
3680 PyObject
*swig_obj
[1] ;
3682 if (!args
) SWIG_fail
;
3684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3685 if (!SWIG_IsOK(res1
)) {
3686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3688 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 (arg1
)->SetDefault();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= SWIG_Py_Void();
3702 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3703 PyObject
*resultobj
= 0;
3706 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 result
= wxButton::GetDefaultSize();
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3720 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
= 0;
3722 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3723 SwigValueWrapper
<wxVisualAttributes
> result
;
3726 PyObject
* obj0
= 0 ;
3727 char * kwnames
[] = {
3728 (char *) "variant", NULL
3731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3734 if (!SWIG_IsOK(ecode1
)) {
3735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3737 arg1
= static_cast< wxWindowVariant
>(val1
);
3740 if (!wxPyCheckForApp()) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= wxButton::GetClassDefaultAttributes(arg1
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3753 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3756 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3757 return SWIG_Py_Void();
3760 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 return SWIG_Python_InitShadowInstance(args
);
3764 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
= 0;
3766 wxWindow
*arg1
= (wxWindow
*) 0 ;
3767 int arg2
= (int) -1 ;
3768 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3769 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3774 long arg6
= (long) wxBU_AUTODRAW
;
3775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3777 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3779 wxBitmapButton
*result
= 0 ;
3792 bool temp8
= false ;
3793 PyObject
* obj0
= 0 ;
3794 PyObject
* obj1
= 0 ;
3795 PyObject
* obj2
= 0 ;
3796 PyObject
* obj3
= 0 ;
3797 PyObject
* obj4
= 0 ;
3798 PyObject
* obj5
= 0 ;
3799 PyObject
* obj6
= 0 ;
3800 PyObject
* obj7
= 0 ;
3801 char * kwnames
[] = {
3802 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3807 if (!SWIG_IsOK(res1
)) {
3808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3810 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3813 if (!SWIG_IsOK(ecode2
)) {
3814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3816 arg2
= static_cast< int >(val2
);
3819 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3820 if (!SWIG_IsOK(res3
)) {
3821 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3826 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3841 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3842 if (!SWIG_IsOK(ecode6
)) {
3843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3845 arg6
= static_cast< long >(val6
);
3848 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3849 if (!SWIG_IsOK(res7
)) {
3850 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3855 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3859 arg8
= wxString_in_helper(obj7
);
3860 if (arg8
== NULL
) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3886 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3887 PyObject
*resultobj
= 0;
3888 wxBitmapButton
*result
= 0 ;
3890 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3892 if (!wxPyCheckForApp()) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (wxBitmapButton
*)new wxBitmapButton();
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3905 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
= 0;
3907 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3908 wxWindow
*arg2
= (wxWindow
*) 0 ;
3909 int arg3
= (int) -1 ;
3910 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3911 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3912 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3913 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3914 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3915 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3916 long arg7
= (long) wxBU_AUTODRAW
;
3917 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3918 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3919 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3920 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3936 bool temp9
= false ;
3937 PyObject
* obj0
= 0 ;
3938 PyObject
* obj1
= 0 ;
3939 PyObject
* obj2
= 0 ;
3940 PyObject
* obj3
= 0 ;
3941 PyObject
* obj4
= 0 ;
3942 PyObject
* obj5
= 0 ;
3943 PyObject
* obj6
= 0 ;
3944 PyObject
* obj7
= 0 ;
3945 PyObject
* obj8
= 0 ;
3946 char * kwnames
[] = {
3947 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3952 if (!SWIG_IsOK(res1
)) {
3953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3955 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3957 if (!SWIG_IsOK(res2
)) {
3958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3963 if (!SWIG_IsOK(ecode3
)) {
3964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3966 arg3
= static_cast< int >(val3
);
3969 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3970 if (!SWIG_IsOK(res4
)) {
3971 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3976 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3992 if (!SWIG_IsOK(ecode7
)) {
3993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3995 arg7
= static_cast< long >(val7
);
3998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3999 if (!SWIG_IsOK(res8
)) {
4000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4009 arg9
= wxString_in_helper(obj8
);
4010 if (arg9
== NULL
) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4037 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4038 PyObject
*resultobj
= 0;
4039 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4043 PyObject
*swig_obj
[1] ;
4045 if (!args
) SWIG_fail
;
4047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4048 if (!SWIG_IsOK(res1
)) {
4049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4051 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 result
= (arg1
)->GetBitmapLabel();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4065 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4066 PyObject
*resultobj
= 0;
4067 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4071 PyObject
*swig_obj
[1] ;
4073 if (!args
) SWIG_fail
;
4075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4076 if (!SWIG_IsOK(res1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4079 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (arg1
)->GetBitmapDisabled();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4093 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4094 PyObject
*resultobj
= 0;
4095 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4099 PyObject
*swig_obj
[1] ;
4101 if (!args
) SWIG_fail
;
4103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4104 if (!SWIG_IsOK(res1
)) {
4105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4107 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (arg1
)->GetBitmapFocus();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4121 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4122 PyObject
*resultobj
= 0;
4123 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4127 PyObject
*swig_obj
[1] ;
4129 if (!args
) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4135 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (arg1
)->GetBitmapSelected();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4150 PyObject
*resultobj
= 0;
4151 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4155 PyObject
*swig_obj
[1] ;
4157 if (!args
) SWIG_fail
;
4159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4160 if (!SWIG_IsOK(res1
)) {
4161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4163 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (arg1
)->GetBitmapHover();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4177 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
= 0;
4179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4180 wxBitmap
*arg2
= 0 ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4187 char * kwnames
[] = {
4188 (char *) "self",(char *) "bitmap", NULL
4191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4193 if (!SWIG_IsOK(res1
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4196 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4198 if (!SWIG_IsOK(res2
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4204 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_Py_Void();
4218 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
= 0;
4220 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4221 wxBitmap
*arg2
= 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4228 char * kwnames
[] = {
4229 (char *) "self",(char *) "bitmap", NULL
4232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4234 if (!SWIG_IsOK(res1
)) {
4235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4237 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4239 if (!SWIG_IsOK(res2
)) {
4240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4245 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_Py_Void();
4259 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
= 0;
4261 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4262 wxBitmap
*arg2
= 0 ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 char * kwnames
[] = {
4270 (char *) "self",(char *) "bitmap", NULL
4273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4275 if (!SWIG_IsOK(res1
)) {
4276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4278 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4280 if (!SWIG_IsOK(res2
)) {
4281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4286 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_Py_Void();
4300 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
= 0;
4302 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4303 wxBitmap
*arg2
= 0 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4310 char * kwnames
[] = {
4311 (char *) "self",(char *) "bitmap", NULL
4314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4316 if (!SWIG_IsOK(res1
)) {
4317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4319 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4321 if (!SWIG_IsOK(res2
)) {
4322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4327 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_Py_Void();
4341 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4343 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4344 wxBitmap
*arg2
= 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4351 char * kwnames
[] = {
4352 (char *) "self",(char *) "hover", NULL
4355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4360 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4362 if (!SWIG_IsOK(res2
)) {
4363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4368 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_Py_Void();
4382 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= 0;
4384 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4395 PyObject
* obj2
= 0 ;
4396 char * kwnames
[] = {
4397 (char *) "self",(char *) "x",(char *) "y", NULL
4400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4402 if (!SWIG_IsOK(res1
)) {
4403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4405 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4407 if (!SWIG_IsOK(ecode2
)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4410 arg2
= static_cast< int >(val2
);
4411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4412 if (!SWIG_IsOK(ecode3
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4415 arg3
= static_cast< int >(val3
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 (arg1
)->SetMargins(arg2
,arg3
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_Py_Void();
4429 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4430 PyObject
*resultobj
= 0;
4431 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4435 PyObject
*swig_obj
[1] ;
4437 if (!args
) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4443 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_From_int(static_cast< int >(result
));
4457 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 PyObject
*resultobj
= 0;
4459 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4463 PyObject
*swig_obj
[1] ;
4465 if (!args
) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4471 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_From_int(static_cast< int >(result
));
4485 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4488 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4489 return SWIG_Py_Void();
4492 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4493 return SWIG_Python_InitShadowInstance(args
);
4496 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4497 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4502 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4503 PyObject
*pyobj
= 0;
4507 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4509 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4516 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxWindow
*arg1
= (wxWindow
*) 0 ;
4519 int arg2
= (int) -1 ;
4520 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4521 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4526 long arg6
= (long) 0 ;
4527 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4528 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4529 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4531 wxCheckBox
*result
= 0 ;
4536 bool temp3
= false ;
4543 bool temp8
= false ;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4546 PyObject
* obj2
= 0 ;
4547 PyObject
* obj3
= 0 ;
4548 PyObject
* obj4
= 0 ;
4549 PyObject
* obj5
= 0 ;
4550 PyObject
* obj6
= 0 ;
4551 PyObject
* obj7
= 0 ;
4552 char * kwnames
[] = {
4553 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4558 if (!SWIG_IsOK(res1
)) {
4559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4564 if (!SWIG_IsOK(ecode2
)) {
4565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4567 arg2
= static_cast< int >(val2
);
4571 arg3
= wxString_in_helper(obj2
);
4572 if (arg3
== NULL
) SWIG_fail
;
4579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4589 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4590 if (!SWIG_IsOK(ecode6
)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4593 arg6
= static_cast< long >(val6
);
4596 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4597 if (!SWIG_IsOK(res7
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4603 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4607 arg8
= wxString_in_helper(obj7
);
4608 if (arg8
== NULL
) SWIG_fail
;
4613 if (!wxPyCheckForApp()) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4642 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4643 PyObject
*resultobj
= 0;
4644 wxCheckBox
*result
= 0 ;
4646 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4648 if (!wxPyCheckForApp()) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxCheckBox
*)new wxCheckBox();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4661 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
= 0;
4663 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4664 wxWindow
*arg2
= (wxWindow
*) 0 ;
4665 int arg3
= (int) -1 ;
4666 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4667 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4668 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4669 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4670 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4671 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4672 long arg7
= (long) 0 ;
4673 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4674 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4675 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4676 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4684 bool temp4
= false ;
4691 bool temp9
= false ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 PyObject
* obj3
= 0 ;
4696 PyObject
* obj4
= 0 ;
4697 PyObject
* obj5
= 0 ;
4698 PyObject
* obj6
= 0 ;
4699 PyObject
* obj7
= 0 ;
4700 PyObject
* obj8
= 0 ;
4701 char * kwnames
[] = {
4702 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4710 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4712 if (!SWIG_IsOK(res2
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4718 if (!SWIG_IsOK(ecode3
)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4721 arg3
= static_cast< int >(val3
);
4725 arg4
= wxString_in_helper(obj3
);
4726 if (arg4
== NULL
) SWIG_fail
;
4733 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4739 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4743 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4744 if (!SWIG_IsOK(ecode7
)) {
4745 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4747 arg7
= static_cast< long >(val7
);
4750 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4751 if (!SWIG_IsOK(res8
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4757 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4761 arg9
= wxString_in_helper(obj8
);
4762 if (arg9
== NULL
) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4798 PyObject
*resultobj
= 0;
4799 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4803 PyObject
*swig_obj
[1] ;
4805 if (!args
) SWIG_fail
;
4807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4808 if (!SWIG_IsOK(res1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4811 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->GetValue();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4827 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4828 PyObject
*resultobj
= 0;
4829 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4841 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (bool)(arg1
)->IsChecked();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4857 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4859 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4867 char * kwnames
[] = {
4868 (char *) "self",(char *) "state", NULL
4871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4873 if (!SWIG_IsOK(res1
)) {
4874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4876 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4878 if (!SWIG_IsOK(ecode2
)) {
4879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4881 arg2
= static_cast< bool >(val2
);
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetValue(arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_Py_Void();
4895 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4896 PyObject
*resultobj
= 0;
4897 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4898 wxCheckBoxState result
;
4901 PyObject
*swig_obj
[1] ;
4903 if (!args
) SWIG_fail
;
4905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4906 if (!SWIG_IsOK(res1
)) {
4907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4909 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= SWIG_From_int(static_cast< int >(result
));
4923 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
= 0;
4925 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4926 wxCheckBoxState arg2
;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4933 char * kwnames
[] = {
4934 (char *) "self",(char *) "state", NULL
4937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4939 if (!SWIG_IsOK(res1
)) {
4940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4942 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4944 if (!SWIG_IsOK(ecode2
)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4947 arg2
= static_cast< wxCheckBoxState
>(val2
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 (arg1
)->Set3StateValue(arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_Py_Void();
4961 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4967 PyObject
*swig_obj
[1] ;
4969 if (!args
) SWIG_fail
;
4971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4972 if (!SWIG_IsOK(res1
)) {
4973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4975 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4991 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4997 PyObject
*swig_obj
[1] ;
4999 if (!args
) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5005 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5021 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5024 SwigValueWrapper
<wxVisualAttributes
> result
;
5027 PyObject
* obj0
= 0 ;
5028 char * kwnames
[] = {
5029 (char *) "variant", NULL
5032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5035 if (!SWIG_IsOK(ecode1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5038 arg1
= static_cast< wxWindowVariant
>(val1
);
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5054 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5057 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5058 return SWIG_Py_Void();
5061 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 return SWIG_Python_InitShadowInstance(args
);
5065 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5066 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5071 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5072 PyObject
*pyobj
= 0;
5076 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5078 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5085 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
= 0;
5087 wxWindow
*arg1
= (wxWindow
*) 0 ;
5088 int arg2
= (int) -1 ;
5089 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5090 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5091 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5092 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5093 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5094 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5095 long arg6
= (long) 0 ;
5096 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5097 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5098 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5099 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5100 wxChoice
*result
= 0 ;
5107 bool temp5
= false ;
5112 bool temp8
= false ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5115 PyObject
* obj2
= 0 ;
5116 PyObject
* obj3
= 0 ;
5117 PyObject
* obj4
= 0 ;
5118 PyObject
* obj5
= 0 ;
5119 PyObject
* obj6
= 0 ;
5120 PyObject
* obj7
= 0 ;
5121 char * kwnames
[] = {
5122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5133 if (!SWIG_IsOK(ecode2
)) {
5134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5136 arg2
= static_cast< int >(val2
);
5141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5152 if (! PySequence_Check(obj4
)) {
5153 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5156 arg5
= new wxArrayString
;
5158 int i
, len
=PySequence_Length(obj4
);
5159 for (i
=0; i
<len
; i
++) {
5160 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5161 wxString
* s
= wxString_in_helper(item
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5170 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5171 if (!SWIG_IsOK(ecode6
)) {
5172 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5174 arg6
= static_cast< long >(val6
);
5177 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5178 if (!SWIG_IsOK(res7
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5184 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5188 arg8
= wxString_in_helper(obj7
);
5189 if (arg8
== NULL
) SWIG_fail
;
5194 if (!wxPyCheckForApp()) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5202 if (temp5
) delete arg5
;
5211 if (temp5
) delete arg5
;
5221 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxChoice
*result
= 0 ;
5225 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5227 if (!wxPyCheckForApp()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (wxChoice
*)new wxChoice();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5240 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
= 0;
5242 wxChoice
*arg1
= (wxChoice
*) 0 ;
5243 wxWindow
*arg2
= (wxWindow
*) 0 ;
5244 int arg3
= (int) -1 ;
5245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5249 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5250 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5251 long arg7
= (long) 0 ;
5252 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5253 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5254 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5255 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5265 bool temp6
= false ;
5270 bool temp9
= false ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5274 PyObject
* obj3
= 0 ;
5275 PyObject
* obj4
= 0 ;
5276 PyObject
* obj5
= 0 ;
5277 PyObject
* obj6
= 0 ;
5278 PyObject
* obj7
= 0 ;
5279 PyObject
* obj8
= 0 ;
5280 char * kwnames
[] = {
5281 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5286 if (!SWIG_IsOK(res1
)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5289 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5291 if (!SWIG_IsOK(res2
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5297 if (!SWIG_IsOK(ecode3
)) {
5298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5300 arg3
= static_cast< int >(val3
);
5305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5316 if (! PySequence_Check(obj5
)) {
5317 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5320 arg6
= new wxArrayString
;
5322 int i
, len
=PySequence_Length(obj5
);
5323 for (i
=0; i
<len
; i
++) {
5324 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5325 wxString
* s
= wxString_in_helper(item
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5334 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5335 if (!SWIG_IsOK(ecode7
)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5338 arg7
= static_cast< long >(val7
);
5341 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5342 if (!SWIG_IsOK(res8
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5348 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5352 arg9
= wxString_in_helper(obj8
);
5353 if (arg9
== NULL
) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5367 if (temp6
) delete arg6
;
5376 if (temp6
) delete arg6
;
5386 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 PyObject
*resultobj
= 0;
5388 wxChoice
*arg1
= (wxChoice
*) 0 ;
5392 PyObject
*swig_obj
[1] ;
5394 if (!args
) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5400 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_From_int(static_cast< int >(result
));
5414 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
= 0;
5416 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5417 SwigValueWrapper
<wxVisualAttributes
> result
;
5420 PyObject
* obj0
= 0 ;
5421 char * kwnames
[] = {
5422 (char *) "variant", NULL
5425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5428 if (!SWIG_IsOK(ecode1
)) {
5429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5431 arg1
= static_cast< wxWindowVariant
>(val1
);
5434 if (!wxPyCheckForApp()) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5447 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5450 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5451 return SWIG_Py_Void();
5454 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5455 return SWIG_Python_InitShadowInstance(args
);
5458 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5459 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5464 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5465 PyObject
*pyobj
= 0;
5469 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5471 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5478 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
= 0;
5480 wxWindow
*arg1
= (wxWindow
*) 0 ;
5481 int arg2
= (int) -1 ;
5482 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5483 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5484 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5485 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5486 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5487 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5488 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5489 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5490 long arg7
= (long) 0 ;
5491 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5492 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5493 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5494 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5495 wxComboBox
*result
= 0 ;
5500 bool temp3
= false ;
5503 bool temp6
= false ;
5508 bool temp9
= false ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5511 PyObject
* obj2
= 0 ;
5512 PyObject
* obj3
= 0 ;
5513 PyObject
* obj4
= 0 ;
5514 PyObject
* obj5
= 0 ;
5515 PyObject
* obj6
= 0 ;
5516 PyObject
* obj7
= 0 ;
5517 PyObject
* obj8
= 0 ;
5518 char * kwnames
[] = {
5519 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5524 if (!SWIG_IsOK(res1
)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5530 if (!SWIG_IsOK(ecode2
)) {
5531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5533 arg2
= static_cast< int >(val2
);
5537 arg3
= wxString_in_helper(obj2
);
5538 if (arg3
== NULL
) SWIG_fail
;
5545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5556 if (! PySequence_Check(obj5
)) {
5557 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5560 arg6
= new wxArrayString
;
5562 int i
, len
=PySequence_Length(obj5
);
5563 for (i
=0; i
<len
; i
++) {
5564 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5565 wxString
* s
= wxString_in_helper(item
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5574 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5575 if (!SWIG_IsOK(ecode7
)) {
5576 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5578 arg7
= static_cast< long >(val7
);
5581 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5582 if (!SWIG_IsOK(res8
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5588 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5592 arg9
= wxString_in_helper(obj8
);
5593 if (arg9
== NULL
) SWIG_fail
;
5598 if (!wxPyCheckForApp()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5610 if (temp6
) delete arg6
;
5623 if (temp6
) delete arg6
;
5633 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5634 PyObject
*resultobj
= 0;
5635 wxComboBox
*result
= 0 ;
5637 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5639 if (!wxPyCheckForApp()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (wxComboBox
*)new wxComboBox();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5652 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= 0;
5654 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5655 wxWindow
*arg2
= (wxWindow
*) 0 ;
5656 int arg3
= (int) -1 ;
5657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5659 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5660 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5661 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5662 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5663 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5664 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5665 long arg8
= (long) 0 ;
5666 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5667 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5668 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5669 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5677 bool temp4
= false ;
5680 bool temp7
= false ;
5685 bool temp10
= false ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5689 PyObject
* obj3
= 0 ;
5690 PyObject
* obj4
= 0 ;
5691 PyObject
* obj5
= 0 ;
5692 PyObject
* obj6
= 0 ;
5693 PyObject
* obj7
= 0 ;
5694 PyObject
* obj8
= 0 ;
5695 PyObject
* obj9
= 0 ;
5696 char * kwnames
[] = {
5697 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5705 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5707 if (!SWIG_IsOK(res2
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5713 if (!SWIG_IsOK(ecode3
)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5716 arg3
= static_cast< int >(val3
);
5720 arg4
= wxString_in_helper(obj3
);
5721 if (arg4
== NULL
) SWIG_fail
;
5728 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5734 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5739 if (! PySequence_Check(obj6
)) {
5740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5743 arg7
= new wxArrayString
;
5745 int i
, len
=PySequence_Length(obj6
);
5746 for (i
=0; i
<len
; i
++) {
5747 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5748 wxString
* s
= wxString_in_helper(item
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5757 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5758 if (!SWIG_IsOK(ecode8
)) {
5759 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5761 arg8
= static_cast< long >(val8
);
5764 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5765 if (!SWIG_IsOK(res9
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5771 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5775 arg10
= wxString_in_helper(obj9
);
5776 if (arg10
== NULL
) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5794 if (temp7
) delete arg7
;
5807 if (temp7
) delete arg7
;
5817 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5818 PyObject
*resultobj
= 0;
5819 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5823 PyObject
*swig_obj
[1] ;
5825 if (!args
) SWIG_fail
;
5827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5828 if (!SWIG_IsOK(res1
)) {
5829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5831 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= ((wxComboBox
const *)arg1
)->GetValue();
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5851 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
= 0;
5853 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5854 wxString
*arg2
= 0 ;
5857 bool temp2
= false ;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 char * kwnames
[] = {
5861 (char *) "self",(char *) "value", NULL
5864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5866 if (!SWIG_IsOK(res1
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5869 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5871 arg2
= wxString_in_helper(obj1
);
5872 if (arg2
== NULL
) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->SetValue((wxString
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5901 PyObject
*swig_obj
[1] ;
5903 if (!args
) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5909 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_Py_Void();
5923 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5924 PyObject
*resultobj
= 0;
5925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5928 PyObject
*swig_obj
[1] ;
5930 if (!args
) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5936 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5951 PyObject
*resultobj
= 0;
5952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5955 PyObject
*swig_obj
[1] ;
5957 if (!args
) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5963 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_Py_Void();
5977 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
= 0;
5979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 char * kwnames
[] = {
5988 (char *) "self",(char *) "pos", NULL
5991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5996 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5998 if (!SWIG_IsOK(ecode2
)) {
5999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6001 arg2
= static_cast< long >(val2
);
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 (arg1
)->SetInsertionPoint(arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_Py_Void();
6015 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6016 PyObject
*resultobj
= 0;
6017 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6021 PyObject
*swig_obj
[1] ;
6023 if (!args
) SWIG_fail
;
6025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6026 if (!SWIG_IsOK(res1
)) {
6027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6029 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_From_long(static_cast< long >(result
));
6043 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6044 PyObject
*resultobj
= 0;
6045 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6049 PyObject
*swig_obj
[1] ;
6051 if (!args
) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6057 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_From_long(static_cast< long >(result
));
6071 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
= 0;
6073 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6076 wxString
*arg4
= 0 ;
6083 bool temp4
= false ;
6084 PyObject
* obj0
= 0 ;
6085 PyObject
* obj1
= 0 ;
6086 PyObject
* obj2
= 0 ;
6087 PyObject
* obj3
= 0 ;
6088 char * kwnames
[] = {
6089 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6094 if (!SWIG_IsOK(res1
)) {
6095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6097 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6099 if (!SWIG_IsOK(ecode2
)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6102 arg2
= static_cast< long >(val2
);
6103 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6104 if (!SWIG_IsOK(ecode3
)) {
6105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6107 arg3
= static_cast< long >(val3
);
6109 arg4
= wxString_in_helper(obj3
);
6110 if (arg4
== NULL
) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= SWIG_Py_Void();
6134 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
= 0;
6136 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6148 char * kwnames
[] = {
6149 (char *) "self",(char *) "from",(char *) "to", NULL
6152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6157 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6159 if (!SWIG_IsOK(ecode2
)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6162 arg2
= static_cast< long >(val2
);
6163 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6167 arg3
= static_cast< long >(val3
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 (arg1
)->SetSelection(arg2
,arg3
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_Py_Void();
6181 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6187 PyObject
*swig_obj
[1] ;
6189 if (!args
) SWIG_fail
;
6191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6192 if (!SWIG_IsOK(res1
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6195 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= SWIG_From_int(static_cast< int >(result
));
6209 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
= 0;
6211 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6212 wxString
*arg2
= 0 ;
6216 bool temp2
= false ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6219 char * kwnames
[] = {
6220 (char *) "self",(char *) "string", NULL
6223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6225 if (!SWIG_IsOK(res1
)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6228 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6230 arg2
= wxString_in_helper(obj1
);
6231 if (arg2
== NULL
) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6257 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
= 0;
6259 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6261 wxString
*arg3
= 0 ;
6266 bool temp3
= false ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6269 PyObject
* obj2
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "n",(char *) "string", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6279 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6281 if (!SWIG_IsOK(ecode2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6284 arg2
= static_cast< int >(val2
);
6286 arg3
= wxString_in_helper(obj2
);
6287 if (arg3
== NULL
) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_Py_Void();
6311 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
= 0;
6313 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "editable", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6330 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6331 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6332 if (!SWIG_IsOK(ecode2
)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6335 arg2
= static_cast< bool >(val2
);
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 (arg1
)->SetEditable(arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= SWIG_Py_Void();
6349 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6350 PyObject
*resultobj
= 0;
6351 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6354 PyObject
*swig_obj
[1] ;
6356 if (!args
) SWIG_fail
;
6358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6359 if (!SWIG_IsOK(res1
)) {
6360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6362 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 (arg1
)->SetInsertionPointEnd();
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_Py_Void();
6376 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
= 0;
6378 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 char * kwnames
[] = {
6391 (char *) "self",(char *) "from",(char *) "to", NULL
6394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6396 if (!SWIG_IsOK(res1
)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6399 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6400 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6401 if (!SWIG_IsOK(ecode2
)) {
6402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6404 arg2
= static_cast< long >(val2
);
6405 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6406 if (!SWIG_IsOK(ecode3
)) {
6407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6409 arg3
= static_cast< long >(val3
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->Remove(arg2
,arg3
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_Py_Void();
6423 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6424 PyObject
*resultobj
= 0;
6425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6429 PyObject
*swig_obj
[1] ;
6431 if (!args
) SWIG_fail
;
6433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6434 if (!SWIG_IsOK(res1
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6437 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6453 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6454 PyObject
*resultobj
= 0;
6455 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6458 PyObject
*swig_obj
[1] ;
6460 if (!args
) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6466 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_Py_Void();
6480 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6481 PyObject
*resultobj
= 0;
6482 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6485 PyObject
*swig_obj
[1] ;
6487 if (!args
) SWIG_fail
;
6489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6490 if (!SWIG_IsOK(res1
)) {
6491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6493 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= SWIG_Py_Void();
6507 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6508 PyObject
*resultobj
= 0;
6509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6512 PyObject
*swig_obj
[1] ;
6514 if (!args
) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6520 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->SelectAll();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_Py_Void();
6534 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6535 PyObject
*resultobj
= 0;
6536 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6540 PyObject
*swig_obj
[1] ;
6542 if (!args
) SWIG_fail
;
6544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6545 if (!SWIG_IsOK(res1
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6548 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6564 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6565 PyObject
*resultobj
= 0;
6566 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6570 PyObject
*swig_obj
[1] ;
6572 if (!args
) SWIG_fail
;
6574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6575 if (!SWIG_IsOK(res1
)) {
6576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6578 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6594 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6595 PyObject
*resultobj
= 0;
6596 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6600 PyObject
*swig_obj
[1] ;
6602 if (!args
) SWIG_fail
;
6604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6605 if (!SWIG_IsOK(res1
)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6608 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6624 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6625 PyObject
*resultobj
= 0;
6626 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6630 PyObject
*swig_obj
[1] ;
6632 if (!args
) SWIG_fail
;
6634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6635 if (!SWIG_IsOK(res1
)) {
6636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6638 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6654 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6655 PyObject
*resultobj
= 0;
6656 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6660 PyObject
*swig_obj
[1] ;
6662 if (!args
) SWIG_fail
;
6664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6665 if (!SWIG_IsOK(res1
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6668 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6684 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
= 0;
6686 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6687 SwigValueWrapper
<wxVisualAttributes
> result
;
6690 PyObject
* obj0
= 0 ;
6691 char * kwnames
[] = {
6692 (char *) "variant", NULL
6695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6697 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6698 if (!SWIG_IsOK(ecode1
)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6701 arg1
= static_cast< wxWindowVariant
>(val1
);
6704 if (!wxPyCheckForApp()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6717 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6720 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6721 return SWIG_Py_Void();
6724 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6725 return SWIG_Python_InitShadowInstance(args
);
6728 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6729 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6734 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6735 PyObject
*pyobj
= 0;
6739 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6741 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6748 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
= 0;
6750 wxWindow
*arg1
= (wxWindow
*) 0 ;
6751 int arg2
= (int) -1 ;
6752 int arg3
= (int) 100 ;
6753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6757 long arg6
= (long) wxGA_HORIZONTAL
;
6758 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6759 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6760 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6761 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6762 wxGauge
*result
= 0 ;
6775 bool temp8
= false ;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6778 PyObject
* obj2
= 0 ;
6779 PyObject
* obj3
= 0 ;
6780 PyObject
* obj4
= 0 ;
6781 PyObject
* obj5
= 0 ;
6782 PyObject
* obj6
= 0 ;
6783 PyObject
* obj7
= 0 ;
6784 char * kwnames
[] = {
6785 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6790 if (!SWIG_IsOK(res1
)) {
6791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6796 if (!SWIG_IsOK(ecode2
)) {
6797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6799 arg2
= static_cast< int >(val2
);
6802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6803 if (!SWIG_IsOK(ecode3
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6806 arg3
= static_cast< int >(val3
);
6811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6821 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6822 if (!SWIG_IsOK(ecode6
)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6825 arg6
= static_cast< long >(val6
);
6828 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6829 if (!SWIG_IsOK(res7
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6835 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6839 arg8
= wxString_in_helper(obj7
);
6840 if (arg8
== NULL
) SWIG_fail
;
6845 if (!wxPyCheckForApp()) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6866 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6867 PyObject
*resultobj
= 0;
6868 wxGauge
*result
= 0 ;
6870 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6872 if (!wxPyCheckForApp()) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 result
= (wxGauge
*)new wxGauge();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6885 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxGauge
*arg1
= (wxGauge
*) 0 ;
6888 wxWindow
*arg2
= (wxWindow
*) 0 ;
6889 int arg3
= (int) -1 ;
6890 int arg4
= (int) 100 ;
6891 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6892 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6893 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6894 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6895 long arg7
= (long) wxGA_HORIZONTAL
;
6896 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6897 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6898 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6899 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6915 bool temp9
= false ;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6918 PyObject
* obj2
= 0 ;
6919 PyObject
* obj3
= 0 ;
6920 PyObject
* obj4
= 0 ;
6921 PyObject
* obj5
= 0 ;
6922 PyObject
* obj6
= 0 ;
6923 PyObject
* obj7
= 0 ;
6924 PyObject
* obj8
= 0 ;
6925 char * kwnames
[] = {
6926 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6931 if (!SWIG_IsOK(res1
)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6934 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6936 if (!SWIG_IsOK(res2
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6939 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6942 if (!SWIG_IsOK(ecode3
)) {
6943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6945 arg3
= static_cast< int >(val3
);
6948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6949 if (!SWIG_IsOK(ecode4
)) {
6950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6952 arg4
= static_cast< int >(val4
);
6957 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6963 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6967 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6968 if (!SWIG_IsOK(ecode7
)) {
6969 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6971 arg7
= static_cast< long >(val7
);
6974 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6975 if (!SWIG_IsOK(res8
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6981 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6985 arg9
= wxString_in_helper(obj8
);
6986 if (arg9
== NULL
) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7013 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
= 0;
7015 wxGauge
*arg1
= (wxGauge
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7023 char * kwnames
[] = {
7024 (char *) "self",(char *) "range", NULL
7027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7029 if (!SWIG_IsOK(res1
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7032 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7034 if (!SWIG_IsOK(ecode2
)) {
7035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7037 arg2
= static_cast< int >(val2
);
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 (arg1
)->SetRange(arg2
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= SWIG_Py_Void();
7051 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7052 PyObject
*resultobj
= 0;
7053 wxGauge
*arg1
= (wxGauge
*) 0 ;
7057 PyObject
*swig_obj
[1] ;
7059 if (!args
) SWIG_fail
;
7061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7062 if (!SWIG_IsOK(res1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7065 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_From_int(static_cast< int >(result
));
7079 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
= 0;
7081 wxGauge
*arg1
= (wxGauge
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7089 char * kwnames
[] = {
7090 (char *) "self",(char *) "pos", NULL
7093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7095 if (!SWIG_IsOK(res1
)) {
7096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7098 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7100 if (!SWIG_IsOK(ecode2
)) {
7101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7103 arg2
= static_cast< int >(val2
);
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 (arg1
)->SetValue(arg2
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_Py_Void();
7117 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7118 PyObject
*resultobj
= 0;
7119 wxGauge
*arg1
= (wxGauge
*) 0 ;
7123 PyObject
*swig_obj
[1] ;
7125 if (!args
) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7131 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_From_int(static_cast< int >(result
));
7145 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 PyObject
*resultobj
= 0;
7147 wxGauge
*arg1
= (wxGauge
*) 0 ;
7151 PyObject
*swig_obj
[1] ;
7153 if (!args
) SWIG_fail
;
7155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7156 if (!SWIG_IsOK(res1
)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7159 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7175 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
= 0;
7177 wxGauge
*arg1
= (wxGauge
*) 0 ;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7185 char * kwnames
[] = {
7186 (char *) "self",(char *) "w", NULL
7189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7191 if (!SWIG_IsOK(res1
)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7194 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7196 if (!SWIG_IsOK(ecode2
)) {
7197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7199 arg2
= static_cast< int >(val2
);
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 (arg1
)->SetShadowWidth(arg2
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_Py_Void();
7213 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7214 PyObject
*resultobj
= 0;
7215 wxGauge
*arg1
= (wxGauge
*) 0 ;
7219 PyObject
*swig_obj
[1] ;
7221 if (!args
) SWIG_fail
;
7223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7224 if (!SWIG_IsOK(res1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7227 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_From_int(static_cast< int >(result
));
7241 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
= 0;
7243 wxGauge
*arg1
= (wxGauge
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7251 char * kwnames
[] = {
7252 (char *) "self",(char *) "w", NULL
7255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7260 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7262 if (!SWIG_IsOK(ecode2
)) {
7263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7265 arg2
= static_cast< int >(val2
);
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->SetBezelFace(arg2
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_Py_Void();
7279 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7280 PyObject
*resultobj
= 0;
7281 wxGauge
*arg1
= (wxGauge
*) 0 ;
7285 PyObject
*swig_obj
[1] ;
7287 if (!args
) SWIG_fail
;
7289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7290 if (!SWIG_IsOK(res1
)) {
7291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7293 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_From_int(static_cast< int >(result
));
7307 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
= 0;
7309 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7310 SwigValueWrapper
<wxVisualAttributes
> result
;
7313 PyObject
* obj0
= 0 ;
7314 char * kwnames
[] = {
7315 (char *) "variant", NULL
7318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7321 if (!SWIG_IsOK(ecode1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7324 arg1
= static_cast< wxWindowVariant
>(val1
);
7327 if (!wxPyCheckForApp()) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7340 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7343 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7344 return SWIG_Py_Void();
7347 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7348 return SWIG_Python_InitShadowInstance(args
);
7351 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7352 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7357 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7358 PyObject
*pyobj
= 0;
7362 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7364 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7371 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7372 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7377 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7378 PyObject
*pyobj
= 0;
7382 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7384 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7391 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7392 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7397 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7398 PyObject
*pyobj
= 0;
7402 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7404 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7411 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
= 0;
7413 wxWindow
*arg1
= (wxWindow
*) 0 ;
7414 int arg2
= (int) -1 ;
7415 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7416 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7421 long arg6
= (long) 0 ;
7422 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7423 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7424 wxStaticBox
*result
= 0 ;
7429 bool temp3
= false ;
7434 bool temp7
= false ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 PyObject
* obj2
= 0 ;
7438 PyObject
* obj3
= 0 ;
7439 PyObject
* obj4
= 0 ;
7440 PyObject
* obj5
= 0 ;
7441 PyObject
* obj6
= 0 ;
7442 char * kwnames
[] = {
7443 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7448 if (!SWIG_IsOK(res1
)) {
7449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7454 if (!SWIG_IsOK(ecode2
)) {
7455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7457 arg2
= static_cast< int >(val2
);
7461 arg3
= wxString_in_helper(obj2
);
7462 if (arg3
== NULL
) SWIG_fail
;
7469 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7475 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7479 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7480 if (!SWIG_IsOK(ecode6
)) {
7481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7483 arg6
= static_cast< long >(val6
);
7487 arg7
= wxString_in_helper(obj6
);
7488 if (arg7
== NULL
) SWIG_fail
;
7493 if (!wxPyCheckForApp()) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7522 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7523 PyObject
*resultobj
= 0;
7524 wxStaticBox
*result
= 0 ;
7526 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7528 if (!wxPyCheckForApp()) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (wxStaticBox
*)new wxStaticBox();
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7541 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
= 0;
7543 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7544 wxWindow
*arg2
= (wxWindow
*) 0 ;
7545 int arg3
= (int) -1 ;
7546 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7547 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7548 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7549 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7550 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7551 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7552 long arg7
= (long) 0 ;
7553 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7554 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7562 bool temp4
= false ;
7567 bool temp8
= false ;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7570 PyObject
* obj2
= 0 ;
7571 PyObject
* obj3
= 0 ;
7572 PyObject
* obj4
= 0 ;
7573 PyObject
* obj5
= 0 ;
7574 PyObject
* obj6
= 0 ;
7575 PyObject
* obj7
= 0 ;
7576 char * kwnames
[] = {
7577 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7582 if (!SWIG_IsOK(res1
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7585 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7587 if (!SWIG_IsOK(res2
)) {
7588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7590 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7593 if (!SWIG_IsOK(ecode3
)) {
7594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7596 arg3
= static_cast< int >(val3
);
7600 arg4
= wxString_in_helper(obj3
);
7601 if (arg4
== NULL
) SWIG_fail
;
7608 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7614 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7618 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7619 if (!SWIG_IsOK(ecode7
)) {
7620 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7622 arg7
= static_cast< long >(val7
);
7626 arg8
= wxString_in_helper(obj7
);
7627 if (arg8
== NULL
) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7662 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
= 0;
7664 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7665 SwigValueWrapper
<wxVisualAttributes
> result
;
7668 PyObject
* obj0
= 0 ;
7669 char * kwnames
[] = {
7670 (char *) "variant", NULL
7673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7675 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7676 if (!SWIG_IsOK(ecode1
)) {
7677 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7679 arg1
= static_cast< wxWindowVariant
>(val1
);
7682 if (!wxPyCheckForApp()) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7695 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7698 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7699 return SWIG_Py_Void();
7702 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7703 return SWIG_Python_InitShadowInstance(args
);
7706 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
= 0;
7708 wxWindow
*arg1
= (wxWindow
*) 0 ;
7709 int arg2
= (int) -1 ;
7710 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7711 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7712 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7713 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7714 long arg5
= (long) wxLI_HORIZONTAL
;
7715 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7716 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7717 wxStaticLine
*result
= 0 ;
7726 bool temp6
= false ;
7727 PyObject
* obj0
= 0 ;
7728 PyObject
* obj1
= 0 ;
7729 PyObject
* obj2
= 0 ;
7730 PyObject
* obj3
= 0 ;
7731 PyObject
* obj4
= 0 ;
7732 PyObject
* obj5
= 0 ;
7733 char * kwnames
[] = {
7734 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7739 if (!SWIG_IsOK(res1
)) {
7740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7742 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7745 if (!SWIG_IsOK(ecode2
)) {
7746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7748 arg2
= static_cast< int >(val2
);
7753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7759 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7763 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7764 if (!SWIG_IsOK(ecode5
)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7767 arg5
= static_cast< long >(val5
);
7771 arg6
= wxString_in_helper(obj5
);
7772 if (arg6
== NULL
) SWIG_fail
;
7777 if (!wxPyCheckForApp()) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7798 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7799 PyObject
*resultobj
= 0;
7800 wxStaticLine
*result
= 0 ;
7802 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7804 if (!wxPyCheckForApp()) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (wxStaticLine
*)new wxStaticLine();
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7817 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
= 0;
7819 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7820 wxWindow
*arg2
= (wxWindow
*) 0 ;
7821 int arg3
= (int) -1 ;
7822 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7823 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7824 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7825 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7826 long arg6
= (long) wxLI_HORIZONTAL
;
7827 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7840 bool temp7
= false ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7843 PyObject
* obj2
= 0 ;
7844 PyObject
* obj3
= 0 ;
7845 PyObject
* obj4
= 0 ;
7846 PyObject
* obj5
= 0 ;
7847 PyObject
* obj6
= 0 ;
7848 char * kwnames
[] = {
7849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7854 if (!SWIG_IsOK(res1
)) {
7855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7857 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7859 if (!SWIG_IsOK(res2
)) {
7860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7862 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7865 if (!SWIG_IsOK(ecode3
)) {
7866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7868 arg3
= static_cast< int >(val3
);
7873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7879 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7883 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7884 if (!SWIG_IsOK(ecode6
)) {
7885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7887 arg6
= static_cast< long >(val6
);
7891 arg7
= wxString_in_helper(obj6
);
7892 if (arg7
== NULL
) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7919 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7920 PyObject
*resultobj
= 0;
7921 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7925 PyObject
*swig_obj
[1] ;
7927 if (!args
) SWIG_fail
;
7929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7930 if (!SWIG_IsOK(res1
)) {
7931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7933 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7949 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7950 PyObject
*resultobj
= 0;
7953 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (int)wxStaticLine::GetDefaultSize();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_From_int(static_cast< int >(result
));
7967 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
= 0;
7969 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7970 SwigValueWrapper
<wxVisualAttributes
> result
;
7973 PyObject
* obj0
= 0 ;
7974 char * kwnames
[] = {
7975 (char *) "variant", NULL
7978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7981 if (!SWIG_IsOK(ecode1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7984 arg1
= static_cast< wxWindowVariant
>(val1
);
7987 if (!wxPyCheckForApp()) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8000 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8003 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8004 return SWIG_Py_Void();
8007 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8008 return SWIG_Python_InitShadowInstance(args
);
8011 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
= 0;
8013 wxWindow
*arg1
= (wxWindow
*) 0 ;
8014 int arg2
= (int) -1 ;
8015 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8016 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8017 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8018 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8019 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8020 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8021 long arg6
= (long) 0 ;
8022 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8023 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8024 wxStaticText
*result
= 0 ;
8029 bool temp3
= false ;
8034 bool temp7
= false ;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8037 PyObject
* obj2
= 0 ;
8038 PyObject
* obj3
= 0 ;
8039 PyObject
* obj4
= 0 ;
8040 PyObject
* obj5
= 0 ;
8041 PyObject
* obj6
= 0 ;
8042 char * kwnames
[] = {
8043 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8048 if (!SWIG_IsOK(res1
)) {
8049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8054 if (!SWIG_IsOK(ecode2
)) {
8055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8057 arg2
= static_cast< int >(val2
);
8061 arg3
= wxString_in_helper(obj2
);
8062 if (arg3
== NULL
) SWIG_fail
;
8069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8079 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8080 if (!SWIG_IsOK(ecode6
)) {
8081 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8083 arg6
= static_cast< long >(val6
);
8087 arg7
= wxString_in_helper(obj6
);
8088 if (arg7
== NULL
) SWIG_fail
;
8093 if (!wxPyCheckForApp()) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8122 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8123 PyObject
*resultobj
= 0;
8124 wxStaticText
*result
= 0 ;
8126 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8128 if (!wxPyCheckForApp()) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (wxStaticText
*)new wxStaticText();
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8141 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
= 0;
8143 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8144 wxWindow
*arg2
= (wxWindow
*) 0 ;
8145 int arg3
= (int) -1 ;
8146 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8147 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8148 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8149 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8150 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8151 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8152 long arg7
= (long) 0 ;
8153 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8154 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8162 bool temp4
= false ;
8167 bool temp8
= false ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8170 PyObject
* obj2
= 0 ;
8171 PyObject
* obj3
= 0 ;
8172 PyObject
* obj4
= 0 ;
8173 PyObject
* obj5
= 0 ;
8174 PyObject
* obj6
= 0 ;
8175 PyObject
* obj7
= 0 ;
8176 char * kwnames
[] = {
8177 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8182 if (!SWIG_IsOK(res1
)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8185 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8187 if (!SWIG_IsOK(res2
)) {
8188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8193 if (!SWIG_IsOK(ecode3
)) {
8194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8196 arg3
= static_cast< int >(val3
);
8200 arg4
= wxString_in_helper(obj3
);
8201 if (arg4
== NULL
) SWIG_fail
;
8208 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8214 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8218 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8219 if (!SWIG_IsOK(ecode7
)) {
8220 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8222 arg7
= static_cast< long >(val7
);
8226 arg8
= wxString_in_helper(obj7
);
8227 if (arg8
== NULL
) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8262 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
= 0;
8264 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8270 PyObject
* obj0
= 0 ;
8271 PyObject
* obj1
= 0 ;
8272 char * kwnames
[] = {
8273 (char *) "self",(char *) "width", NULL
8276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8278 if (!SWIG_IsOK(res1
)) {
8279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8281 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8283 if (!SWIG_IsOK(ecode2
)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8286 arg2
= static_cast< int >(val2
);
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 resultobj
= SWIG_Py_Void();
8300 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
= 0;
8302 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8303 SwigValueWrapper
<wxVisualAttributes
> result
;
8306 PyObject
* obj0
= 0 ;
8307 char * kwnames
[] = {
8308 (char *) "variant", NULL
8311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8313 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8314 if (!SWIG_IsOK(ecode1
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8317 arg1
= static_cast< wxWindowVariant
>(val1
);
8320 if (!wxPyCheckForApp()) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8333 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8336 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8337 return SWIG_Py_Void();
8340 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8341 return SWIG_Python_InitShadowInstance(args
);
8344 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
= 0;
8346 wxWindow
*arg1
= (wxWindow
*) 0 ;
8347 int arg2
= (int) -1 ;
8348 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8349 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8350 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8351 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8352 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8353 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8354 long arg6
= (long) 0 ;
8355 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8356 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8357 wxStaticBitmap
*result
= 0 ;
8368 bool temp7
= false ;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8371 PyObject
* obj2
= 0 ;
8372 PyObject
* obj3
= 0 ;
8373 PyObject
* obj4
= 0 ;
8374 PyObject
* obj5
= 0 ;
8375 PyObject
* obj6
= 0 ;
8376 char * kwnames
[] = {
8377 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8382 if (!SWIG_IsOK(res1
)) {
8383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8385 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8388 if (!SWIG_IsOK(ecode2
)) {
8389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8391 arg2
= static_cast< int >(val2
);
8394 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8395 if (!SWIG_IsOK(res3
)) {
8396 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8401 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8406 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8412 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8416 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8417 if (!SWIG_IsOK(ecode6
)) {
8418 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8420 arg6
= static_cast< long >(val6
);
8424 arg7
= wxString_in_helper(obj6
);
8425 if (arg7
== NULL
) SWIG_fail
;
8430 if (!wxPyCheckForApp()) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8451 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8452 PyObject
*resultobj
= 0;
8453 wxStaticBitmap
*result
= 0 ;
8455 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8457 if (!wxPyCheckForApp()) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8470 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
= 0;
8472 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8473 wxWindow
*arg2
= (wxWindow
*) 0 ;
8474 int arg3
= (int) -1 ;
8475 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8476 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8481 long arg7
= (long) 0 ;
8482 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8483 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8497 bool temp8
= false ;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8500 PyObject
* obj2
= 0 ;
8501 PyObject
* obj3
= 0 ;
8502 PyObject
* obj4
= 0 ;
8503 PyObject
* obj5
= 0 ;
8504 PyObject
* obj6
= 0 ;
8505 PyObject
* obj7
= 0 ;
8506 char * kwnames
[] = {
8507 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8512 if (!SWIG_IsOK(res1
)) {
8513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8515 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8517 if (!SWIG_IsOK(res2
)) {
8518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8520 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8523 if (!SWIG_IsOK(ecode3
)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8526 arg3
= static_cast< int >(val3
);
8529 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8530 if (!SWIG_IsOK(res4
)) {
8531 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8536 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8541 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8547 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8551 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8552 if (!SWIG_IsOK(ecode7
)) {
8553 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8555 arg7
= static_cast< long >(val7
);
8559 arg8
= wxString_in_helper(obj7
);
8560 if (arg8
== NULL
) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8587 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8588 PyObject
*resultobj
= 0;
8589 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8593 PyObject
*swig_obj
[1] ;
8595 if (!args
) SWIG_fail
;
8597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8598 if (!SWIG_IsOK(res1
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8601 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 result
= (arg1
)->GetBitmap();
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8615 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
= 0;
8617 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8618 wxBitmap
*arg2
= 0 ;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8625 char * kwnames
[] = {
8626 (char *) "self",(char *) "bitmap", NULL
8629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8631 if (!SWIG_IsOK(res1
)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8634 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8636 if (!SWIG_IsOK(res2
)) {
8637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8642 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= SWIG_Py_Void();
8656 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
= 0;
8658 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 char * kwnames
[] = {
8667 (char *) "self",(char *) "icon", NULL
8670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8672 if (!SWIG_IsOK(res1
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8675 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8677 if (!SWIG_IsOK(res2
)) {
8678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8683 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= SWIG_Py_Void();
8697 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
= 0;
8699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8700 SwigValueWrapper
<wxVisualAttributes
> result
;
8703 PyObject
* obj0
= 0 ;
8704 char * kwnames
[] = {
8705 (char *) "variant", NULL
8708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8711 if (!SWIG_IsOK(ecode1
)) {
8712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8714 arg1
= static_cast< wxWindowVariant
>(val1
);
8717 if (!wxPyCheckForApp()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8730 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8733 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8734 return SWIG_Py_Void();
8737 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8738 return SWIG_Python_InitShadowInstance(args
);
8741 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8742 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8747 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8748 PyObject
*pyobj
= 0;
8752 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8754 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8761 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
= 0;
8763 wxWindow
*arg1
= (wxWindow
*) 0 ;
8764 int arg2
= (int) -1 ;
8765 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8766 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8767 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8768 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8769 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8770 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8771 long arg6
= (long) 0 ;
8772 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8773 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8774 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8775 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8776 wxListBox
*result
= 0 ;
8783 bool temp5
= false ;
8788 bool temp8
= false ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8792 PyObject
* obj3
= 0 ;
8793 PyObject
* obj4
= 0 ;
8794 PyObject
* obj5
= 0 ;
8795 PyObject
* obj6
= 0 ;
8796 PyObject
* obj7
= 0 ;
8797 char * kwnames
[] = {
8798 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8809 if (!SWIG_IsOK(ecode2
)) {
8810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8812 arg2
= static_cast< int >(val2
);
8817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8828 if (! PySequence_Check(obj4
)) {
8829 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8832 arg5
= new wxArrayString
;
8834 int i
, len
=PySequence_Length(obj4
);
8835 for (i
=0; i
<len
; i
++) {
8836 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8837 wxString
* s
= wxString_in_helper(item
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8846 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8847 if (!SWIG_IsOK(ecode6
)) {
8848 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8850 arg6
= static_cast< long >(val6
);
8853 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8854 if (!SWIG_IsOK(res7
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8860 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8864 arg8
= wxString_in_helper(obj7
);
8865 if (arg8
== NULL
) SWIG_fail
;
8870 if (!wxPyCheckForApp()) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8878 if (temp5
) delete arg5
;
8887 if (temp5
) delete arg5
;
8897 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8898 PyObject
*resultobj
= 0;
8899 wxListBox
*result
= 0 ;
8901 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8903 if (!wxPyCheckForApp()) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (wxListBox
*)new wxListBox();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8916 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= 0;
8918 wxListBox
*arg1
= (wxListBox
*) 0 ;
8919 wxWindow
*arg2
= (wxWindow
*) 0 ;
8920 int arg3
= (int) -1 ;
8921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8925 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8926 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8927 long arg7
= (long) 0 ;
8928 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8929 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8930 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8931 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8941 bool temp6
= false ;
8946 bool temp9
= false ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8949 PyObject
* obj2
= 0 ;
8950 PyObject
* obj3
= 0 ;
8951 PyObject
* obj4
= 0 ;
8952 PyObject
* obj5
= 0 ;
8953 PyObject
* obj6
= 0 ;
8954 PyObject
* obj7
= 0 ;
8955 PyObject
* obj8
= 0 ;
8956 char * kwnames
[] = {
8957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8962 if (!SWIG_IsOK(res1
)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8965 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8967 if (!SWIG_IsOK(res2
)) {
8968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8973 if (!SWIG_IsOK(ecode3
)) {
8974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8976 arg3
= static_cast< int >(val3
);
8981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8992 if (! PySequence_Check(obj5
)) {
8993 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8996 arg6
= new wxArrayString
;
8998 int i
, len
=PySequence_Length(obj5
);
8999 for (i
=0; i
<len
; i
++) {
9000 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9001 wxString
* s
= wxString_in_helper(item
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9010 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9011 if (!SWIG_IsOK(ecode7
)) {
9012 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9014 arg7
= static_cast< long >(val7
);
9017 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9018 if (!SWIG_IsOK(res8
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9024 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9028 arg9
= wxString_in_helper(obj8
);
9029 if (arg9
== NULL
) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9043 if (temp6
) delete arg6
;
9052 if (temp6
) delete arg6
;
9062 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= 0;
9064 wxListBox
*arg1
= (wxListBox
*) 0 ;
9065 wxString
*arg2
= 0 ;
9067 PyObject
*arg4
= (PyObject
*) NULL
;
9070 bool temp2
= false ;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9076 PyObject
* obj3
= 0 ;
9077 char * kwnames
[] = {
9078 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9086 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9088 arg2
= wxString_in_helper(obj1
);
9089 if (arg2
== NULL
) SWIG_fail
;
9092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9093 if (!SWIG_IsOK(ecode3
)) {
9094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9096 arg3
= static_cast< int >(val3
);
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= SWIG_Py_Void();
9121 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
= 0;
9123 wxListBox
*arg1
= (wxListBox
*) 0 ;
9124 wxArrayString
*arg2
= 0 ;
9128 bool temp2
= false ;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9133 PyObject
* obj2
= 0 ;
9134 char * kwnames
[] = {
9135 (char *) "self",(char *) "items",(char *) "pos", NULL
9138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9140 if (!SWIG_IsOK(res1
)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9143 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9145 if (! PySequence_Check(obj1
)) {
9146 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9149 arg2
= new wxArrayString
;
9151 int i
, len
=PySequence_Length(obj1
);
9152 for (i
=0; i
<len
; i
++) {
9153 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9154 wxString
* s
= wxString_in_helper(item
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9161 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9162 if (!SWIG_IsOK(ecode3
)) {
9163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9165 arg3
= static_cast< unsigned int >(val3
);
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_Py_Void();
9174 if (temp2
) delete arg2
;
9179 if (temp2
) delete arg2
;
9185 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
= 0;
9187 wxListBox
*arg1
= (wxListBox
*) 0 ;
9188 wxArrayString
*arg2
= 0 ;
9191 bool temp2
= false ;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 char * kwnames
[] = {
9195 (char *) "self",(char *) "items", NULL
9198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9200 if (!SWIG_IsOK(res1
)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9203 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9205 if (! PySequence_Check(obj1
)) {
9206 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9209 arg2
= new wxArrayString
;
9211 int i
, len
=PySequence_Length(obj1
);
9212 for (i
=0; i
<len
; i
++) {
9213 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9214 wxString
* s
= wxString_in_helper(item
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 (arg1
)->Set((wxArrayString
const &)*arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_Py_Void();
9229 if (temp2
) delete arg2
;
9234 if (temp2
) delete arg2
;
9240 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
= 0;
9242 wxListBox
*arg1
= (wxListBox
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9251 char * kwnames
[] = {
9252 (char *) "self",(char *) "n", NULL
9255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9257 if (!SWIG_IsOK(res1
)) {
9258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9260 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9262 if (!SWIG_IsOK(ecode2
)) {
9263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9265 arg2
= static_cast< int >(val2
);
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9281 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
= 0;
9283 wxListBox
*arg1
= (wxListBox
*) 0 ;
9285 bool arg3
= (bool) true ;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9294 PyObject
* obj2
= 0 ;
9295 char * kwnames
[] = {
9296 (char *) "self",(char *) "n",(char *) "select", NULL
9299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9301 if (!SWIG_IsOK(res1
)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9304 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9306 if (!SWIG_IsOK(ecode2
)) {
9307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9309 arg2
= static_cast< int >(val2
);
9311 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9312 if (!SWIG_IsOK(ecode3
)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9315 arg3
= static_cast< bool >(val3
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 (arg1
)->SetSelection(arg2
,arg3
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_Py_Void();
9330 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
= 0;
9332 wxListBox
*arg1
= (wxListBox
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9340 char * kwnames
[] = {
9341 (char *) "self",(char *) "n", NULL
9344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9346 if (!SWIG_IsOK(res1
)) {
9347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9349 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9351 if (!SWIG_IsOK(ecode2
)) {
9352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9354 arg2
= static_cast< int >(val2
);
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 (arg1
)->Select(arg2
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= SWIG_Py_Void();
9368 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
= 0;
9370 wxListBox
*arg1
= (wxListBox
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 char * kwnames
[] = {
9379 (char *) "self",(char *) "n", NULL
9382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9384 if (!SWIG_IsOK(res1
)) {
9385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9387 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9389 if (!SWIG_IsOK(ecode2
)) {
9390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9392 arg2
= static_cast< int >(val2
);
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 (arg1
)->Deselect(arg2
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_Py_Void();
9406 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
= 0;
9408 wxListBox
*arg1
= (wxListBox
*) 0 ;
9409 int arg2
= (int) -1 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 char * kwnames
[] = {
9417 (char *) "self",(char *) "itemToLeaveSelected", NULL
9420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9422 if (!SWIG_IsOK(res1
)) {
9423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9425 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9428 if (!SWIG_IsOK(ecode2
)) {
9429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9431 arg2
= static_cast< int >(val2
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 (arg1
)->DeselectAll(arg2
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_Py_Void();
9446 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= 0;
9448 wxListBox
*arg1
= (wxListBox
*) 0 ;
9449 wxString
*arg2
= 0 ;
9450 bool arg3
= (bool) true ;
9454 bool temp2
= false ;
9457 PyObject
* obj0
= 0 ;
9458 PyObject
* obj1
= 0 ;
9459 PyObject
* obj2
= 0 ;
9460 char * kwnames
[] = {
9461 (char *) "self",(char *) "s",(char *) "select", NULL
9464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9466 if (!SWIG_IsOK(res1
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9469 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9471 arg2
= wxString_in_helper(obj1
);
9472 if (arg2
== NULL
) SWIG_fail
;
9476 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9477 if (!SWIG_IsOK(ecode3
)) {
9478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9480 arg3
= static_cast< bool >(val3
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9505 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9506 PyObject
*resultobj
= 0;
9507 wxListBox
*arg1
= (wxListBox
*) 0 ;
9508 PyObject
*result
= 0 ;
9511 PyObject
*swig_obj
[1] ;
9513 if (!args
) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9519 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9533 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
= 0;
9535 wxListBox
*arg1
= (wxListBox
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 char * kwnames
[] = {
9544 (char *) "self",(char *) "n", NULL
9547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9549 if (!SWIG_IsOK(res1
)) {
9550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9552 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9554 if (!SWIG_IsOK(ecode2
)) {
9555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9557 arg2
= static_cast< int >(val2
);
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 (arg1
)->SetFirstItem(arg2
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_Py_Void();
9571 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
= 0;
9573 wxListBox
*arg1
= (wxListBox
*) 0 ;
9574 wxString
*arg2
= 0 ;
9577 bool temp2
= false ;
9578 PyObject
* obj0
= 0 ;
9579 PyObject
* obj1
= 0 ;
9580 char * kwnames
[] = {
9581 (char *) "self",(char *) "s", NULL
9584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9586 if (!SWIG_IsOK(res1
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9589 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9591 arg2
= wxString_in_helper(obj1
);
9592 if (arg2
== NULL
) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_Py_Void();
9616 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
= 0;
9618 wxListBox
*arg1
= (wxListBox
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9625 PyObject
* obj1
= 0 ;
9626 char * kwnames
[] = {
9627 (char *) "self",(char *) "n", NULL
9630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9632 if (!SWIG_IsOK(res1
)) {
9633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9635 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9637 if (!SWIG_IsOK(ecode2
)) {
9638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9640 arg2
= static_cast< int >(val2
);
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 (arg1
)->EnsureVisible(arg2
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_Py_Void();
9654 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
= 0;
9656 wxListBox
*arg1
= (wxListBox
*) 0 ;
9657 wxString
*arg2
= 0 ;
9660 bool temp2
= false ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 char * kwnames
[] = {
9664 (char *) "self",(char *) "s", NULL
9667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9669 if (!SWIG_IsOK(res1
)) {
9670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9672 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9674 arg2
= wxString_in_helper(obj1
);
9675 if (arg2
== NULL
) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= SWIG_Py_Void();
9699 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9700 PyObject
*resultobj
= 0;
9701 wxListBox
*arg1
= (wxListBox
*) 0 ;
9705 PyObject
*swig_obj
[1] ;
9707 if (!args
) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9713 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9729 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
= 0;
9731 wxListBox
*arg1
= (wxListBox
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9738 PyObject
* obj1
= 0 ;
9739 char * kwnames
[] = {
9740 (char *) "self",(char *) "pt", NULL
9743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9745 if (!SWIG_IsOK(res1
)) {
9746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9748 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9751 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_From_int(static_cast< int >(result
));
9766 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= 0;
9768 wxListBox
*arg1
= (wxListBox
*) 0 ;
9770 wxColour
*arg3
= 0 ;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9778 PyObject
* obj2
= 0 ;
9779 char * kwnames
[] = {
9780 (char *) "self",(char *) "item",(char *) "c", NULL
9783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9785 if (!SWIG_IsOK(res1
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9788 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9790 if (!SWIG_IsOK(ecode2
)) {
9791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9793 arg2
= static_cast< int >(val2
);
9796 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_Py_Void();
9811 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
= 0;
9813 wxListBox
*arg1
= (wxListBox
*) 0 ;
9815 wxColour
*arg3
= 0 ;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9823 PyObject
* obj2
= 0 ;
9824 char * kwnames
[] = {
9825 (char *) "self",(char *) "item",(char *) "c", NULL
9828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9830 if (!SWIG_IsOK(res1
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9833 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9835 if (!SWIG_IsOK(ecode2
)) {
9836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9838 arg2
= static_cast< int >(val2
);
9841 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= SWIG_Py_Void();
9856 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
= 0;
9858 wxListBox
*arg1
= (wxListBox
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9869 PyObject
* obj2
= 0 ;
9870 char * kwnames
[] = {
9871 (char *) "self",(char *) "item",(char *) "f", NULL
9874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9876 if (!SWIG_IsOK(res1
)) {
9877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9879 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9881 if (!SWIG_IsOK(ecode2
)) {
9882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9884 arg2
= static_cast< int >(val2
);
9885 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9886 if (!SWIG_IsOK(res3
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9892 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_Py_Void();
9906 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9908 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9909 SwigValueWrapper
<wxVisualAttributes
> result
;
9912 PyObject
* obj0
= 0 ;
9913 char * kwnames
[] = {
9914 (char *) "variant", NULL
9917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9920 if (!SWIG_IsOK(ecode1
)) {
9921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9923 arg1
= static_cast< wxWindowVariant
>(val1
);
9926 if (!wxPyCheckForApp()) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9939 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9942 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9943 return SWIG_Py_Void();
9946 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9947 return SWIG_Python_InitShadowInstance(args
);
9950 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
= 0;
9952 wxWindow
*arg1
= (wxWindow
*) 0 ;
9953 int arg2
= (int) -1 ;
9954 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9955 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9956 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9957 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9958 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9959 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9960 long arg6
= (long) 0 ;
9961 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9962 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9963 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9964 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9965 wxCheckListBox
*result
= 0 ;
9972 bool temp5
= false ;
9977 bool temp8
= false ;
9978 PyObject
* obj0
= 0 ;
9979 PyObject
* obj1
= 0 ;
9980 PyObject
* obj2
= 0 ;
9981 PyObject
* obj3
= 0 ;
9982 PyObject
* obj4
= 0 ;
9983 PyObject
* obj5
= 0 ;
9984 PyObject
* obj6
= 0 ;
9985 PyObject
* obj7
= 0 ;
9986 char * kwnames
[] = {
9987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9992 if (!SWIG_IsOK(res1
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9998 if (!SWIG_IsOK(ecode2
)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10001 arg2
= static_cast< int >(val2
);
10006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10012 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10017 if (! PySequence_Check(obj4
)) {
10018 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10021 arg5
= new wxArrayString
;
10023 int i
, len
=PySequence_Length(obj4
);
10024 for (i
=0; i
<len
; i
++) {
10025 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10026 wxString
* s
= wxString_in_helper(item
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10035 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10036 if (!SWIG_IsOK(ecode6
)) {
10037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10039 arg6
= static_cast< long >(val6
);
10042 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10043 if (!SWIG_IsOK(res7
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10049 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10053 arg8
= wxString_in_helper(obj7
);
10054 if (arg8
== NULL
) SWIG_fail
;
10059 if (!wxPyCheckForApp()) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10067 if (temp5
) delete arg5
;
10076 if (temp5
) delete arg5
;
10086 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10087 PyObject
*resultobj
= 0;
10088 wxCheckListBox
*result
= 0 ;
10090 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10092 if (!wxPyCheckForApp()) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (wxCheckListBox
*)new wxCheckListBox();
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10105 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
= 0;
10107 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10108 wxWindow
*arg2
= (wxWindow
*) 0 ;
10109 int arg3
= (int) -1 ;
10110 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10111 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10112 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10113 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10114 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10115 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10116 long arg7
= (long) 0 ;
10117 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10118 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10119 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10120 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10130 bool temp6
= false ;
10135 bool temp9
= false ;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 PyObject
* obj2
= 0 ;
10139 PyObject
* obj3
= 0 ;
10140 PyObject
* obj4
= 0 ;
10141 PyObject
* obj5
= 0 ;
10142 PyObject
* obj6
= 0 ;
10143 PyObject
* obj7
= 0 ;
10144 PyObject
* obj8
= 0 ;
10145 char * kwnames
[] = {
10146 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10151 if (!SWIG_IsOK(res1
)) {
10152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10154 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10156 if (!SWIG_IsOK(res2
)) {
10157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10162 if (!SWIG_IsOK(ecode3
)) {
10163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10165 arg3
= static_cast< int >(val3
);
10170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10181 if (! PySequence_Check(obj5
)) {
10182 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10185 arg6
= new wxArrayString
;
10187 int i
, len
=PySequence_Length(obj5
);
10188 for (i
=0; i
<len
; i
++) {
10189 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10190 wxString
* s
= wxString_in_helper(item
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10199 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10200 if (!SWIG_IsOK(ecode7
)) {
10201 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10203 arg7
= static_cast< long >(val7
);
10206 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10207 if (!SWIG_IsOK(res8
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10213 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10217 arg9
= wxString_in_helper(obj8
);
10218 if (arg9
== NULL
) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10232 if (temp6
) delete arg6
;
10241 if (temp6
) delete arg6
;
10251 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
= 0;
10253 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10254 unsigned int arg2
;
10258 unsigned int val2
;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 char * kwnames
[] = {
10263 (char *) "self",(char *) "index", NULL
10266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10268 if (!SWIG_IsOK(res1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10271 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10272 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10273 if (!SWIG_IsOK(ecode2
)) {
10274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10276 arg2
= static_cast< unsigned int >(val2
);
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (bool)(arg1
)->IsChecked(arg2
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
= 0;
10294 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10295 unsigned int arg2
;
10296 int arg3
= (int) true ;
10299 unsigned int val2
;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 PyObject
* obj2
= 0 ;
10306 char * kwnames
[] = {
10307 (char *) "self",(char *) "index",(char *) "check", NULL
10310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10312 if (!SWIG_IsOK(res1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10315 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10316 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10317 if (!SWIG_IsOK(ecode2
)) {
10318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10320 arg2
= static_cast< unsigned int >(val2
);
10322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10323 if (!SWIG_IsOK(ecode3
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10326 arg3
= static_cast< int >(val3
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->Check(arg2
,arg3
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_Py_Void();
10341 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10344 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10345 return SWIG_Py_Void();
10348 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10349 return SWIG_Python_InitShadowInstance(args
);
10352 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10353 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10358 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10359 PyObject
*pyobj
= 0;
10363 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10365 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10372 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
= 0;
10374 wxColour
const &arg1_defvalue
= wxNullColour
;
10375 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10376 wxColour
const &arg2_defvalue
= wxNullColour
;
10377 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10378 wxFont
const &arg3_defvalue
= wxNullFont
;
10379 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10380 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10381 wxTextAttr
*result
= 0 ;
10388 PyObject
* obj0
= 0 ;
10389 PyObject
* obj1
= 0 ;
10390 PyObject
* obj2
= 0 ;
10391 PyObject
* obj3
= 0 ;
10392 char * kwnames
[] = {
10393 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10400 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10410 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10411 if (!SWIG_IsOK(res3
)) {
10412 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10417 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10420 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10421 if (!SWIG_IsOK(ecode4
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10424 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10439 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10440 PyObject
*resultobj
= 0;
10441 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10444 PyObject
*swig_obj
[1] ;
10446 if (!args
) SWIG_fail
;
10447 swig_obj
[0] = args
;
10448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10452 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 resultobj
= SWIG_Py_Void();
10467 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10468 PyObject
*resultobj
= 0;
10469 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10472 PyObject
*swig_obj
[1] ;
10474 if (!args
) SWIG_fail
;
10475 swig_obj
[0] = args
;
10476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10477 if (!SWIG_IsOK(res1
)) {
10478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10480 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= SWIG_Py_Void();
10494 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
= 0;
10496 wxTextAttr
*arg1
= 0 ;
10497 wxTextAttr
*arg2
= 0 ;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 char * kwnames
[] = {
10506 (char *) "base",(char *) "overlay", NULL
10509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10510 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10511 if (!SWIG_IsOK(res1
)) {
10512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10517 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10519 if (!SWIG_IsOK(res2
)) {
10520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10525 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10539 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
= 0;
10541 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10542 wxColour
*arg2
= 0 ;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 char * kwnames
[] = {
10549 (char *) "self",(char *) "colText", NULL
10552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10554 if (!SWIG_IsOK(res1
)) {
10555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10557 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10560 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_Py_Void();
10575 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
= 0;
10577 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10578 wxColour
*arg2
= 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "self",(char *) "colBack", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10593 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= SWIG_Py_Void();
10611 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
= 0;
10613 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10615 long arg3
= (long) wxTEXT_ATTR_FONT
;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 PyObject
* obj2
= 0 ;
10625 char * kwnames
[] = {
10626 (char *) "self",(char *) "font",(char *) "flags", NULL
10629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10631 if (!SWIG_IsOK(res1
)) {
10632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10634 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10636 if (!SWIG_IsOK(res2
)) {
10637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10642 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10644 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10645 if (!SWIG_IsOK(ecode3
)) {
10646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10648 arg3
= static_cast< long >(val3
);
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_Py_Void();
10663 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
= 0;
10665 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10666 wxTextAttrAlignment arg2
;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char * kwnames
[] = {
10674 (char *) "self",(char *) "alignment", NULL
10677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10679 if (!SWIG_IsOK(res1
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10682 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10684 if (!SWIG_IsOK(ecode2
)) {
10685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10687 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 (arg1
)->SetAlignment(arg2
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_Py_Void();
10701 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10704 wxArrayInt
*arg2
= 0 ;
10707 bool temp2
= false ;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 char * kwnames
[] = {
10711 (char *) "self",(char *) "tabs", NULL
10714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10716 if (!SWIG_IsOK(res1
)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10719 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10721 if (! PySequence_Check(obj1
)) {
10722 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10725 arg2
= new wxArrayInt
;
10727 int i
, len
=PySequence_Length(obj1
);
10728 for (i
=0; i
<len
; i
++) {
10729 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10730 PyObject
* number
= PyNumber_Int(item
);
10731 arg2
->Add(PyInt_AS_LONG(number
));
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= SWIG_Py_Void();
10744 if (temp2
) delete arg2
;
10749 if (temp2
) delete arg2
;
10755 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
= 0;
10757 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10759 int arg3
= (int) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 PyObject
* obj2
= 0 ;
10769 char * kwnames
[] = {
10770 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10775 if (!SWIG_IsOK(res1
)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10778 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10780 if (!SWIG_IsOK(ecode2
)) {
10781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10783 arg2
= static_cast< int >(val2
);
10785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10786 if (!SWIG_IsOK(ecode3
)) {
10787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10789 arg3
= static_cast< int >(val3
);
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->SetLeftIndent(arg2
,arg3
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_Py_Void();
10804 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
= 0;
10806 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 char * kwnames
[] = {
10815 (char *) "self",(char *) "indent", NULL
10818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10820 if (!SWIG_IsOK(res1
)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10823 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10825 if (!SWIG_IsOK(ecode2
)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10828 arg2
= static_cast< int >(val2
);
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->SetRightIndent(arg2
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 resultobj
= SWIG_Py_Void();
10842 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
= 0;
10844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "flags", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10861 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10862 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10863 if (!SWIG_IsOK(ecode2
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10866 arg2
= static_cast< long >(val2
);
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->SetFlags(arg2
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= SWIG_Py_Void();
10880 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10881 PyObject
*resultobj
= 0;
10882 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10886 PyObject
*swig_obj
[1] ;
10888 if (!args
) SWIG_fail
;
10889 swig_obj
[0] = args
;
10890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10891 if (!SWIG_IsOK(res1
)) {
10892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10894 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10910 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10911 PyObject
*resultobj
= 0;
10912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10916 PyObject
*swig_obj
[1] ;
10918 if (!args
) SWIG_fail
;
10919 swig_obj
[0] = args
;
10920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10921 if (!SWIG_IsOK(res1
)) {
10922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10924 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10940 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10941 PyObject
*resultobj
= 0;
10942 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10946 PyObject
*swig_obj
[1] ;
10948 if (!args
) SWIG_fail
;
10949 swig_obj
[0] = args
;
10950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10954 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10970 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10971 PyObject
*resultobj
= 0;
10972 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10976 PyObject
*swig_obj
[1] ;
10978 if (!args
) SWIG_fail
;
10979 swig_obj
[0] = args
;
10980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10981 if (!SWIG_IsOK(res1
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10984 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11001 PyObject
*resultobj
= 0;
11002 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11006 PyObject
*swig_obj
[1] ;
11008 if (!args
) SWIG_fail
;
11009 swig_obj
[0] = args
;
11010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11011 if (!SWIG_IsOK(res1
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11014 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11030 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11031 PyObject
*resultobj
= 0;
11032 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11036 PyObject
*swig_obj
[1] ;
11038 if (!args
) SWIG_fail
;
11039 swig_obj
[0] = args
;
11040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11041 if (!SWIG_IsOK(res1
)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11044 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11060 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11061 PyObject
*resultobj
= 0;
11062 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11066 PyObject
*swig_obj
[1] ;
11068 if (!args
) SWIG_fail
;
11069 swig_obj
[0] = args
;
11070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11071 if (!SWIG_IsOK(res1
)) {
11072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11074 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11090 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
= 0;
11092 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "flag", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11110 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11111 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11112 if (!SWIG_IsOK(ecode2
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11115 arg2
= static_cast< long >(val2
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11131 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11132 PyObject
*resultobj
= 0;
11133 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11134 wxColour
*result
= 0 ;
11137 PyObject
*swig_obj
[1] ;
11139 if (!args
) SWIG_fail
;
11140 swig_obj
[0] = args
;
11141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11145 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11150 result
= (wxColour
*) &_result_ref
;
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11162 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11163 PyObject
*resultobj
= 0;
11164 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11165 wxColour
*result
= 0 ;
11168 PyObject
*swig_obj
[1] ;
11170 if (!args
) SWIG_fail
;
11171 swig_obj
[0] = args
;
11172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11176 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11181 result
= (wxColour
*) &_result_ref
;
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11193 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11194 PyObject
*resultobj
= 0;
11195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11196 wxFont
*result
= 0 ;
11199 PyObject
*swig_obj
[1] ;
11201 if (!args
) SWIG_fail
;
11202 swig_obj
[0] = args
;
11203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11207 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11212 result
= (wxFont
*) &_result_ref
;
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11218 wxFont
* resultptr
= new wxFont(*result
);
11219 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11227 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11228 PyObject
*resultobj
= 0;
11229 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11230 wxTextAttrAlignment result
;
11233 PyObject
*swig_obj
[1] ;
11235 if (!args
) SWIG_fail
;
11236 swig_obj
[0] = args
;
11237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11238 if (!SWIG_IsOK(res1
)) {
11239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11241 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= SWIG_From_int(static_cast< int >(result
));
11255 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11256 PyObject
*resultobj
= 0;
11257 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11258 wxArrayInt
*result
= 0 ;
11261 PyObject
*swig_obj
[1] ;
11263 if (!args
) SWIG_fail
;
11264 swig_obj
[0] = args
;
11265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11266 if (!SWIG_IsOK(res1
)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11269 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11274 result
= (wxArrayInt
*) &_result_ref
;
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= PyList_New(0);
11282 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11283 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11284 PyList_Append(resultobj
, val
);
11294 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11295 PyObject
*resultobj
= 0;
11296 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11300 PyObject
*swig_obj
[1] ;
11302 if (!args
) SWIG_fail
;
11303 swig_obj
[0] = args
;
11304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11308 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_From_long(static_cast< long >(result
));
11322 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11323 PyObject
*resultobj
= 0;
11324 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11328 PyObject
*swig_obj
[1] ;
11330 if (!args
) SWIG_fail
;
11331 swig_obj
[0] = args
;
11332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11333 if (!SWIG_IsOK(res1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11336 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_From_long(static_cast< long >(result
));
11350 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11351 PyObject
*resultobj
= 0;
11352 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11356 PyObject
*swig_obj
[1] ;
11358 if (!args
) SWIG_fail
;
11359 swig_obj
[0] = args
;
11360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11364 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_From_long(static_cast< long >(result
));
11378 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 PyObject
*resultobj
= 0;
11380 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11384 PyObject
*swig_obj
[1] ;
11386 if (!args
) SWIG_fail
;
11387 swig_obj
[0] = args
;
11388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11392 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_long(static_cast< long >(result
));
11406 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11407 PyObject
*resultobj
= 0;
11408 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11412 PyObject
*swig_obj
[1] ;
11414 if (!args
) SWIG_fail
;
11415 swig_obj
[0] = args
;
11416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11417 if (!SWIG_IsOK(res1
)) {
11418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11420 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11436 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
= 0;
11438 wxTextAttr
*arg1
= 0 ;
11439 wxTextAttr
*arg2
= 0 ;
11440 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11448 PyObject
* obj0
= 0 ;
11449 PyObject
* obj1
= 0 ;
11450 PyObject
* obj2
= 0 ;
11451 char * kwnames
[] = {
11452 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11456 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11457 if (!SWIG_IsOK(res1
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11463 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11465 if (!SWIG_IsOK(res2
)) {
11466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11471 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11472 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11473 if (!SWIG_IsOK(res3
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11476 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11490 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11492 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11493 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11494 return SWIG_Py_Void();
11497 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11498 return SWIG_Python_InitShadowInstance(args
);
11501 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
= 0;
11503 wxWindow
*arg1
= (wxWindow
*) 0 ;
11504 int arg2
= (int) -1 ;
11505 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11506 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11507 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11508 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11509 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11510 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11511 long arg6
= (long) 0 ;
11512 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11513 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11514 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11515 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11516 wxTextCtrl
*result
= 0 ;
11521 bool temp3
= false ;
11528 bool temp8
= false ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 PyObject
* obj2
= 0 ;
11532 PyObject
* obj3
= 0 ;
11533 PyObject
* obj4
= 0 ;
11534 PyObject
* obj5
= 0 ;
11535 PyObject
* obj6
= 0 ;
11536 PyObject
* obj7
= 0 ;
11537 char * kwnames
[] = {
11538 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11543 if (!SWIG_IsOK(res1
)) {
11544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11549 if (!SWIG_IsOK(ecode2
)) {
11550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11552 arg2
= static_cast< int >(val2
);
11556 arg3
= wxString_in_helper(obj2
);
11557 if (arg3
== NULL
) SWIG_fail
;
11564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11574 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11575 if (!SWIG_IsOK(ecode6
)) {
11576 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11578 arg6
= static_cast< long >(val6
);
11581 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11582 if (!SWIG_IsOK(res7
)) {
11583 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11588 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11592 arg8
= wxString_in_helper(obj7
);
11593 if (arg8
== NULL
) SWIG_fail
;
11598 if (!wxPyCheckForApp()) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11627 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11628 PyObject
*resultobj
= 0;
11629 wxTextCtrl
*result
= 0 ;
11631 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11633 if (!wxPyCheckForApp()) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (wxTextCtrl
*)new wxTextCtrl();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11646 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
= 0;
11648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11649 wxWindow
*arg2
= (wxWindow
*) 0 ;
11650 int arg3
= (int) -1 ;
11651 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11653 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11654 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11655 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11656 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11657 long arg7
= (long) 0 ;
11658 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11659 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11660 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11661 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11669 bool temp4
= false ;
11676 bool temp9
= false ;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 PyObject
* obj2
= 0 ;
11680 PyObject
* obj3
= 0 ;
11681 PyObject
* obj4
= 0 ;
11682 PyObject
* obj5
= 0 ;
11683 PyObject
* obj6
= 0 ;
11684 PyObject
* obj7
= 0 ;
11685 PyObject
* obj8
= 0 ;
11686 char * kwnames
[] = {
11687 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11692 if (!SWIG_IsOK(res1
)) {
11693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11695 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11697 if (!SWIG_IsOK(res2
)) {
11698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11700 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11703 if (!SWIG_IsOK(ecode3
)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11706 arg3
= static_cast< int >(val3
);
11710 arg4
= wxString_in_helper(obj3
);
11711 if (arg4
== NULL
) SWIG_fail
;
11718 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11724 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11728 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11729 if (!SWIG_IsOK(ecode7
)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11732 arg7
= static_cast< long >(val7
);
11735 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11736 if (!SWIG_IsOK(res8
)) {
11737 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11742 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11746 arg9
= wxString_in_helper(obj8
);
11747 if (arg9
== NULL
) SWIG_fail
;
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11783 PyObject
*resultobj
= 0;
11784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11788 PyObject
*swig_obj
[1] ;
11790 if (!args
) SWIG_fail
;
11791 swig_obj
[0] = args
;
11792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11793 if (!SWIG_IsOK(res1
)) {
11794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11796 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11816 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
= 0;
11818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11819 wxString
*arg2
= 0 ;
11822 bool temp2
= false ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char * kwnames
[] = {
11826 (char *) "self",(char *) "value", NULL
11829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11834 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11836 arg2
= wxString_in_helper(obj1
);
11837 if (arg2
== NULL
) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 (arg1
)->SetValue((wxString
const &)*arg2
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= SWIG_Py_Void();
11861 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
= 0;
11863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 PyObject
* obj2
= 0 ;
11876 char * kwnames
[] = {
11877 (char *) "self",(char *) "from",(char *) "to", NULL
11880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11885 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11887 if (!SWIG_IsOK(ecode2
)) {
11888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11890 arg2
= static_cast< long >(val2
);
11891 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11892 if (!SWIG_IsOK(ecode3
)) {
11893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11895 arg3
= static_cast< long >(val3
);
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11915 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
= 0;
11917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11924 PyObject
* obj0
= 0 ;
11925 PyObject
* obj1
= 0 ;
11926 char * kwnames
[] = {
11927 (char *) "self",(char *) "lineNo", NULL
11930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11932 if (!SWIG_IsOK(res1
)) {
11933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11935 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11936 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11937 if (!SWIG_IsOK(ecode2
)) {
11938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11940 arg2
= static_cast< long >(val2
);
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= SWIG_From_int(static_cast< int >(result
));
11954 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
= 0;
11956 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 char * kwnames
[] = {
11966 (char *) "self",(char *) "lineNo", NULL
11969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11974 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11976 if (!SWIG_IsOK(ecode2
)) {
11977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11979 arg2
= static_cast< long >(val2
);
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11999 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12000 PyObject
*resultobj
= 0;
12001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12005 PyObject
*swig_obj
[1] ;
12007 if (!args
) SWIG_fail
;
12008 swig_obj
[0] = args
;
12009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12013 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_From_int(static_cast< int >(result
));
12027 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12028 PyObject
*resultobj
= 0;
12029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12033 PyObject
*swig_obj
[1] ;
12035 if (!args
) SWIG_fail
;
12036 swig_obj
[0] = args
;
12037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12038 if (!SWIG_IsOK(res1
)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12041 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12057 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12058 PyObject
*resultobj
= 0;
12059 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12063 PyObject
*swig_obj
[1] ;
12065 if (!args
) SWIG_fail
;
12066 swig_obj
[0] = args
;
12067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12068 if (!SWIG_IsOK(res1
)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12071 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12087 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12093 PyObject
*swig_obj
[1] ;
12095 if (!args
) SWIG_fail
;
12096 swig_obj
[0] = args
;
12097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12101 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12117 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12118 PyObject
*resultobj
= 0;
12119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12123 PyObject
*swig_obj
[1] ;
12125 if (!args
) SWIG_fail
;
12126 swig_obj
[0] = args
;
12127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12128 if (!SWIG_IsOK(res1
)) {
12129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12131 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12147 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12148 PyObject
*resultobj
= 0;
12149 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12150 long *arg2
= (long *) 0 ;
12151 long *arg3
= (long *) 0 ;
12155 int res2
= SWIG_TMPOBJ
;
12157 int res3
= SWIG_TMPOBJ
;
12158 PyObject
*swig_obj
[1] ;
12162 if (!args
) SWIG_fail
;
12163 swig_obj
[0] = args
;
12164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12165 if (!SWIG_IsOK(res1
)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12168 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= SWIG_Py_Void();
12176 if (SWIG_IsTmpObj(res2
)) {
12177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12179 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12182 if (SWIG_IsTmpObj(res3
)) {
12183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12185 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12194 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12195 PyObject
*resultobj
= 0;
12196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12200 PyObject
*swig_obj
[1] ;
12202 if (!args
) SWIG_fail
;
12203 swig_obj
[0] = args
;
12204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12205 if (!SWIG_IsOK(res1
)) {
12206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12208 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12228 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 PyObject
*resultobj
= 0;
12230 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12233 PyObject
*swig_obj
[1] ;
12235 if (!args
) SWIG_fail
;
12236 swig_obj
[0] = args
;
12237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12238 if (!SWIG_IsOK(res1
)) {
12239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12241 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= SWIG_Py_Void();
12255 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
= 0;
12257 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12260 wxString
*arg4
= 0 ;
12267 bool temp4
= false ;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 PyObject
* obj2
= 0 ;
12271 PyObject
* obj3
= 0 ;
12272 char * kwnames
[] = {
12273 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12278 if (!SWIG_IsOK(res1
)) {
12279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12281 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12282 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12283 if (!SWIG_IsOK(ecode2
)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12286 arg2
= static_cast< long >(val2
);
12287 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12288 if (!SWIG_IsOK(ecode3
)) {
12289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12291 arg3
= static_cast< long >(val3
);
12293 arg4
= wxString_in_helper(obj3
);
12294 if (arg4
== NULL
) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_Py_Void();
12318 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
= 0;
12320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 PyObject
* obj2
= 0 ;
12332 char * kwnames
[] = {
12333 (char *) "self",(char *) "from",(char *) "to", NULL
12336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12338 if (!SWIG_IsOK(res1
)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12341 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12342 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12343 if (!SWIG_IsOK(ecode2
)) {
12344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12346 arg2
= static_cast< long >(val2
);
12347 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12348 if (!SWIG_IsOK(ecode3
)) {
12349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12351 arg3
= static_cast< long >(val3
);
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 (arg1
)->Remove(arg2
,arg3
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_Py_Void();
12365 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
= 0;
12367 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12368 wxString
*arg2
= 0 ;
12372 bool temp2
= false ;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 char * kwnames
[] = {
12376 (char *) "self",(char *) "file", NULL
12379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12381 if (!SWIG_IsOK(res1
)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12384 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12386 arg2
= wxString_in_helper(obj1
);
12387 if (arg2
== NULL
) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12413 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= 0;
12415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12416 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12417 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12421 bool temp2
= false ;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char * kwnames
[] = {
12425 (char *) "self",(char *) "file", NULL
12428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12433 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12436 arg2
= wxString_in_helper(obj1
);
12437 if (arg2
== NULL
) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12464 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12465 PyObject
*resultobj
= 0;
12466 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12469 PyObject
*swig_obj
[1] ;
12471 if (!args
) SWIG_fail
;
12472 swig_obj
[0] = args
;
12473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12474 if (!SWIG_IsOK(res1
)) {
12475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12477 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->MarkDirty();
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_Py_Void();
12491 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12492 PyObject
*resultobj
= 0;
12493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12496 PyObject
*swig_obj
[1] ;
12498 if (!args
) SWIG_fail
;
12499 swig_obj
[0] = args
;
12500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12504 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 (arg1
)->DiscardEdits();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= SWIG_Py_Void();
12518 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
= 0;
12520 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 PyObject
* obj1
= 0 ;
12528 char * kwnames
[] = {
12529 (char *) "self",(char *) "modified", NULL
12532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12534 if (!SWIG_IsOK(res1
)) {
12535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12537 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12538 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12539 if (!SWIG_IsOK(ecode2
)) {
12540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12542 arg2
= static_cast< bool >(val2
);
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->SetModified(arg2
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= SWIG_Py_Void();
12556 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
= 0;
12558 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12559 unsigned long arg2
;
12562 unsigned long val2
;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char * kwnames
[] = {
12567 (char *) "self",(char *) "len", NULL
12570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12572 if (!SWIG_IsOK(res1
)) {
12573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12575 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12576 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12577 if (!SWIG_IsOK(ecode2
)) {
12578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12580 arg2
= static_cast< unsigned long >(val2
);
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 (arg1
)->SetMaxLength(arg2
);
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_Py_Void();
12594 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
= 0;
12596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12597 wxString
*arg2
= 0 ;
12600 bool temp2
= false ;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "self",(char *) "text", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12612 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12614 arg2
= wxString_in_helper(obj1
);
12615 if (arg2
== NULL
) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->WriteText((wxString
const &)*arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12639 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12642 wxString
*arg2
= 0 ;
12645 bool temp2
= false ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 char * kwnames
[] = {
12649 (char *) "self",(char *) "text", NULL
12652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12654 if (!SWIG_IsOK(res1
)) {
12655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12657 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12659 arg2
= wxString_in_helper(obj1
);
12660 if (arg2
== NULL
) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 (arg1
)->AppendText((wxString
const &)*arg2
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_Py_Void();
12684 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
= 0;
12686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12687 wxKeyEvent
*arg2
= 0 ;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char * kwnames
[] = {
12696 (char *) "self",(char *) "event", NULL
12699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12704 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12706 if (!SWIG_IsOK(res2
)) {
12707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12712 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12728 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
= 0;
12730 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12733 wxTextAttr
*arg4
= 0 ;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 PyObject
* obj2
= 0 ;
12746 PyObject
* obj3
= 0 ;
12747 char * kwnames
[] = {
12748 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12753 if (!SWIG_IsOK(res1
)) {
12754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12756 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12757 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12758 if (!SWIG_IsOK(ecode2
)) {
12759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12761 arg2
= static_cast< long >(val2
);
12762 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12763 if (!SWIG_IsOK(ecode3
)) {
12764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12766 arg3
= static_cast< long >(val3
);
12767 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12768 if (!SWIG_IsOK(res4
)) {
12769 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12774 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12790 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12794 wxTextAttr
*arg3
= 0 ;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 PyObject
* obj2
= 0 ;
12805 char * kwnames
[] = {
12806 (char *) "self",(char *) "position",(char *) "style", NULL
12809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12811 if (!SWIG_IsOK(res1
)) {
12812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12814 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12815 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12816 if (!SWIG_IsOK(ecode2
)) {
12817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12819 arg2
= static_cast< long >(val2
);
12820 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12821 if (!SWIG_IsOK(res3
)) {
12822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12827 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12843 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12846 wxTextAttr
*arg2
= 0 ;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 char * kwnames
[] = {
12855 (char *) "self",(char *) "style", NULL
12858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12860 if (!SWIG_IsOK(res1
)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12863 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12865 if (!SWIG_IsOK(res2
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12871 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12887 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12888 PyObject
*resultobj
= 0;
12889 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12890 wxTextAttr
*result
= 0 ;
12893 PyObject
*swig_obj
[1] ;
12895 if (!args
) SWIG_fail
;
12896 swig_obj
[0] = args
;
12897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12898 if (!SWIG_IsOK(res1
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12901 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12906 result
= (wxTextAttr
*) &_result_ref
;
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12918 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 PyObject
* obj2
= 0 ;
12933 char * kwnames
[] = {
12934 (char *) "self",(char *) "x",(char *) "y", NULL
12937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12939 if (!SWIG_IsOK(res1
)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12942 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12943 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12944 if (!SWIG_IsOK(ecode2
)) {
12945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12947 arg2
= static_cast< long >(val2
);
12948 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12949 if (!SWIG_IsOK(ecode3
)) {
12950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12952 arg3
= static_cast< long >(val3
);
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= SWIG_From_long(static_cast< long >(result
));
12966 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
= 0;
12968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12970 long *arg3
= (long *) 0 ;
12971 long *arg4
= (long *) 0 ;
12977 int res3
= SWIG_TMPOBJ
;
12979 int res4
= SWIG_TMPOBJ
;
12980 PyObject
* obj0
= 0 ;
12981 PyObject
* obj1
= 0 ;
12982 char * kwnames
[] = {
12983 (char *) "self",(char *) "pos", NULL
12988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12990 if (!SWIG_IsOK(res1
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12993 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12994 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12995 if (!SWIG_IsOK(ecode2
)) {
12996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12998 arg2
= static_cast< long >(val2
);
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_Py_Void();
13006 if (SWIG_IsTmpObj(res3
)) {
13007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13009 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13012 if (SWIG_IsTmpObj(res4
)) {
13013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13015 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13024 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= 0;
13026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj1
= 0 ;
13034 char * kwnames
[] = {
13035 (char *) "self",(char *) "pos", NULL
13038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13040 if (!SWIG_IsOK(res1
)) {
13041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13043 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13044 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13045 if (!SWIG_IsOK(ecode2
)) {
13046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13048 arg2
= static_cast< long >(val2
);
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 (arg1
)->ShowPosition(arg2
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= SWIG_Py_Void();
13062 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
= 0;
13064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13065 wxPoint
*arg2
= 0 ;
13066 long *arg3
= (long *) 0 ;
13067 long *arg4
= (long *) 0 ;
13068 wxTextCtrlHitTestResult result
;
13073 int res3
= SWIG_TMPOBJ
;
13075 int res4
= SWIG_TMPOBJ
;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 char * kwnames
[] = {
13079 (char *) "self",(char *) "pt", NULL
13084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13086 if (!SWIG_IsOK(res1
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13089 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= SWIG_From_int(static_cast< int >(result
));
13101 if (SWIG_IsTmpObj(res3
)) {
13102 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13104 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13107 if (SWIG_IsTmpObj(res4
)) {
13108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13110 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13119 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
= 0;
13121 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13122 wxPoint
*arg2
= 0 ;
13123 long *arg3
= (long *) 0 ;
13124 wxTextCtrlHitTestResult result
;
13129 int res3
= SWIG_TMPOBJ
;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char * kwnames
[] = {
13133 (char *) "self",(char *) "pt", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13142 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_From_int(static_cast< int >(result
));
13154 if (SWIG_IsTmpObj(res3
)) {
13155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13157 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13166 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13167 PyObject
*resultobj
= 0;
13168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13171 PyObject
*swig_obj
[1] ;
13173 if (!args
) SWIG_fail
;
13174 swig_obj
[0] = args
;
13175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13176 if (!SWIG_IsOK(res1
)) {
13177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13179 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_Py_Void();
13193 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13194 PyObject
*resultobj
= 0;
13195 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13198 PyObject
*swig_obj
[1] ;
13200 if (!args
) SWIG_fail
;
13201 swig_obj
[0] = args
;
13202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13203 if (!SWIG_IsOK(res1
)) {
13204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13206 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_Py_Void();
13220 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13221 PyObject
*resultobj
= 0;
13222 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13225 PyObject
*swig_obj
[1] ;
13227 if (!args
) SWIG_fail
;
13228 swig_obj
[0] = args
;
13229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13233 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_Py_Void();
13247 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13248 PyObject
*resultobj
= 0;
13249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13253 PyObject
*swig_obj
[1] ;
13255 if (!args
) SWIG_fail
;
13256 swig_obj
[0] = args
;
13257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13258 if (!SWIG_IsOK(res1
)) {
13259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13261 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13277 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13278 PyObject
*resultobj
= 0;
13279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13283 PyObject
*swig_obj
[1] ;
13285 if (!args
) SWIG_fail
;
13286 swig_obj
[0] = args
;
13287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13288 if (!SWIG_IsOK(res1
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13291 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13307 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13308 PyObject
*resultobj
= 0;
13309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13313 PyObject
*swig_obj
[1] ;
13315 if (!args
) SWIG_fail
;
13316 swig_obj
[0] = args
;
13317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13318 if (!SWIG_IsOK(res1
)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13321 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13337 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13338 PyObject
*resultobj
= 0;
13339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13342 PyObject
*swig_obj
[1] ;
13344 if (!args
) SWIG_fail
;
13345 swig_obj
[0] = args
;
13346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13350 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_Py_Void();
13364 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13365 PyObject
*resultobj
= 0;
13366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13369 PyObject
*swig_obj
[1] ;
13371 if (!args
) SWIG_fail
;
13372 swig_obj
[0] = args
;
13373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13374 if (!SWIG_IsOK(res1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13377 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_Py_Void();
13391 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 PyObject
*resultobj
= 0;
13393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13397 PyObject
*swig_obj
[1] ;
13399 if (!args
) SWIG_fail
;
13400 swig_obj
[0] = args
;
13401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13402 if (!SWIG_IsOK(res1
)) {
13403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13405 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13421 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13427 PyObject
*swig_obj
[1] ;
13429 if (!args
) SWIG_fail
;
13430 swig_obj
[0] = args
;
13431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13435 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13451 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
= 0;
13453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 char * kwnames
[] = {
13462 (char *) "self",(char *) "pos", NULL
13465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13467 if (!SWIG_IsOK(res1
)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13470 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13471 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13472 if (!SWIG_IsOK(ecode2
)) {
13473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13475 arg2
= static_cast< long >(val2
);
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 (arg1
)->SetInsertionPoint(arg2
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= SWIG_Py_Void();
13489 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13490 PyObject
*resultobj
= 0;
13491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13494 PyObject
*swig_obj
[1] ;
13496 if (!args
) SWIG_fail
;
13497 swig_obj
[0] = args
;
13498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13499 if (!SWIG_IsOK(res1
)) {
13500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13502 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 (arg1
)->SetInsertionPointEnd();
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= SWIG_Py_Void();
13516 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13517 PyObject
*resultobj
= 0;
13518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13522 PyObject
*swig_obj
[1] ;
13524 if (!args
) SWIG_fail
;
13525 swig_obj
[0] = args
;
13526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13527 if (!SWIG_IsOK(res1
)) {
13528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13530 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_From_long(static_cast< long >(result
));
13544 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13545 PyObject
*resultobj
= 0;
13546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13550 PyObject
*swig_obj
[1] ;
13552 if (!args
) SWIG_fail
;
13553 swig_obj
[0] = args
;
13554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13555 if (!SWIG_IsOK(res1
)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13558 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_From_long(static_cast< long >(result
));
13572 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
= 0;
13574 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 PyObject
* obj1
= 0 ;
13585 PyObject
* obj2
= 0 ;
13586 char * kwnames
[] = {
13587 (char *) "self",(char *) "from",(char *) "to", NULL
13590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13592 if (!SWIG_IsOK(res1
)) {
13593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13595 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13596 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13597 if (!SWIG_IsOK(ecode2
)) {
13598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13600 arg2
= static_cast< long >(val2
);
13601 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13602 if (!SWIG_IsOK(ecode3
)) {
13603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13605 arg3
= static_cast< long >(val3
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 (arg1
)->SetSelection(arg2
,arg3
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_Py_Void();
13619 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13620 PyObject
*resultobj
= 0;
13621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13624 PyObject
*swig_obj
[1] ;
13626 if (!args
) SWIG_fail
;
13627 swig_obj
[0] = args
;
13628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13629 if (!SWIG_IsOK(res1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13632 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 (arg1
)->SelectAll();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_Py_Void();
13646 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
= 0;
13648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 char * kwnames
[] = {
13657 (char *) "self",(char *) "editable", NULL
13660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13662 if (!SWIG_IsOK(res1
)) {
13663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13665 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13666 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13667 if (!SWIG_IsOK(ecode2
)) {
13668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13670 arg2
= static_cast< bool >(val2
);
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 (arg1
)->SetEditable(arg2
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_Py_Void();
13684 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= 0;
13686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13687 wxString
*arg2
= 0 ;
13690 bool temp2
= false ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char * kwnames
[] = {
13694 (char *) "self",(char *) "text", NULL
13697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13702 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13704 arg2
= wxString_in_helper(obj1
);
13705 if (arg2
== NULL
) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_Py_Void();
13729 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
= 0;
13731 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 PyObject
* obj2
= 0 ;
13744 char * kwnames
[] = {
13745 (char *) "self",(char *) "from",(char *) "to", NULL
13748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13750 if (!SWIG_IsOK(res1
)) {
13751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13753 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13754 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13755 if (!SWIG_IsOK(ecode2
)) {
13756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13758 arg2
= static_cast< long >(val2
);
13759 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13760 if (!SWIG_IsOK(ecode3
)) {
13761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13763 arg3
= static_cast< long >(val3
);
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13783 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
= 0;
13785 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13786 SwigValueWrapper
<wxVisualAttributes
> result
;
13789 PyObject
* obj0
= 0 ;
13790 char * kwnames
[] = {
13791 (char *) "variant", NULL
13794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13797 if (!SWIG_IsOK(ecode1
)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13800 arg1
= static_cast< wxWindowVariant
>(val1
);
13803 if (!wxPyCheckForApp()) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13816 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13819 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13820 return SWIG_Py_Void();
13823 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13824 return SWIG_Python_InitShadowInstance(args
);
13827 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
= 0;
13830 wxMouseEvent
*arg2
= 0 ;
13833 wxTextUrlEvent
*result
= 0 ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 PyObject
* obj2
= 0 ;
13845 PyObject
* obj3
= 0 ;
13846 char * kwnames
[] = {
13847 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13851 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13852 if (!SWIG_IsOK(ecode1
)) {
13853 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13855 arg1
= static_cast< int >(val1
);
13856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13857 if (!SWIG_IsOK(res2
)) {
13858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13863 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13864 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13865 if (!SWIG_IsOK(ecode3
)) {
13866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13868 arg3
= static_cast< long >(val3
);
13869 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13870 if (!SWIG_IsOK(ecode4
)) {
13871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13873 arg4
= static_cast< long >(val4
);
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13887 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13888 PyObject
*resultobj
= 0;
13889 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13890 wxMouseEvent
*result
= 0 ;
13893 PyObject
*swig_obj
[1] ;
13895 if (!args
) SWIG_fail
;
13896 swig_obj
[0] = args
;
13897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13898 if (!SWIG_IsOK(res1
)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13901 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13906 result
= (wxMouseEvent
*) &_result_ref
;
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13918 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13919 PyObject
*resultobj
= 0;
13920 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13924 PyObject
*swig_obj
[1] ;
13926 if (!args
) SWIG_fail
;
13927 swig_obj
[0] = args
;
13928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13932 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_From_long(static_cast< long >(result
));
13946 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13947 PyObject
*resultobj
= 0;
13948 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13952 PyObject
*swig_obj
[1] ;
13954 if (!args
) SWIG_fail
;
13955 swig_obj
[0] = args
;
13956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13957 if (!SWIG_IsOK(res1
)) {
13958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13960 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= SWIG_From_long(static_cast< long >(result
));
13974 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13977 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13978 return SWIG_Py_Void();
13981 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13982 return SWIG_Python_InitShadowInstance(args
);
13985 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13986 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13991 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13992 PyObject
*pyobj
= 0;
13996 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13998 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14005 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
= 0;
14007 wxWindow
*arg1
= (wxWindow
*) 0 ;
14008 int arg2
= (int) -1 ;
14009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14013 long arg5
= (long) wxSB_HORIZONTAL
;
14014 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14015 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14016 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14017 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14018 wxScrollBar
*result
= 0 ;
14029 bool temp7
= false ;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 PyObject
* obj2
= 0 ;
14033 PyObject
* obj3
= 0 ;
14034 PyObject
* obj4
= 0 ;
14035 PyObject
* obj5
= 0 ;
14036 PyObject
* obj6
= 0 ;
14037 char * kwnames
[] = {
14038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14043 if (!SWIG_IsOK(res1
)) {
14044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14049 if (!SWIG_IsOK(ecode2
)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14052 arg2
= static_cast< int >(val2
);
14057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14063 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14067 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14068 if (!SWIG_IsOK(ecode5
)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14071 arg5
= static_cast< long >(val5
);
14074 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14075 if (!SWIG_IsOK(res6
)) {
14076 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14081 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14085 arg7
= wxString_in_helper(obj6
);
14086 if (arg7
== NULL
) SWIG_fail
;
14091 if (!wxPyCheckForApp()) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14112 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14113 PyObject
*resultobj
= 0;
14114 wxScrollBar
*result
= 0 ;
14116 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14118 if (!wxPyCheckForApp()) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (wxScrollBar
*)new wxScrollBar();
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14131 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= 0;
14133 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14134 wxWindow
*arg2
= (wxWindow
*) 0 ;
14135 int arg3
= (int) -1 ;
14136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14140 long arg6
= (long) wxSB_HORIZONTAL
;
14141 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14142 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14143 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14144 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14158 bool temp8
= false ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 PyObject
* obj2
= 0 ;
14162 PyObject
* obj3
= 0 ;
14163 PyObject
* obj4
= 0 ;
14164 PyObject
* obj5
= 0 ;
14165 PyObject
* obj6
= 0 ;
14166 PyObject
* obj7
= 0 ;
14167 char * kwnames
[] = {
14168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14176 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14178 if (!SWIG_IsOK(res2
)) {
14179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14184 if (!SWIG_IsOK(ecode3
)) {
14185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14187 arg3
= static_cast< int >(val3
);
14192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14202 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14203 if (!SWIG_IsOK(ecode6
)) {
14204 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14206 arg6
= static_cast< long >(val6
);
14209 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14210 if (!SWIG_IsOK(res7
)) {
14211 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14216 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14220 arg8
= wxString_in_helper(obj7
);
14221 if (arg8
== NULL
) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14249 PyObject
*resultobj
= 0;
14250 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14254 PyObject
*swig_obj
[1] ;
14256 if (!args
) SWIG_fail
;
14257 swig_obj
[0] = args
;
14258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14259 if (!SWIG_IsOK(res1
)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14262 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_From_int(static_cast< int >(result
));
14276 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14277 PyObject
*resultobj
= 0;
14278 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14282 PyObject
*swig_obj
[1] ;
14284 if (!args
) SWIG_fail
;
14285 swig_obj
[0] = args
;
14286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14287 if (!SWIG_IsOK(res1
)) {
14288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14290 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= SWIG_From_int(static_cast< int >(result
));
14304 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14305 PyObject
*resultobj
= 0;
14306 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14310 PyObject
*swig_obj
[1] ;
14312 if (!args
) SWIG_fail
;
14313 swig_obj
[0] = args
;
14314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14315 if (!SWIG_IsOK(res1
)) {
14316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14318 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= SWIG_From_int(static_cast< int >(result
));
14332 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14333 PyObject
*resultobj
= 0;
14334 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14338 PyObject
*swig_obj
[1] ;
14340 if (!args
) SWIG_fail
;
14341 swig_obj
[0] = args
;
14342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14343 if (!SWIG_IsOK(res1
)) {
14344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14346 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= SWIG_From_int(static_cast< int >(result
));
14360 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14361 PyObject
*resultobj
= 0;
14362 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14366 PyObject
*swig_obj
[1] ;
14368 if (!args
) SWIG_fail
;
14369 swig_obj
[0] = args
;
14370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14371 if (!SWIG_IsOK(res1
)) {
14372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14374 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14390 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
= 0;
14392 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 char * kwnames
[] = {
14401 (char *) "self",(char *) "viewStart", NULL
14404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14406 if (!SWIG_IsOK(res1
)) {
14407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14409 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14411 if (!SWIG_IsOK(ecode2
)) {
14412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14414 arg2
= static_cast< int >(val2
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 (arg1
)->SetThumbPosition(arg2
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_Py_Void();
14428 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
= 0;
14430 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14431 SwigValueWrapper
<wxVisualAttributes
> result
;
14434 PyObject
* obj0
= 0 ;
14435 char * kwnames
[] = {
14436 (char *) "variant", NULL
14439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14442 if (!SWIG_IsOK(ecode1
)) {
14443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14445 arg1
= static_cast< wxWindowVariant
>(val1
);
14448 if (!wxPyCheckForApp()) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14461 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14464 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14465 return SWIG_Py_Void();
14468 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14469 return SWIG_Python_InitShadowInstance(args
);
14472 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14473 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14478 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14479 PyObject
*pyobj
= 0;
14483 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14485 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14492 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14493 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14498 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14499 PyObject
*pyobj
= 0;
14503 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14505 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14512 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
= 0;
14514 wxWindow
*arg1
= (wxWindow
*) 0 ;
14515 int arg2
= (int) -1 ;
14516 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14517 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14518 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14519 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14520 long arg5
= (long) wxSP_HORIZONTAL
;
14521 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14522 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14523 wxSpinButton
*result
= 0 ;
14532 bool temp6
= false ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 PyObject
* obj2
= 0 ;
14536 PyObject
* obj3
= 0 ;
14537 PyObject
* obj4
= 0 ;
14538 PyObject
* obj5
= 0 ;
14539 char * kwnames
[] = {
14540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14545 if (!SWIG_IsOK(res1
)) {
14546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14551 if (!SWIG_IsOK(ecode2
)) {
14552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14554 arg2
= static_cast< int >(val2
);
14559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14565 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14569 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14570 if (!SWIG_IsOK(ecode5
)) {
14571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14573 arg5
= static_cast< long >(val5
);
14577 arg6
= wxString_in_helper(obj5
);
14578 if (arg6
== NULL
) SWIG_fail
;
14583 if (!wxPyCheckForApp()) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14604 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14605 PyObject
*resultobj
= 0;
14606 wxSpinButton
*result
= 0 ;
14608 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14610 if (!wxPyCheckForApp()) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (wxSpinButton
*)new wxSpinButton();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14623 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
= 0;
14625 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14626 wxWindow
*arg2
= (wxWindow
*) 0 ;
14627 int arg3
= (int) -1 ;
14628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14632 long arg6
= (long) wxSP_HORIZONTAL
;
14633 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14634 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14646 bool temp7
= false ;
14647 PyObject
* obj0
= 0 ;
14648 PyObject
* obj1
= 0 ;
14649 PyObject
* obj2
= 0 ;
14650 PyObject
* obj3
= 0 ;
14651 PyObject
* obj4
= 0 ;
14652 PyObject
* obj5
= 0 ;
14653 PyObject
* obj6
= 0 ;
14654 char * kwnames
[] = {
14655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14660 if (!SWIG_IsOK(res1
)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14663 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14665 if (!SWIG_IsOK(res2
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14671 if (!SWIG_IsOK(ecode3
)) {
14672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14674 arg3
= static_cast< int >(val3
);
14679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14689 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14690 if (!SWIG_IsOK(ecode6
)) {
14691 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14693 arg6
= static_cast< long >(val6
);
14697 arg7
= wxString_in_helper(obj6
);
14698 if (arg7
== NULL
) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14725 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14726 PyObject
*resultobj
= 0;
14727 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14731 PyObject
*swig_obj
[1] ;
14733 if (!args
) SWIG_fail
;
14734 swig_obj
[0] = args
;
14735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14736 if (!SWIG_IsOK(res1
)) {
14737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14739 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_From_int(static_cast< int >(result
));
14753 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14754 PyObject
*resultobj
= 0;
14755 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14759 PyObject
*swig_obj
[1] ;
14761 if (!args
) SWIG_fail
;
14762 swig_obj
[0] = args
;
14763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14764 if (!SWIG_IsOK(res1
)) {
14765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14767 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= SWIG_From_int(static_cast< int >(result
));
14781 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14782 PyObject
*resultobj
= 0;
14783 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14787 PyObject
*swig_obj
[1] ;
14789 if (!args
) SWIG_fail
;
14790 swig_obj
[0] = args
;
14791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14792 if (!SWIG_IsOK(res1
)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14795 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= SWIG_From_int(static_cast< int >(result
));
14809 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
= 0;
14811 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 char * kwnames
[] = {
14820 (char *) "self",(char *) "val", NULL
14823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14825 if (!SWIG_IsOK(res1
)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14828 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14830 if (!SWIG_IsOK(ecode2
)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14833 arg2
= static_cast< int >(val2
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 (arg1
)->SetValue(arg2
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_Py_Void();
14847 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
= 0;
14849 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj1
= 0 ;
14857 char * kwnames
[] = {
14858 (char *) "self",(char *) "minVal", NULL
14861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14866 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14868 if (!SWIG_IsOK(ecode2
)) {
14869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14871 arg2
= static_cast< int >(val2
);
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 (arg1
)->SetMin(arg2
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_Py_Void();
14885 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
= 0;
14887 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 char * kwnames
[] = {
14896 (char *) "self",(char *) "maxVal", NULL
14899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14904 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14906 if (!SWIG_IsOK(ecode2
)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14909 arg2
= static_cast< int >(val2
);
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 (arg1
)->SetMax(arg2
);
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= SWIG_Py_Void();
14923 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
= 0;
14925 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 char * kwnames
[] = {
14938 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14946 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14948 if (!SWIG_IsOK(ecode2
)) {
14949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14951 arg2
= static_cast< int >(val2
);
14952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14953 if (!SWIG_IsOK(ecode3
)) {
14954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14956 arg3
= static_cast< int >(val3
);
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 (arg1
)->SetRange(arg2
,arg3
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_Py_Void();
14970 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14971 PyObject
*resultobj
= 0;
14972 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14976 PyObject
*swig_obj
[1] ;
14978 if (!args
) SWIG_fail
;
14979 swig_obj
[0] = args
;
14980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14981 if (!SWIG_IsOK(res1
)) {
14982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14984 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15000 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
= 0;
15002 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15003 SwigValueWrapper
<wxVisualAttributes
> result
;
15006 PyObject
* obj0
= 0 ;
15007 char * kwnames
[] = {
15008 (char *) "variant", NULL
15011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15013 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15014 if (!SWIG_IsOK(ecode1
)) {
15015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15017 arg1
= static_cast< wxWindowVariant
>(val1
);
15020 if (!wxPyCheckForApp()) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15033 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15036 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15037 return SWIG_Py_Void();
15040 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15041 return SWIG_Python_InitShadowInstance(args
);
15044 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
= 0;
15046 wxWindow
*arg1
= (wxWindow
*) 0 ;
15047 int arg2
= (int) -1 ;
15048 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15049 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15050 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15051 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15052 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15053 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15054 long arg6
= (long) wxSP_ARROW_KEYS
;
15055 int arg7
= (int) 0 ;
15056 int arg8
= (int) 100 ;
15057 int arg9
= (int) 0 ;
15058 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15059 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15060 wxSpinCtrl
*result
= 0 ;
15065 bool temp3
= false ;
15076 bool temp10
= false ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 PyObject
* obj2
= 0 ;
15080 PyObject
* obj3
= 0 ;
15081 PyObject
* obj4
= 0 ;
15082 PyObject
* obj5
= 0 ;
15083 PyObject
* obj6
= 0 ;
15084 PyObject
* obj7
= 0 ;
15085 PyObject
* obj8
= 0 ;
15086 PyObject
* obj9
= 0 ;
15087 char * kwnames
[] = {
15088 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15093 if (!SWIG_IsOK(res1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15096 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15099 if (!SWIG_IsOK(ecode2
)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15102 arg2
= static_cast< int >(val2
);
15106 arg3
= wxString_in_helper(obj2
);
15107 if (arg3
== NULL
) SWIG_fail
;
15114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15124 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15125 if (!SWIG_IsOK(ecode6
)) {
15126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15128 arg6
= static_cast< long >(val6
);
15131 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15132 if (!SWIG_IsOK(ecode7
)) {
15133 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15135 arg7
= static_cast< int >(val7
);
15138 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15139 if (!SWIG_IsOK(ecode8
)) {
15140 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15142 arg8
= static_cast< int >(val8
);
15145 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15146 if (!SWIG_IsOK(ecode9
)) {
15147 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15149 arg9
= static_cast< int >(val9
);
15153 arg10
= wxString_in_helper(obj9
);
15154 if (arg10
== NULL
) SWIG_fail
;
15159 if (!wxPyCheckForApp()) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15188 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15189 PyObject
*resultobj
= 0;
15190 wxSpinCtrl
*result
= 0 ;
15192 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15194 if (!wxPyCheckForApp()) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15207 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
= 0;
15209 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15210 wxWindow
*arg2
= (wxWindow
*) 0 ;
15211 int arg3
= (int) -1 ;
15212 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15213 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15214 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15215 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15216 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15217 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15218 long arg7
= (long) wxSP_ARROW_KEYS
;
15219 int arg8
= (int) 0 ;
15220 int arg9
= (int) 100 ;
15221 int arg10
= (int) 0 ;
15222 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15223 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15231 bool temp4
= false ;
15242 bool temp11
= false ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 PyObject
* obj2
= 0 ;
15246 PyObject
* obj3
= 0 ;
15247 PyObject
* obj4
= 0 ;
15248 PyObject
* obj5
= 0 ;
15249 PyObject
* obj6
= 0 ;
15250 PyObject
* obj7
= 0 ;
15251 PyObject
* obj8
= 0 ;
15252 PyObject
* obj9
= 0 ;
15253 PyObject
* obj10
= 0 ;
15254 char * kwnames
[] = {
15255 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15263 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15265 if (!SWIG_IsOK(res2
)) {
15266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15271 if (!SWIG_IsOK(ecode3
)) {
15272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15274 arg3
= static_cast< int >(val3
);
15278 arg4
= wxString_in_helper(obj3
);
15279 if (arg4
== NULL
) SWIG_fail
;
15286 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15292 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15296 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15297 if (!SWIG_IsOK(ecode7
)) {
15298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15300 arg7
= static_cast< long >(val7
);
15303 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15304 if (!SWIG_IsOK(ecode8
)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15307 arg8
= static_cast< int >(val8
);
15310 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15311 if (!SWIG_IsOK(ecode9
)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15314 arg9
= static_cast< int >(val9
);
15317 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15318 if (!SWIG_IsOK(ecode10
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15321 arg10
= static_cast< int >(val10
);
15325 arg11
= wxString_in_helper(obj10
);
15326 if (arg11
== NULL
) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15361 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15362 PyObject
*resultobj
= 0;
15363 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15367 PyObject
*swig_obj
[1] ;
15369 if (!args
) SWIG_fail
;
15370 swig_obj
[0] = args
;
15371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15372 if (!SWIG_IsOK(res1
)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15375 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_From_int(static_cast< int >(result
));
15389 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
= 0;
15391 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 char * kwnames
[] = {
15400 (char *) "self",(char *) "value", NULL
15403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15408 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15410 if (!SWIG_IsOK(ecode2
)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15413 arg2
= static_cast< int >(val2
);
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 (arg1
)->SetValue(arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_Py_Void();
15427 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
= 0;
15429 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15430 wxString
*arg2
= 0 ;
15433 bool temp2
= false ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char * kwnames
[] = {
15437 (char *) "self",(char *) "text", NULL
15440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15442 if (!SWIG_IsOK(res1
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15445 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15447 arg2
= wxString_in_helper(obj1
);
15448 if (arg2
== NULL
) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->SetValue((wxString
const &)*arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_Py_Void();
15472 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
= 0;
15474 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 PyObject
* obj1
= 0 ;
15485 PyObject
* obj2
= 0 ;
15486 char * kwnames
[] = {
15487 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15492 if (!SWIG_IsOK(res1
)) {
15493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15495 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15497 if (!SWIG_IsOK(ecode2
)) {
15498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15500 arg2
= static_cast< int >(val2
);
15501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15502 if (!SWIG_IsOK(ecode3
)) {
15503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15505 arg3
= static_cast< int >(val3
);
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 (arg1
)->SetRange(arg2
,arg3
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= SWIG_Py_Void();
15519 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15520 PyObject
*resultobj
= 0;
15521 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15525 PyObject
*swig_obj
[1] ;
15527 if (!args
) SWIG_fail
;
15528 swig_obj
[0] = args
;
15529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15530 if (!SWIG_IsOK(res1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15533 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= SWIG_From_int(static_cast< int >(result
));
15547 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15548 PyObject
*resultobj
= 0;
15549 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15553 PyObject
*swig_obj
[1] ;
15555 if (!args
) SWIG_fail
;
15556 swig_obj
[0] = args
;
15557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15558 if (!SWIG_IsOK(res1
)) {
15559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15561 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= SWIG_From_int(static_cast< int >(result
));
15575 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
= 0;
15577 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 PyObject
* obj2
= 0 ;
15589 char * kwnames
[] = {
15590 (char *) "self",(char *) "from",(char *) "to", NULL
15593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15595 if (!SWIG_IsOK(res1
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15598 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15599 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15600 if (!SWIG_IsOK(ecode2
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15603 arg2
= static_cast< long >(val2
);
15604 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15605 if (!SWIG_IsOK(ecode3
)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15608 arg3
= static_cast< long >(val3
);
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 (arg1
)->SetSelection(arg2
,arg3
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_Py_Void();
15622 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
= 0;
15624 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15625 SwigValueWrapper
<wxVisualAttributes
> result
;
15628 PyObject
* obj0
= 0 ;
15629 char * kwnames
[] = {
15630 (char *) "variant", NULL
15633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15635 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15636 if (!SWIG_IsOK(ecode1
)) {
15637 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15639 arg1
= static_cast< wxWindowVariant
>(val1
);
15642 if (!wxPyCheckForApp()) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15655 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15658 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15659 return SWIG_Py_Void();
15662 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15663 return SWIG_Python_InitShadowInstance(args
);
15666 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= 0;
15668 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15669 int arg2
= (int) 0 ;
15670 wxSpinEvent
*result
= 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "commandType",(char *) "winid", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15683 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15684 if (!SWIG_IsOK(ecode1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15687 arg1
= static_cast< wxEventType
>(val1
);
15690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15691 if (!SWIG_IsOK(ecode2
)) {
15692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15694 arg2
= static_cast< int >(val2
);
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15709 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 PyObject
*resultobj
= 0;
15711 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15715 PyObject
*swig_obj
[1] ;
15717 if (!args
) SWIG_fail
;
15718 swig_obj
[0] = args
;
15719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15720 if (!SWIG_IsOK(res1
)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15723 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= SWIG_From_int(static_cast< int >(result
));
15737 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
= 0;
15739 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15745 PyObject
* obj0
= 0 ;
15746 PyObject
* obj1
= 0 ;
15747 char * kwnames
[] = {
15748 (char *) "self",(char *) "pos", NULL
15751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15753 if (!SWIG_IsOK(res1
)) {
15754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15756 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15758 if (!SWIG_IsOK(ecode2
)) {
15759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15761 arg2
= static_cast< int >(val2
);
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 (arg1
)->SetPosition(arg2
);
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_Py_Void();
15775 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15778 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15779 return SWIG_Py_Void();
15782 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15783 return SWIG_Python_InitShadowInstance(args
);
15786 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15787 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15792 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15793 PyObject
*pyobj
= 0;
15797 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15799 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15806 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15807 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15812 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15813 PyObject
*pyobj
= 0;
15817 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15819 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15826 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
= 0;
15828 wxWindow
*arg1
= (wxWindow
*) 0 ;
15829 int arg2
= (int) -1 ;
15830 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15836 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15837 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15838 int arg7
= (int) 0 ;
15839 long arg8
= (long) wxRA_HORIZONTAL
;
15840 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15841 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15842 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15843 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15844 wxRadioBox
*result
= 0 ;
15849 bool temp3
= false ;
15852 bool temp6
= false ;
15859 bool temp10
= false ;
15860 PyObject
* obj0
= 0 ;
15861 PyObject
* obj1
= 0 ;
15862 PyObject
* obj2
= 0 ;
15863 PyObject
* obj3
= 0 ;
15864 PyObject
* obj4
= 0 ;
15865 PyObject
* obj5
= 0 ;
15866 PyObject
* obj6
= 0 ;
15867 PyObject
* obj7
= 0 ;
15868 PyObject
* obj8
= 0 ;
15869 PyObject
* obj9
= 0 ;
15870 char * kwnames
[] = {
15871 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15876 if (!SWIG_IsOK(res1
)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15879 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15882 if (!SWIG_IsOK(ecode2
)) {
15883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15885 arg2
= static_cast< int >(val2
);
15889 arg3
= wxString_in_helper(obj2
);
15890 if (arg3
== NULL
) SWIG_fail
;
15897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15908 if (! PySequence_Check(obj5
)) {
15909 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15912 arg6
= new wxArrayString
;
15914 int i
, len
=PySequence_Length(obj5
);
15915 for (i
=0; i
<len
; i
++) {
15916 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15917 wxString
* s
= wxString_in_helper(item
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15926 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15927 if (!SWIG_IsOK(ecode7
)) {
15928 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15930 arg7
= static_cast< int >(val7
);
15933 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15934 if (!SWIG_IsOK(ecode8
)) {
15935 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15937 arg8
= static_cast< long >(val8
);
15940 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15941 if (!SWIG_IsOK(res9
)) {
15942 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15947 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15951 arg10
= wxString_in_helper(obj9
);
15952 if (arg10
== NULL
) SWIG_fail
;
15957 if (!wxPyCheckForApp()) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 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
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15969 if (temp6
) delete arg6
;
15982 if (temp6
) delete arg6
;
15992 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15993 PyObject
*resultobj
= 0;
15994 wxRadioBox
*result
= 0 ;
15996 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15998 if (!wxPyCheckForApp()) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= (wxRadioBox
*)new wxRadioBox();
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16011 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
= 0;
16013 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16014 wxWindow
*arg2
= (wxWindow
*) 0 ;
16015 int arg3
= (int) -1 ;
16016 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16017 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16018 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16019 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16020 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16021 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16022 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16023 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16024 int arg8
= (int) 0 ;
16025 long arg9
= (long) wxRA_HORIZONTAL
;
16026 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16027 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16028 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16029 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16037 bool temp4
= false ;
16040 bool temp7
= false ;
16047 bool temp11
= false ;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 PyObject
* obj2
= 0 ;
16051 PyObject
* obj3
= 0 ;
16052 PyObject
* obj4
= 0 ;
16053 PyObject
* obj5
= 0 ;
16054 PyObject
* obj6
= 0 ;
16055 PyObject
* obj7
= 0 ;
16056 PyObject
* obj8
= 0 ;
16057 PyObject
* obj9
= 0 ;
16058 PyObject
* obj10
= 0 ;
16059 char * kwnames
[] = {
16060 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16065 if (!SWIG_IsOK(res1
)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16068 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16070 if (!SWIG_IsOK(res2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16073 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16076 if (!SWIG_IsOK(ecode3
)) {
16077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16079 arg3
= static_cast< int >(val3
);
16083 arg4
= wxString_in_helper(obj3
);
16084 if (arg4
== NULL
) SWIG_fail
;
16091 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16097 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16102 if (! PySequence_Check(obj6
)) {
16103 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16106 arg7
= new wxArrayString
;
16108 int i
, len
=PySequence_Length(obj6
);
16109 for (i
=0; i
<len
; i
++) {
16110 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16111 wxString
* s
= wxString_in_helper(item
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16120 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16121 if (!SWIG_IsOK(ecode8
)) {
16122 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16124 arg8
= static_cast< int >(val8
);
16127 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16128 if (!SWIG_IsOK(ecode9
)) {
16129 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16131 arg9
= static_cast< long >(val9
);
16134 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16135 if (!SWIG_IsOK(res10
)) {
16136 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16141 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16145 arg11
= wxString_in_helper(obj10
);
16146 if (arg11
== NULL
) SWIG_fail
;
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 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
);
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16164 if (temp7
) delete arg7
;
16177 if (temp7
) delete arg7
;
16187 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
= 0;
16189 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 char * kwnames
[] = {
16198 (char *) "self",(char *) "n", NULL
16201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16203 if (!SWIG_IsOK(res1
)) {
16204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16206 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16208 if (!SWIG_IsOK(ecode2
)) {
16209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16211 arg2
= static_cast< int >(val2
);
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 (arg1
)->SetSelection(arg2
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= SWIG_Py_Void();
16225 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16226 PyObject
*resultobj
= 0;
16227 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16231 PyObject
*swig_obj
[1] ;
16233 if (!args
) SWIG_fail
;
16234 swig_obj
[0] = args
;
16235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16236 if (!SWIG_IsOK(res1
)) {
16237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16239 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= SWIG_From_int(static_cast< int >(result
));
16253 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16254 PyObject
*resultobj
= 0;
16255 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16259 PyObject
*swig_obj
[1] ;
16261 if (!args
) SWIG_fail
;
16262 swig_obj
[0] = args
;
16263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16264 if (!SWIG_IsOK(res1
)) {
16265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16267 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16287 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
= 0;
16289 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16290 wxString
*arg2
= 0 ;
16294 bool temp2
= false ;
16295 PyObject
* obj0
= 0 ;
16296 PyObject
* obj1
= 0 ;
16297 char * kwnames
[] = {
16298 (char *) "self",(char *) "s", NULL
16301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16303 if (!SWIG_IsOK(res1
)) {
16304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16306 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16308 arg2
= wxString_in_helper(obj1
);
16309 if (arg2
== NULL
) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16336 PyObject
*resultobj
= 0;
16337 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16341 PyObject
*swig_obj
[1] ;
16343 if (!args
) SWIG_fail
;
16344 swig_obj
[0] = args
;
16345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16346 if (!SWIG_IsOK(res1
)) {
16347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16349 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16363 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
= 0;
16365 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16366 wxString
*arg2
= 0 ;
16370 bool temp2
= false ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 char * kwnames
[] = {
16374 (char *) "self",(char *) "s", NULL
16377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16379 if (!SWIG_IsOK(res1
)) {
16380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16382 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16384 arg2
= wxString_in_helper(obj1
);
16385 if (arg2
== NULL
) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_From_int(static_cast< int >(result
));
16409 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
= 0;
16411 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16418 PyObject
* obj0
= 0 ;
16419 PyObject
* obj1
= 0 ;
16420 char * kwnames
[] = {
16421 (char *) "self",(char *) "n", NULL
16424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16426 if (!SWIG_IsOK(res1
)) {
16427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16429 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16431 if (!SWIG_IsOK(ecode2
)) {
16432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16434 arg2
= static_cast< int >(val2
);
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16454 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
= 0;
16456 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16458 wxString
*arg3
= 0 ;
16463 bool temp3
= false ;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 PyObject
* obj2
= 0 ;
16467 char * kwnames
[] = {
16468 (char *) "self",(char *) "n",(char *) "label", NULL
16471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16473 if (!SWIG_IsOK(res1
)) {
16474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16476 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16478 if (!SWIG_IsOK(ecode2
)) {
16479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16481 arg2
= static_cast< int >(val2
);
16483 arg3
= wxString_in_helper(obj2
);
16484 if (arg3
== NULL
) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= SWIG_Py_Void();
16508 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= 0;
16510 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16511 unsigned int arg2
;
16512 bool arg3
= (bool) true ;
16515 unsigned int val2
;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 PyObject
* obj2
= 0 ;
16522 char * kwnames
[] = {
16523 (char *) "self",(char *) "n",(char *) "enable", NULL
16526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16528 if (!SWIG_IsOK(res1
)) {
16529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16531 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16532 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16533 if (!SWIG_IsOK(ecode2
)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16536 arg2
= static_cast< unsigned int >(val2
);
16538 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16539 if (!SWIG_IsOK(ecode3
)) {
16540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16542 arg3
= static_cast< bool >(val3
);
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 (arg1
)->Enable(arg2
,arg3
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= SWIG_Py_Void();
16557 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
= 0;
16559 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16560 unsigned int arg2
;
16561 bool arg3
= (bool) true ;
16564 unsigned int val2
;
16568 PyObject
* obj0
= 0 ;
16569 PyObject
* obj1
= 0 ;
16570 PyObject
* obj2
= 0 ;
16571 char * kwnames
[] = {
16572 (char *) "self",(char *) "n",(char *) "show", NULL
16575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16577 if (!SWIG_IsOK(res1
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16580 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16581 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16582 if (!SWIG_IsOK(ecode2
)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16585 arg2
= static_cast< unsigned int >(val2
);
16587 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16588 if (!SWIG_IsOK(ecode3
)) {
16589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16591 arg3
= static_cast< bool >(val3
);
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 (arg1
)->Show(arg2
,arg3
);
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= SWIG_Py_Void();
16606 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
= 0;
16608 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16609 unsigned int arg2
;
16613 unsigned int val2
;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 char * kwnames
[] = {
16618 (char *) "self",(char *) "n", NULL
16621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16623 if (!SWIG_IsOK(res1
)) {
16624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16626 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16627 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16628 if (!SWIG_IsOK(ecode2
)) {
16629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16631 arg2
= static_cast< unsigned int >(val2
);
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16647 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
= 0;
16649 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16650 unsigned int arg2
;
16654 unsigned int val2
;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char * kwnames
[] = {
16659 (char *) "self",(char *) "n", NULL
16662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16667 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16668 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16669 if (!SWIG_IsOK(ecode2
)) {
16670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16672 arg2
= static_cast< unsigned int >(val2
);
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16688 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16689 PyObject
*resultobj
= 0;
16690 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16691 unsigned int result
;
16694 PyObject
*swig_obj
[1] ;
16696 if (!args
) SWIG_fail
;
16697 swig_obj
[0] = args
;
16698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16699 if (!SWIG_IsOK(res1
)) {
16700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16702 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16716 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16717 PyObject
*resultobj
= 0;
16718 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16719 unsigned int result
;
16722 PyObject
*swig_obj
[1] ;
16724 if (!args
) SWIG_fail
;
16725 swig_obj
[0] = args
;
16726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16727 if (!SWIG_IsOK(res1
)) {
16728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16730 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16744 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
= 0;
16746 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 PyObject
* obj1
= 0 ;
16761 PyObject
* obj2
= 0 ;
16762 PyObject
* obj3
= 0 ;
16763 char * kwnames
[] = {
16764 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16769 if (!SWIG_IsOK(res1
)) {
16770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16772 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16774 if (!SWIG_IsOK(ecode2
)) {
16775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16777 arg2
= static_cast< int >(val2
);
16778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16779 if (!SWIG_IsOK(ecode3
)) {
16780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16782 arg3
= static_cast< wxDirection
>(val3
);
16783 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16784 if (!SWIG_IsOK(ecode4
)) {
16785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16787 arg4
= static_cast< long >(val4
);
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_From_int(static_cast< int >(result
));
16801 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
= 0;
16803 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16804 unsigned int arg2
;
16805 wxString
*arg3
= 0 ;
16808 unsigned int val2
;
16810 bool temp3
= false ;
16811 PyObject
* obj0
= 0 ;
16812 PyObject
* obj1
= 0 ;
16813 PyObject
* obj2
= 0 ;
16814 char * kwnames
[] = {
16815 (char *) "self",(char *) "item",(char *) "text", NULL
16818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16820 if (!SWIG_IsOK(res1
)) {
16821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16823 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16824 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16825 if (!SWIG_IsOK(ecode2
)) {
16826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16828 arg2
= static_cast< unsigned int >(val2
);
16830 arg3
= wxString_in_helper(obj2
);
16831 if (arg3
== NULL
) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= SWIG_Py_Void();
16855 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
= 0;
16857 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16858 unsigned int arg2
;
16859 wxToolTip
*result
= 0 ;
16862 unsigned int val2
;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 char * kwnames
[] = {
16867 (char *) "self",(char *) "item", NULL
16870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16872 if (!SWIG_IsOK(res1
)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16875 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16876 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16877 if (!SWIG_IsOK(ecode2
)) {
16878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16880 arg2
= static_cast< unsigned int >(val2
);
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16896 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
= 0;
16898 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16899 unsigned int arg2
;
16900 wxString
*arg3
= 0 ;
16903 unsigned int val2
;
16905 bool temp3
= false ;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 PyObject
* obj2
= 0 ;
16909 char * kwnames
[] = {
16910 (char *) "self",(char *) "n",(char *) "helpText", NULL
16913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16915 if (!SWIG_IsOK(res1
)) {
16916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16918 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16919 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16920 if (!SWIG_IsOK(ecode2
)) {
16921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16923 arg2
= static_cast< unsigned int >(val2
);
16925 arg3
= wxString_in_helper(obj2
);
16926 if (arg3
== NULL
) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_Py_Void();
16950 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
= 0;
16952 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16953 unsigned int arg2
;
16957 unsigned int val2
;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 char * kwnames
[] = {
16962 (char *) "self",(char *) "n", NULL
16965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16967 if (!SWIG_IsOK(res1
)) {
16968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16970 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16971 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16972 if (!SWIG_IsOK(ecode2
)) {
16973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16975 arg2
= static_cast< unsigned int >(val2
);
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16995 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= 0;
16997 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16998 SwigValueWrapper
<wxVisualAttributes
> result
;
17001 PyObject
* obj0
= 0 ;
17002 char * kwnames
[] = {
17003 (char *) "variant", NULL
17006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17009 if (!SWIG_IsOK(ecode1
)) {
17010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17012 arg1
= static_cast< wxWindowVariant
>(val1
);
17015 if (!wxPyCheckForApp()) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17028 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17031 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17032 return SWIG_Py_Void();
17035 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17036 return SWIG_Python_InitShadowInstance(args
);
17039 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
= 0;
17041 wxWindow
*arg1
= (wxWindow
*) 0 ;
17042 int arg2
= (int) -1 ;
17043 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17049 long arg6
= (long) 0 ;
17050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17052 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17054 wxRadioButton
*result
= 0 ;
17059 bool temp3
= false ;
17066 bool temp8
= false ;
17067 PyObject
* obj0
= 0 ;
17068 PyObject
* obj1
= 0 ;
17069 PyObject
* obj2
= 0 ;
17070 PyObject
* obj3
= 0 ;
17071 PyObject
* obj4
= 0 ;
17072 PyObject
* obj5
= 0 ;
17073 PyObject
* obj6
= 0 ;
17074 PyObject
* obj7
= 0 ;
17075 char * kwnames
[] = {
17076 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17081 if (!SWIG_IsOK(res1
)) {
17082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17087 if (!SWIG_IsOK(ecode2
)) {
17088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17090 arg2
= static_cast< int >(val2
);
17094 arg3
= wxString_in_helper(obj2
);
17095 if (arg3
== NULL
) SWIG_fail
;
17102 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17108 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17112 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17113 if (!SWIG_IsOK(ecode6
)) {
17114 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17116 arg6
= static_cast< long >(val6
);
17119 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17120 if (!SWIG_IsOK(res7
)) {
17121 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17126 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17130 arg8
= wxString_in_helper(obj7
);
17131 if (arg8
== NULL
) SWIG_fail
;
17136 if (!wxPyCheckForApp()) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17165 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17166 PyObject
*resultobj
= 0;
17167 wxRadioButton
*result
= 0 ;
17169 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17171 if (!wxPyCheckForApp()) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= (wxRadioButton
*)new wxRadioButton();
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17184 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
= 0;
17186 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17187 wxWindow
*arg2
= (wxWindow
*) 0 ;
17188 int arg3
= (int) -1 ;
17189 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17190 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17195 long arg7
= (long) 0 ;
17196 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17197 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17198 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17199 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17207 bool temp4
= false ;
17214 bool temp9
= false ;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 PyObject
* obj3
= 0 ;
17219 PyObject
* obj4
= 0 ;
17220 PyObject
* obj5
= 0 ;
17221 PyObject
* obj6
= 0 ;
17222 PyObject
* obj7
= 0 ;
17223 PyObject
* obj8
= 0 ;
17224 char * kwnames
[] = {
17225 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17230 if (!SWIG_IsOK(res1
)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17233 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17235 if (!SWIG_IsOK(res2
)) {
17236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17238 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17241 if (!SWIG_IsOK(ecode3
)) {
17242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17244 arg3
= static_cast< int >(val3
);
17248 arg4
= wxString_in_helper(obj3
);
17249 if (arg4
== NULL
) SWIG_fail
;
17256 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17262 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17266 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17267 if (!SWIG_IsOK(ecode7
)) {
17268 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17270 arg7
= static_cast< long >(val7
);
17273 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17274 if (!SWIG_IsOK(res8
)) {
17275 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17280 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17284 arg9
= wxString_in_helper(obj8
);
17285 if (arg9
== NULL
) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17320 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17321 PyObject
*resultobj
= 0;
17322 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17326 PyObject
*swig_obj
[1] ;
17328 if (!args
) SWIG_fail
;
17329 swig_obj
[0] = args
;
17330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17331 if (!SWIG_IsOK(res1
)) {
17332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17334 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (bool)(arg1
)->GetValue();
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17350 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
= 0;
17352 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char * kwnames
[] = {
17361 (char *) "self",(char *) "value", NULL
17364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17366 if (!SWIG_IsOK(res1
)) {
17367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17369 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17371 if (!SWIG_IsOK(ecode2
)) {
17372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17374 arg2
= static_cast< bool >(val2
);
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 (arg1
)->SetValue(arg2
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_Py_Void();
17388 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= 0;
17390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17391 SwigValueWrapper
<wxVisualAttributes
> result
;
17394 PyObject
* obj0
= 0 ;
17395 char * kwnames
[] = {
17396 (char *) "variant", NULL
17399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17402 if (!SWIG_IsOK(ecode1
)) {
17403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17405 arg1
= static_cast< wxWindowVariant
>(val1
);
17408 if (!wxPyCheckForApp()) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17421 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17424 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17425 return SWIG_Py_Void();
17428 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17429 return SWIG_Python_InitShadowInstance(args
);
17432 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17433 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17438 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17439 PyObject
*pyobj
= 0;
17443 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17445 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17452 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
= 0;
17454 wxWindow
*arg1
= (wxWindow
*) 0 ;
17455 int arg2
= (int) -1 ;
17456 int arg3
= (int) 0 ;
17457 int arg4
= (int) 0 ;
17458 int arg5
= (int) 100 ;
17459 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17460 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17461 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17462 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17463 long arg8
= (long) wxSL_HORIZONTAL
;
17464 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17465 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17466 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17467 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17468 wxSlider
*result
= 0 ;
17485 bool temp10
= false ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 PyObject
* obj2
= 0 ;
17489 PyObject
* obj3
= 0 ;
17490 PyObject
* obj4
= 0 ;
17491 PyObject
* obj5
= 0 ;
17492 PyObject
* obj6
= 0 ;
17493 PyObject
* obj7
= 0 ;
17494 PyObject
* obj8
= 0 ;
17495 PyObject
* obj9
= 0 ;
17496 char * kwnames
[] = {
17497 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17502 if (!SWIG_IsOK(res1
)) {
17503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17505 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17508 if (!SWIG_IsOK(ecode2
)) {
17509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17511 arg2
= static_cast< int >(val2
);
17514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17515 if (!SWIG_IsOK(ecode3
)) {
17516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17518 arg3
= static_cast< int >(val3
);
17521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17522 if (!SWIG_IsOK(ecode4
)) {
17523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17525 arg4
= static_cast< int >(val4
);
17528 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17529 if (!SWIG_IsOK(ecode5
)) {
17530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17532 arg5
= static_cast< int >(val5
);
17537 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17543 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17547 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17548 if (!SWIG_IsOK(ecode8
)) {
17549 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17551 arg8
= static_cast< long >(val8
);
17554 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17555 if (!SWIG_IsOK(res9
)) {
17556 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17561 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17565 arg10
= wxString_in_helper(obj9
);
17566 if (arg10
== NULL
) SWIG_fail
;
17571 if (!wxPyCheckForApp()) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17592 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17593 PyObject
*resultobj
= 0;
17594 wxSlider
*result
= 0 ;
17596 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17598 if (!wxPyCheckForApp()) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (wxSlider
*)new wxSlider();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17611 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17612 PyObject
*resultobj
= 0;
17613 wxSlider
*arg1
= (wxSlider
*) 0 ;
17614 wxWindow
*arg2
= (wxWindow
*) 0 ;
17615 int arg3
= (int) -1 ;
17616 int arg4
= (int) 0 ;
17617 int arg5
= (int) 0 ;
17618 int arg6
= (int) 100 ;
17619 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17620 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17621 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17622 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17623 long arg9
= (long) wxSL_HORIZONTAL
;
17624 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17625 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17626 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17627 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17647 bool temp11
= false ;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 PyObject
* obj2
= 0 ;
17651 PyObject
* obj3
= 0 ;
17652 PyObject
* obj4
= 0 ;
17653 PyObject
* obj5
= 0 ;
17654 PyObject
* obj6
= 0 ;
17655 PyObject
* obj7
= 0 ;
17656 PyObject
* obj8
= 0 ;
17657 PyObject
* obj9
= 0 ;
17658 PyObject
* obj10
= 0 ;
17659 char * kwnames
[] = {
17660 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17665 if (!SWIG_IsOK(res1
)) {
17666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17668 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17670 if (!SWIG_IsOK(res2
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17676 if (!SWIG_IsOK(ecode3
)) {
17677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17679 arg3
= static_cast< int >(val3
);
17682 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17683 if (!SWIG_IsOK(ecode4
)) {
17684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17686 arg4
= static_cast< int >(val4
);
17689 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17690 if (!SWIG_IsOK(ecode5
)) {
17691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17693 arg5
= static_cast< int >(val5
);
17696 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17697 if (!SWIG_IsOK(ecode6
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17700 arg6
= static_cast< int >(val6
);
17705 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17711 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17715 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17716 if (!SWIG_IsOK(ecode9
)) {
17717 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17719 arg9
= static_cast< long >(val9
);
17722 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17723 if (!SWIG_IsOK(res10
)) {
17724 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17729 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17733 arg11
= wxString_in_helper(obj10
);
17734 if (arg11
== NULL
) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17761 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17762 PyObject
*resultobj
= 0;
17763 wxSlider
*arg1
= (wxSlider
*) 0 ;
17767 PyObject
*swig_obj
[1] ;
17769 if (!args
) SWIG_fail
;
17770 swig_obj
[0] = args
;
17771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17772 if (!SWIG_IsOK(res1
)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17775 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= SWIG_From_int(static_cast< int >(result
));
17789 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
= 0;
17791 wxSlider
*arg1
= (wxSlider
*) 0 ;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 char * kwnames
[] = {
17800 (char *) "self",(char *) "value", NULL
17803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17805 if (!SWIG_IsOK(res1
)) {
17806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17808 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17810 if (!SWIG_IsOK(ecode2
)) {
17811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17813 arg2
= static_cast< int >(val2
);
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->SetValue(arg2
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= SWIG_Py_Void();
17827 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
= 0;
17829 wxSlider
*arg1
= (wxSlider
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 PyObject
* obj2
= 0 ;
17841 char * kwnames
[] = {
17842 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17847 if (!SWIG_IsOK(res1
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17850 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17852 if (!SWIG_IsOK(ecode2
)) {
17853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17855 arg2
= static_cast< int >(val2
);
17856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17857 if (!SWIG_IsOK(ecode3
)) {
17858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17860 arg3
= static_cast< int >(val3
);
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 (arg1
)->SetRange(arg2
,arg3
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= SWIG_Py_Void();
17874 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17875 PyObject
*resultobj
= 0;
17876 wxSlider
*arg1
= (wxSlider
*) 0 ;
17880 PyObject
*swig_obj
[1] ;
17882 if (!args
) SWIG_fail
;
17883 swig_obj
[0] = args
;
17884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17885 if (!SWIG_IsOK(res1
)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17888 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_From_int(static_cast< int >(result
));
17902 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17903 PyObject
*resultobj
= 0;
17904 wxSlider
*arg1
= (wxSlider
*) 0 ;
17908 PyObject
*swig_obj
[1] ;
17910 if (!args
) SWIG_fail
;
17911 swig_obj
[0] = args
;
17912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17913 if (!SWIG_IsOK(res1
)) {
17914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17916 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= SWIG_From_int(static_cast< int >(result
));
17930 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
= 0;
17932 wxSlider
*arg1
= (wxSlider
*) 0 ;
17938 PyObject
* obj0
= 0 ;
17939 PyObject
* obj1
= 0 ;
17940 char * kwnames
[] = {
17941 (char *) "self",(char *) "minValue", NULL
17944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17946 if (!SWIG_IsOK(res1
)) {
17947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17949 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17951 if (!SWIG_IsOK(ecode2
)) {
17952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17954 arg2
= static_cast< int >(val2
);
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 (arg1
)->SetMin(arg2
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_Py_Void();
17968 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
= 0;
17970 wxSlider
*arg1
= (wxSlider
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char * kwnames
[] = {
17979 (char *) "self",(char *) "maxValue", NULL
17982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17984 if (!SWIG_IsOK(res1
)) {
17985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17987 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17989 if (!SWIG_IsOK(ecode2
)) {
17990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17992 arg2
= static_cast< int >(val2
);
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 (arg1
)->SetMax(arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= SWIG_Py_Void();
18006 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
= 0;
18008 wxSlider
*arg1
= (wxSlider
*) 0 ;
18014 PyObject
* obj0
= 0 ;
18015 PyObject
* obj1
= 0 ;
18016 char * kwnames
[] = {
18017 (char *) "self",(char *) "lineSize", NULL
18020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18022 if (!SWIG_IsOK(res1
)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18025 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18027 if (!SWIG_IsOK(ecode2
)) {
18028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18030 arg2
= static_cast< int >(val2
);
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 (arg1
)->SetLineSize(arg2
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= SWIG_Py_Void();
18044 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
= 0;
18046 wxSlider
*arg1
= (wxSlider
*) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char * kwnames
[] = {
18055 (char *) "self",(char *) "pageSize", NULL
18058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18063 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18065 if (!SWIG_IsOK(ecode2
)) {
18066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18068 arg2
= static_cast< int >(val2
);
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->SetPageSize(arg2
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_Py_Void();
18082 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18083 PyObject
*resultobj
= 0;
18084 wxSlider
*arg1
= (wxSlider
*) 0 ;
18088 PyObject
*swig_obj
[1] ;
18090 if (!args
) SWIG_fail
;
18091 swig_obj
[0] = args
;
18092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18093 if (!SWIG_IsOK(res1
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18096 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= SWIG_From_int(static_cast< int >(result
));
18110 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18111 PyObject
*resultobj
= 0;
18112 wxSlider
*arg1
= (wxSlider
*) 0 ;
18116 PyObject
*swig_obj
[1] ;
18118 if (!args
) SWIG_fail
;
18119 swig_obj
[0] = args
;
18120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18121 if (!SWIG_IsOK(res1
)) {
18122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18124 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= SWIG_From_int(static_cast< int >(result
));
18138 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
= 0;
18140 wxSlider
*arg1
= (wxSlider
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 char * kwnames
[] = {
18149 (char *) "self",(char *) "lenPixels", NULL
18152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18154 if (!SWIG_IsOK(res1
)) {
18155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18157 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18159 if (!SWIG_IsOK(ecode2
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18162 arg2
= static_cast< int >(val2
);
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->SetThumbLength(arg2
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_Py_Void();
18176 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18177 PyObject
*resultobj
= 0;
18178 wxSlider
*arg1
= (wxSlider
*) 0 ;
18182 PyObject
*swig_obj
[1] ;
18184 if (!args
) SWIG_fail
;
18185 swig_obj
[0] = args
;
18186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18187 if (!SWIG_IsOK(res1
)) {
18188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18190 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_From_int(static_cast< int >(result
));
18204 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
= 0;
18206 wxSlider
*arg1
= (wxSlider
*) 0 ;
18208 int arg3
= (int) 1 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 PyObject
* obj2
= 0 ;
18218 char * kwnames
[] = {
18219 (char *) "self",(char *) "n",(char *) "pos", NULL
18222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18224 if (!SWIG_IsOK(res1
)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18227 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18229 if (!SWIG_IsOK(ecode2
)) {
18230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18232 arg2
= static_cast< int >(val2
);
18234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18235 if (!SWIG_IsOK(ecode3
)) {
18236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18238 arg3
= static_cast< int >(val3
);
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->SetTickFreq(arg2
,arg3
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_Py_Void();
18253 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18254 PyObject
*resultobj
= 0;
18255 wxSlider
*arg1
= (wxSlider
*) 0 ;
18259 PyObject
*swig_obj
[1] ;
18261 if (!args
) SWIG_fail
;
18262 swig_obj
[0] = args
;
18263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18264 if (!SWIG_IsOK(res1
)) {
18265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18267 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= SWIG_From_int(static_cast< int >(result
));
18281 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18282 PyObject
*resultobj
= 0;
18283 wxSlider
*arg1
= (wxSlider
*) 0 ;
18286 PyObject
*swig_obj
[1] ;
18288 if (!args
) SWIG_fail
;
18289 swig_obj
[0] = args
;
18290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18291 if (!SWIG_IsOK(res1
)) {
18292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18294 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->ClearTicks();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= SWIG_Py_Void();
18308 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
= 0;
18310 wxSlider
*arg1
= (wxSlider
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char * kwnames
[] = {
18319 (char *) "self",(char *) "tickPos", NULL
18322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18324 if (!SWIG_IsOK(res1
)) {
18325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18327 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18329 if (!SWIG_IsOK(ecode2
)) {
18330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18332 arg2
= static_cast< int >(val2
);
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 (arg1
)->SetTick(arg2
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_Py_Void();
18346 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18347 PyObject
*resultobj
= 0;
18348 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_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18359 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->ClearSel();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_Py_Void();
18373 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18374 PyObject
*resultobj
= 0;
18375 wxSlider
*arg1
= (wxSlider
*) 0 ;
18379 PyObject
*swig_obj
[1] ;
18381 if (!args
) SWIG_fail
;
18382 swig_obj
[0] = args
;
18383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18384 if (!SWIG_IsOK(res1
)) {
18385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18387 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= SWIG_From_int(static_cast< int >(result
));
18401 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18402 PyObject
*resultobj
= 0;
18403 wxSlider
*arg1
= (wxSlider
*) 0 ;
18407 PyObject
*swig_obj
[1] ;
18409 if (!args
) SWIG_fail
;
18410 swig_obj
[0] = args
;
18411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18412 if (!SWIG_IsOK(res1
)) {
18413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18415 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_From_int(static_cast< int >(result
));
18429 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
= 0;
18431 wxSlider
*arg1
= (wxSlider
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 PyObject
* obj2
= 0 ;
18443 char * kwnames
[] = {
18444 (char *) "self",(char *) "min",(char *) "max", NULL
18447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18449 if (!SWIG_IsOK(res1
)) {
18450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18452 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18454 if (!SWIG_IsOK(ecode2
)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18457 arg2
= static_cast< int >(val2
);
18458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18459 if (!SWIG_IsOK(ecode3
)) {
18460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18462 arg3
= static_cast< int >(val3
);
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 (arg1
)->SetSelection(arg2
,arg3
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_Py_Void();
18476 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
= 0;
18478 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18479 SwigValueWrapper
<wxVisualAttributes
> result
;
18482 PyObject
* obj0
= 0 ;
18483 char * kwnames
[] = {
18484 (char *) "variant", NULL
18487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18489 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18490 if (!SWIG_IsOK(ecode1
)) {
18491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18493 arg1
= static_cast< wxWindowVariant
>(val1
);
18496 if (!wxPyCheckForApp()) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18509 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18512 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18513 return SWIG_Py_Void();
18516 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18517 return SWIG_Python_InitShadowInstance(args
);
18520 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18521 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18526 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18527 PyObject
*pyobj
= 0;
18531 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18533 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18540 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= 0;
18542 wxWindow
*arg1
= (wxWindow
*) 0 ;
18543 int arg2
= (int) -1 ;
18544 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18545 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18550 long arg6
= (long) 0 ;
18551 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18552 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18553 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18554 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18555 wxToggleButton
*result
= 0 ;
18560 bool temp3
= false ;
18567 bool temp8
= false ;
18568 PyObject
* obj0
= 0 ;
18569 PyObject
* obj1
= 0 ;
18570 PyObject
* obj2
= 0 ;
18571 PyObject
* obj3
= 0 ;
18572 PyObject
* obj4
= 0 ;
18573 PyObject
* obj5
= 0 ;
18574 PyObject
* obj6
= 0 ;
18575 PyObject
* obj7
= 0 ;
18576 char * kwnames
[] = {
18577 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18582 if (!SWIG_IsOK(res1
)) {
18583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18588 if (!SWIG_IsOK(ecode2
)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18591 arg2
= static_cast< int >(val2
);
18595 arg3
= wxString_in_helper(obj2
);
18596 if (arg3
== NULL
) SWIG_fail
;
18603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18613 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18614 if (!SWIG_IsOK(ecode6
)) {
18615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18617 arg6
= static_cast< long >(val6
);
18620 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18621 if (!SWIG_IsOK(res7
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18627 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18631 arg8
= wxString_in_helper(obj7
);
18632 if (arg8
== NULL
) SWIG_fail
;
18637 if (!wxPyCheckForApp()) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18666 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18667 PyObject
*resultobj
= 0;
18668 wxToggleButton
*result
= 0 ;
18670 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18672 if (!wxPyCheckForApp()) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= (wxToggleButton
*)new wxToggleButton();
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18685 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
= 0;
18687 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18688 wxWindow
*arg2
= (wxWindow
*) 0 ;
18689 int arg3
= (int) -1 ;
18690 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18691 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18692 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18693 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18694 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18695 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18696 long arg7
= (long) 0 ;
18697 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18698 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18699 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18700 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18708 bool temp4
= false ;
18715 bool temp9
= false ;
18716 PyObject
* obj0
= 0 ;
18717 PyObject
* obj1
= 0 ;
18718 PyObject
* obj2
= 0 ;
18719 PyObject
* obj3
= 0 ;
18720 PyObject
* obj4
= 0 ;
18721 PyObject
* obj5
= 0 ;
18722 PyObject
* obj6
= 0 ;
18723 PyObject
* obj7
= 0 ;
18724 PyObject
* obj8
= 0 ;
18725 char * kwnames
[] = {
18726 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18731 if (!SWIG_IsOK(res1
)) {
18732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18734 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18736 if (!SWIG_IsOK(res2
)) {
18737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18739 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18742 if (!SWIG_IsOK(ecode3
)) {
18743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18745 arg3
= static_cast< int >(val3
);
18749 arg4
= wxString_in_helper(obj3
);
18750 if (arg4
== NULL
) SWIG_fail
;
18757 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18763 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18767 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18768 if (!SWIG_IsOK(ecode7
)) {
18769 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18771 arg7
= static_cast< long >(val7
);
18774 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18775 if (!SWIG_IsOK(res8
)) {
18776 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18781 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18785 arg9
= wxString_in_helper(obj8
);
18786 if (arg9
== NULL
) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18821 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
= 0;
18823 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 char * kwnames
[] = {
18832 (char *) "self",(char *) "value", NULL
18835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18837 if (!SWIG_IsOK(res1
)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18840 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18841 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18842 if (!SWIG_IsOK(ecode2
)) {
18843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18845 arg2
= static_cast< bool >(val2
);
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->SetValue(arg2
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_Py_Void();
18859 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18860 PyObject
*resultobj
= 0;
18861 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18865 PyObject
*swig_obj
[1] ;
18867 if (!args
) SWIG_fail
;
18868 swig_obj
[0] = args
;
18869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18870 if (!SWIG_IsOK(res1
)) {
18871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18873 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18889 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
= 0;
18891 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18892 SwigValueWrapper
<wxVisualAttributes
> result
;
18895 PyObject
* obj0
= 0 ;
18896 char * kwnames
[] = {
18897 (char *) "variant", NULL
18900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18902 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18903 if (!SWIG_IsOK(ecode1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18906 arg1
= static_cast< wxWindowVariant
>(val1
);
18909 if (!wxPyCheckForApp()) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18922 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18925 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18926 return SWIG_Py_Void();
18929 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18930 return SWIG_Python_InitShadowInstance(args
);
18933 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18934 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18939 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18940 PyObject
*pyobj
= 0;
18944 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18946 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18953 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18954 PyObject
*resultobj
= 0;
18955 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18959 PyObject
*swig_obj
[1] ;
18961 if (!args
) SWIG_fail
;
18962 swig_obj
[0] = args
;
18963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18964 if (!SWIG_IsOK(res1
)) {
18965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18967 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18981 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
= 0;
18983 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18985 wxWindow
*result
= 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char * kwnames
[] = {
18993 (char *) "self",(char *) "n", NULL
18996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18998 if (!SWIG_IsOK(res1
)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19001 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19002 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19003 if (!SWIG_IsOK(ecode2
)) {
19004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19006 arg2
= static_cast< size_t >(val2
);
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= wxPyMake_wxObject(result
, 0);
19022 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19023 PyObject
*resultobj
= 0;
19024 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19025 wxWindow
*result
= 0 ;
19028 PyObject
*swig_obj
[1] ;
19030 if (!args
) SWIG_fail
;
19031 swig_obj
[0] = args
;
19032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19033 if (!SWIG_IsOK(res1
)) {
19034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19036 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19044 resultobj
= wxPyMake_wxObject(result
, 0);
19052 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19053 PyObject
*resultobj
= 0;
19054 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19058 PyObject
*swig_obj
[1] ;
19060 if (!args
) SWIG_fail
;
19061 swig_obj
[0] = args
;
19062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19063 if (!SWIG_IsOK(res1
)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19066 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_From_int(static_cast< int >(result
));
19080 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
= 0;
19082 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19084 wxString
*arg3
= 0 ;
19090 bool temp3
= false ;
19091 PyObject
* obj0
= 0 ;
19092 PyObject
* obj1
= 0 ;
19093 PyObject
* obj2
= 0 ;
19094 char * kwnames
[] = {
19095 (char *) "self",(char *) "n",(char *) "strText", NULL
19098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19100 if (!SWIG_IsOK(res1
)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19103 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19104 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19105 if (!SWIG_IsOK(ecode2
)) {
19106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19108 arg2
= static_cast< size_t >(val2
);
19110 arg3
= wxString_in_helper(obj2
);
19111 if (arg3
== NULL
) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19137 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
= 0;
19139 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 char * kwnames
[] = {
19149 (char *) "self",(char *) "n", NULL
19152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19157 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19158 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19159 if (!SWIG_IsOK(ecode2
)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19162 arg2
= static_cast< size_t >(val2
);
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19182 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
= 0;
19184 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19185 wxImageList
*arg2
= (wxImageList
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char * kwnames
[] = {
19193 (char *) "self",(char *) "imageList", NULL
19196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19198 if (!SWIG_IsOK(res1
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19201 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19203 if (!SWIG_IsOK(res2
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19206 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 (arg1
)->SetImageList(arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= SWIG_Py_Void();
19220 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
= 0;
19222 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19223 wxImageList
*arg2
= (wxImageList
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char * kwnames
[] = {
19230 (char *) "self",(char *) "imageList", NULL
19233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19235 if (!SWIG_IsOK(res1
)) {
19236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19238 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19239 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19240 if (!SWIG_IsOK(res2
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->AssignImageList(arg2
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= SWIG_Py_Void();
19256 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19257 PyObject
*resultobj
= 0;
19258 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19259 wxImageList
*result
= 0 ;
19262 PyObject
*swig_obj
[1] ;
19264 if (!args
) SWIG_fail
;
19265 swig_obj
[0] = args
;
19266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19267 if (!SWIG_IsOK(res1
)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19270 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19286 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
= 0;
19288 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19295 PyObject
* obj0
= 0 ;
19296 PyObject
* obj1
= 0 ;
19297 char * kwnames
[] = {
19298 (char *) "self",(char *) "n", NULL
19301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19303 if (!SWIG_IsOK(res1
)) {
19304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19306 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19307 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19308 if (!SWIG_IsOK(ecode2
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19311 arg2
= static_cast< size_t >(val2
);
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= SWIG_From_int(static_cast< int >(result
));
19325 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
= 0;
19327 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 PyObject
* obj2
= 0 ;
19340 char * kwnames
[] = {
19341 (char *) "self",(char *) "n",(char *) "imageId", NULL
19344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19349 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19350 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19351 if (!SWIG_IsOK(ecode2
)) {
19352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19354 arg2
= static_cast< size_t >(val2
);
19355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19356 if (!SWIG_IsOK(ecode3
)) {
19357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19359 arg3
= static_cast< int >(val3
);
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19375 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
= 0;
19377 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char * kwnames
[] = {
19385 (char *) "self",(char *) "size", NULL
19388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19390 if (!SWIG_IsOK(res1
)) {
19391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19393 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_Py_Void();
19411 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
= 0;
19413 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char * kwnames
[] = {
19422 (char *) "self",(char *) "sizePage", NULL
19425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19427 if (!SWIG_IsOK(res1
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19430 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19433 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19448 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19449 PyObject
*resultobj
= 0;
19450 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19451 unsigned int result
;
19454 PyObject
*swig_obj
[1] ;
19456 if (!args
) SWIG_fail
;
19457 swig_obj
[0] = args
;
19458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19462 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19476 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
= 0;
19478 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19479 unsigned int arg2
;
19482 unsigned int val2
;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 char * kwnames
[] = {
19487 (char *) "self",(char *) "internalBorder", NULL
19490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19492 if (!SWIG_IsOK(res1
)) {
19493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19495 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19496 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19497 if (!SWIG_IsOK(ecode2
)) {
19498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19500 arg2
= static_cast< unsigned int >(val2
);
19502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 (arg1
)->SetInternalBorder(arg2
);
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19507 resultobj
= SWIG_Py_Void();
19514 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19515 PyObject
*resultobj
= 0;
19516 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19520 PyObject
*swig_obj
[1] ;
19522 if (!args
) SWIG_fail
;
19523 swig_obj
[0] = args
;
19524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19525 if (!SWIG_IsOK(res1
)) {
19526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19528 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19544 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
= 0;
19546 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 char * kwnames
[] = {
19555 (char *) "self",(char *) "margin", NULL
19558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19560 if (!SWIG_IsOK(res1
)) {
19561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19563 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19565 if (!SWIG_IsOK(ecode2
)) {
19566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19568 arg2
= static_cast< int >(val2
);
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 (arg1
)->SetControlMargin(arg2
);
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 resultobj
= SWIG_Py_Void();
19582 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19583 PyObject
*resultobj
= 0;
19584 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19588 PyObject
*swig_obj
[1] ;
19590 if (!args
) SWIG_fail
;
19591 swig_obj
[0] = args
;
19592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19593 if (!SWIG_IsOK(res1
)) {
19594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19596 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= SWIG_From_int(static_cast< int >(result
));
19610 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
= 0;
19612 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 char * kwnames
[] = {
19621 (char *) "self",(char *) "fit", NULL
19624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19626 if (!SWIG_IsOK(res1
)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19629 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19630 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19631 if (!SWIG_IsOK(ecode2
)) {
19632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19634 arg2
= static_cast< bool >(val2
);
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 (arg1
)->SetFitToCurrentPage(arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_Py_Void();
19648 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19649 PyObject
*resultobj
= 0;
19650 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19654 PyObject
*swig_obj
[1] ;
19656 if (!args
) SWIG_fail
;
19657 swig_obj
[0] = args
;
19658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19659 if (!SWIG_IsOK(res1
)) {
19660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19662 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19678 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19679 PyObject
*resultobj
= 0;
19680 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19681 wxSizer
*result
= 0 ;
19684 PyObject
*swig_obj
[1] ;
19686 if (!args
) SWIG_fail
;
19687 swig_obj
[0] = args
;
19688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19689 if (!SWIG_IsOK(res1
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19692 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19708 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
= 0;
19710 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj1
= 0 ;
19719 char * kwnames
[] = {
19720 (char *) "self",(char *) "n", NULL
19723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19725 if (!SWIG_IsOK(res1
)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19728 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19729 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19730 if (!SWIG_IsOK(ecode2
)) {
19731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19733 arg2
= static_cast< size_t >(val2
);
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (bool)(arg1
)->DeletePage(arg2
);
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19749 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
= 0;
19751 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 char * kwnames
[] = {
19761 (char *) "self",(char *) "n", NULL
19764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19766 if (!SWIG_IsOK(res1
)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19769 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19770 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19771 if (!SWIG_IsOK(ecode2
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19774 arg2
= static_cast< size_t >(val2
);
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (bool)(arg1
)->RemovePage(arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19790 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19791 PyObject
*resultobj
= 0;
19792 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19796 PyObject
*swig_obj
[1] ;
19798 if (!args
) SWIG_fail
;
19799 swig_obj
[0] = args
;
19800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19801 if (!SWIG_IsOK(res1
)) {
19802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19804 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 result
= (bool)(arg1
)->DeleteAllPages();
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19820 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
= 0;
19822 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19823 wxWindow
*arg2
= (wxWindow
*) 0 ;
19824 wxString
*arg3
= 0 ;
19825 bool arg4
= (bool) false ;
19826 int arg5
= (int) -1 ;
19832 bool temp3
= false ;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 PyObject
* obj2
= 0 ;
19840 PyObject
* obj3
= 0 ;
19841 PyObject
* obj4
= 0 ;
19842 char * kwnames
[] = {
19843 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19848 if (!SWIG_IsOK(res1
)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19851 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19853 if (!SWIG_IsOK(res2
)) {
19854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19856 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19858 arg3
= wxString_in_helper(obj2
);
19859 if (arg3
== NULL
) SWIG_fail
;
19863 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19864 if (!SWIG_IsOK(ecode4
)) {
19865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19867 arg4
= static_cast< bool >(val4
);
19870 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19871 if (!SWIG_IsOK(ecode5
)) {
19872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19874 arg5
= static_cast< int >(val5
);
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19899 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
= 0;
19901 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19903 wxWindow
*arg3
= (wxWindow
*) 0 ;
19904 wxString
*arg4
= 0 ;
19905 bool arg5
= (bool) false ;
19906 int arg6
= (int) -1 ;
19914 bool temp4
= false ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 PyObject
* obj2
= 0 ;
19922 PyObject
* obj3
= 0 ;
19923 PyObject
* obj4
= 0 ;
19924 PyObject
* obj5
= 0 ;
19925 char * kwnames
[] = {
19926 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19931 if (!SWIG_IsOK(res1
)) {
19932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19934 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19935 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19936 if (!SWIG_IsOK(ecode2
)) {
19937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19939 arg2
= static_cast< size_t >(val2
);
19940 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19941 if (!SWIG_IsOK(res3
)) {
19942 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19944 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19946 arg4
= wxString_in_helper(obj3
);
19947 if (arg4
== NULL
) SWIG_fail
;
19951 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19952 if (!SWIG_IsOK(ecode5
)) {
19953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19955 arg5
= static_cast< bool >(val5
);
19958 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19959 if (!SWIG_IsOK(ecode6
)) {
19960 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19962 arg6
= static_cast< int >(val6
);
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19987 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
= 0;
19989 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 PyObject
* obj1
= 0 ;
19998 char * kwnames
[] = {
19999 (char *) "self",(char *) "n", NULL
20002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20004 if (!SWIG_IsOK(res1
)) {
20005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20007 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20008 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20009 if (!SWIG_IsOK(ecode2
)) {
20010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20012 arg2
= static_cast< size_t >(val2
);
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= (int)(arg1
)->SetSelection(arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_From_int(static_cast< int >(result
));
20026 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
= 0;
20028 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20029 bool arg2
= (bool) true ;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 char * kwnames
[] = {
20037 (char *) "self",(char *) "forward", NULL
20040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20042 if (!SWIG_IsOK(res1
)) {
20043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20045 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20047 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20048 if (!SWIG_IsOK(ecode2
)) {
20049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20051 arg2
= static_cast< bool >(val2
);
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 (arg1
)->AdvanceSelection(arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= SWIG_Py_Void();
20066 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
= 0;
20068 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20069 wxPoint
*arg2
= 0 ;
20070 long *arg3
= (long *) 0 ;
20076 int res3
= SWIG_TMPOBJ
;
20077 PyObject
* obj0
= 0 ;
20078 PyObject
* obj1
= 0 ;
20079 char * kwnames
[] = {
20080 (char *) "self",(char *) "pt", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20089 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= SWIG_From_int(static_cast< int >(result
));
20101 if (SWIG_IsTmpObj(res3
)) {
20102 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20104 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20113 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
= 0;
20115 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20116 SwigValueWrapper
<wxVisualAttributes
> result
;
20119 PyObject
* obj0
= 0 ;
20120 char * kwnames
[] = {
20121 (char *) "variant", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20127 if (!SWIG_IsOK(ecode1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20130 arg1
= static_cast< wxWindowVariant
>(val1
);
20133 if (!wxPyCheckForApp()) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20146 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20149 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20150 return SWIG_Py_Void();
20153 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
= 0;
20155 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20156 int arg2
= (int) 0 ;
20157 int arg3
= (int) -1 ;
20158 int arg4
= (int) -1 ;
20159 wxBookCtrlBaseEvent
*result
= 0 ;
20168 PyObject
* obj0
= 0 ;
20169 PyObject
* obj1
= 0 ;
20170 PyObject
* obj2
= 0 ;
20171 PyObject
* obj3
= 0 ;
20172 char * kwnames
[] = {
20173 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20179 if (!SWIG_IsOK(ecode1
)) {
20180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20182 arg1
= static_cast< wxEventType
>(val1
);
20185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20186 if (!SWIG_IsOK(ecode2
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20189 arg2
= static_cast< int >(val2
);
20192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20193 if (!SWIG_IsOK(ecode3
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20196 arg3
= static_cast< int >(val3
);
20199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20200 if (!SWIG_IsOK(ecode4
)) {
20201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20203 arg4
= static_cast< int >(val4
);
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20218 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20219 PyObject
*resultobj
= 0;
20220 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20224 PyObject
*swig_obj
[1] ;
20226 if (!args
) SWIG_fail
;
20227 swig_obj
[0] = args
;
20228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20229 if (!SWIG_IsOK(res1
)) {
20230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20232 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= SWIG_From_int(static_cast< int >(result
));
20246 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= 0;
20248 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20256 char * kwnames
[] = {
20257 (char *) "self",(char *) "nSel", NULL
20260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20262 if (!SWIG_IsOK(res1
)) {
20263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20265 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20267 if (!SWIG_IsOK(ecode2
)) {
20268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20270 arg2
= static_cast< int >(val2
);
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 (arg1
)->SetSelection(arg2
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_Py_Void();
20284 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20285 PyObject
*resultobj
= 0;
20286 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20290 PyObject
*swig_obj
[1] ;
20292 if (!args
) SWIG_fail
;
20293 swig_obj
[0] = args
;
20294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20295 if (!SWIG_IsOK(res1
)) {
20296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20298 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_From_int(static_cast< int >(result
));
20312 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
= 0;
20314 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 char * kwnames
[] = {
20323 (char *) "self",(char *) "nOldSel", NULL
20326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20328 if (!SWIG_IsOK(res1
)) {
20329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20331 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20333 if (!SWIG_IsOK(ecode2
)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20336 arg2
= static_cast< int >(val2
);
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 (arg1
)->SetOldSelection(arg2
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= SWIG_Py_Void();
20350 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20353 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20354 return SWIG_Py_Void();
20357 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20358 return SWIG_Python_InitShadowInstance(args
);
20361 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= 0;
20363 wxWindow
*arg1
= (wxWindow
*) 0 ;
20364 int arg2
= (int) -1 ;
20365 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20366 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20367 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20368 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20369 long arg5
= (long) 0 ;
20370 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20371 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20372 wxNotebook
*result
= 0 ;
20381 bool temp6
= false ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 PyObject
* obj2
= 0 ;
20385 PyObject
* obj3
= 0 ;
20386 PyObject
* obj4
= 0 ;
20387 PyObject
* obj5
= 0 ;
20388 char * kwnames
[] = {
20389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20394 if (!SWIG_IsOK(res1
)) {
20395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20397 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20400 if (!SWIG_IsOK(ecode2
)) {
20401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20403 arg2
= static_cast< int >(val2
);
20408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20418 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20419 if (!SWIG_IsOK(ecode5
)) {
20420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20422 arg5
= static_cast< long >(val5
);
20426 arg6
= wxString_in_helper(obj5
);
20427 if (arg6
== NULL
) SWIG_fail
;
20432 if (!wxPyCheckForApp()) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20453 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20454 PyObject
*resultobj
= 0;
20455 wxNotebook
*result
= 0 ;
20457 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20459 if (!wxPyCheckForApp()) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (wxNotebook
*)new wxNotebook();
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20472 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
= 0;
20474 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20475 wxWindow
*arg2
= (wxWindow
*) 0 ;
20476 int arg3
= (int) -1 ;
20477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20481 long arg6
= (long) 0 ;
20482 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20495 bool temp7
= false ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 PyObject
* obj2
= 0 ;
20499 PyObject
* obj3
= 0 ;
20500 PyObject
* obj4
= 0 ;
20501 PyObject
* obj5
= 0 ;
20502 PyObject
* obj6
= 0 ;
20503 char * kwnames
[] = {
20504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20509 if (!SWIG_IsOK(res1
)) {
20510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20512 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20514 if (!SWIG_IsOK(res2
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20517 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20520 if (!SWIG_IsOK(ecode3
)) {
20521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20523 arg3
= static_cast< int >(val3
);
20528 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20534 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20538 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20539 if (!SWIG_IsOK(ecode6
)) {
20540 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20542 arg6
= static_cast< long >(val6
);
20546 arg7
= wxString_in_helper(obj6
);
20547 if (arg7
== NULL
) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20574 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20575 PyObject
*resultobj
= 0;
20576 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20580 PyObject
*swig_obj
[1] ;
20582 if (!args
) SWIG_fail
;
20583 swig_obj
[0] = args
;
20584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20585 if (!SWIG_IsOK(res1
)) {
20586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20588 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_From_int(static_cast< int >(result
));
20602 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
= 0;
20604 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 char * kwnames
[] = {
20612 (char *) "self",(char *) "padding", NULL
20615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20617 if (!SWIG_IsOK(res1
)) {
20618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20620 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_Py_Void();
20638 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
= 0;
20640 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 char * kwnames
[] = {
20648 (char *) "self",(char *) "sz", NULL
20651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20653 if (!SWIG_IsOK(res1
)) {
20654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20656 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20659 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= SWIG_Py_Void();
20674 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20675 PyObject
*resultobj
= 0;
20676 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20680 PyObject
*swig_obj
[1] ;
20682 if (!args
) SWIG_fail
;
20683 swig_obj
[0] = args
;
20684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20685 if (!SWIG_IsOK(res1
)) {
20686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20688 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20702 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= 0;
20704 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20705 SwigValueWrapper
<wxVisualAttributes
> result
;
20708 PyObject
* obj0
= 0 ;
20709 char * kwnames
[] = {
20710 (char *) "variant", NULL
20713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20715 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20716 if (!SWIG_IsOK(ecode1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20719 arg1
= static_cast< wxWindowVariant
>(val1
);
20722 if (!wxPyCheckForApp()) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20735 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20738 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20739 return SWIG_Py_Void();
20742 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20743 return SWIG_Python_InitShadowInstance(args
);
20746 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
= 0;
20748 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20749 int arg2
= (int) 0 ;
20750 int arg3
= (int) -1 ;
20751 int arg4
= (int) -1 ;
20752 wxNotebookEvent
*result
= 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 PyObject
* obj2
= 0 ;
20764 PyObject
* obj3
= 0 ;
20765 char * kwnames
[] = {
20766 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20772 if (!SWIG_IsOK(ecode1
)) {
20773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20775 arg1
= static_cast< wxEventType
>(val1
);
20778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20779 if (!SWIG_IsOK(ecode2
)) {
20780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20782 arg2
= static_cast< int >(val2
);
20785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20786 if (!SWIG_IsOK(ecode3
)) {
20787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20789 arg3
= static_cast< int >(val3
);
20792 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20793 if (!SWIG_IsOK(ecode4
)) {
20794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20796 arg4
= static_cast< int >(val4
);
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20811 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20814 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20815 return SWIG_Py_Void();
20818 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20819 return SWIG_Python_InitShadowInstance(args
);
20822 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
= 0;
20824 wxWindow
*arg1
= (wxWindow
*) 0 ;
20825 int arg2
= (int) -1 ;
20826 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20827 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20828 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20829 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20830 long arg5
= (long) 0 ;
20831 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20832 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20833 wxListbook
*result
= 0 ;
20842 bool temp6
= false ;
20843 PyObject
* obj0
= 0 ;
20844 PyObject
* obj1
= 0 ;
20845 PyObject
* obj2
= 0 ;
20846 PyObject
* obj3
= 0 ;
20847 PyObject
* obj4
= 0 ;
20848 PyObject
* obj5
= 0 ;
20849 char * kwnames
[] = {
20850 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20855 if (!SWIG_IsOK(res1
)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20858 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20861 if (!SWIG_IsOK(ecode2
)) {
20862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20864 arg2
= static_cast< int >(val2
);
20869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20875 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20879 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20880 if (!SWIG_IsOK(ecode5
)) {
20881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20883 arg5
= static_cast< long >(val5
);
20887 arg6
= wxString_in_helper(obj5
);
20888 if (arg6
== NULL
) SWIG_fail
;
20893 if (!wxPyCheckForApp()) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20914 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20915 PyObject
*resultobj
= 0;
20916 wxListbook
*result
= 0 ;
20918 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20920 if (!wxPyCheckForApp()) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (wxListbook
*)new wxListbook();
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20933 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
= 0;
20935 wxListbook
*arg1
= (wxListbook
*) 0 ;
20936 wxWindow
*arg2
= (wxWindow
*) 0 ;
20937 int arg3
= (int) -1 ;
20938 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20939 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20940 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20941 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20942 long arg6
= (long) 0 ;
20943 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20944 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20956 bool temp7
= false ;
20957 PyObject
* obj0
= 0 ;
20958 PyObject
* obj1
= 0 ;
20959 PyObject
* obj2
= 0 ;
20960 PyObject
* obj3
= 0 ;
20961 PyObject
* obj4
= 0 ;
20962 PyObject
* obj5
= 0 ;
20963 PyObject
* obj6
= 0 ;
20964 char * kwnames
[] = {
20965 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20970 if (!SWIG_IsOK(res1
)) {
20971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20973 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20975 if (!SWIG_IsOK(res2
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20978 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20981 if (!SWIG_IsOK(ecode3
)) {
20982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20984 arg3
= static_cast< int >(val3
);
20989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20999 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21000 if (!SWIG_IsOK(ecode6
)) {
21001 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21003 arg6
= static_cast< long >(val6
);
21007 arg7
= wxString_in_helper(obj6
);
21008 if (arg7
== NULL
) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21035 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21036 PyObject
*resultobj
= 0;
21037 wxListbook
*arg1
= (wxListbook
*) 0 ;
21038 wxListView
*result
= 0 ;
21041 PyObject
*swig_obj
[1] ;
21043 if (!args
) SWIG_fail
;
21044 swig_obj
[0] = args
;
21045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21046 if (!SWIG_IsOK(res1
)) {
21047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21049 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (wxListView
*)(arg1
)->GetListView();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21063 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21066 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21067 return SWIG_Py_Void();
21070 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21071 return SWIG_Python_InitShadowInstance(args
);
21074 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
= 0;
21076 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21077 int arg2
= (int) 0 ;
21078 int arg3
= (int) -1 ;
21079 int arg4
= (int) -1 ;
21080 wxListbookEvent
*result
= 0 ;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 PyObject
* obj2
= 0 ;
21092 PyObject
* obj3
= 0 ;
21093 char * kwnames
[] = {
21094 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21100 if (!SWIG_IsOK(ecode1
)) {
21101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21103 arg1
= static_cast< wxEventType
>(val1
);
21106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21107 if (!SWIG_IsOK(ecode2
)) {
21108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21110 arg2
= static_cast< int >(val2
);
21113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21114 if (!SWIG_IsOK(ecode3
)) {
21115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21117 arg3
= static_cast< int >(val3
);
21120 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21121 if (!SWIG_IsOK(ecode4
)) {
21122 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21124 arg4
= static_cast< int >(val4
);
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21139 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21142 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21143 return SWIG_Py_Void();
21146 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21147 return SWIG_Python_InitShadowInstance(args
);
21150 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
= 0;
21152 wxWindow
*arg1
= (wxWindow
*) 0 ;
21154 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21155 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21156 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21157 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21158 long arg5
= (long) 0 ;
21159 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21160 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21161 wxChoicebook
*result
= 0 ;
21170 bool temp6
= false ;
21171 PyObject
* obj0
= 0 ;
21172 PyObject
* obj1
= 0 ;
21173 PyObject
* obj2
= 0 ;
21174 PyObject
* obj3
= 0 ;
21175 PyObject
* obj4
= 0 ;
21176 PyObject
* obj5
= 0 ;
21177 char * kwnames
[] = {
21178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21183 if (!SWIG_IsOK(res1
)) {
21184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21188 if (!SWIG_IsOK(ecode2
)) {
21189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21191 arg2
= static_cast< int >(val2
);
21195 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21201 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21205 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21206 if (!SWIG_IsOK(ecode5
)) {
21207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21209 arg5
= static_cast< long >(val5
);
21213 arg6
= wxString_in_helper(obj5
);
21214 if (arg6
== NULL
) SWIG_fail
;
21219 if (!wxPyCheckForApp()) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21240 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21241 PyObject
*resultobj
= 0;
21242 wxChoicebook
*result
= 0 ;
21244 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21246 if (!wxPyCheckForApp()) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (wxChoicebook
*)new wxChoicebook();
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21259 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
= 0;
21261 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21262 wxWindow
*arg2
= (wxWindow
*) 0 ;
21264 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21265 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21266 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21267 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21268 long arg6
= (long) 0 ;
21269 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21270 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21282 bool temp7
= false ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 PyObject
* obj2
= 0 ;
21286 PyObject
* obj3
= 0 ;
21287 PyObject
* obj4
= 0 ;
21288 PyObject
* obj5
= 0 ;
21289 PyObject
* obj6
= 0 ;
21290 char * kwnames
[] = {
21291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21299 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21301 if (!SWIG_IsOK(res2
)) {
21302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21306 if (!SWIG_IsOK(ecode3
)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21309 arg3
= static_cast< int >(val3
);
21313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21323 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21324 if (!SWIG_IsOK(ecode6
)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21327 arg6
= static_cast< long >(val6
);
21331 arg7
= wxString_in_helper(obj6
);
21332 if (arg7
== NULL
) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21359 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21360 PyObject
*resultobj
= 0;
21361 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21362 wxChoice
*result
= 0 ;
21365 PyObject
*swig_obj
[1] ;
21367 if (!args
) SWIG_fail
;
21368 swig_obj
[0] = args
;
21369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21370 if (!SWIG_IsOK(res1
)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21373 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21387 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21390 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21391 return SWIG_Py_Void();
21394 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21395 return SWIG_Python_InitShadowInstance(args
);
21398 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
= 0;
21400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21401 int arg2
= (int) 0 ;
21402 int arg3
= (int) -1 ;
21403 int arg4
= (int) -1 ;
21404 wxChoicebookEvent
*result
= 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 PyObject
* obj2
= 0 ;
21416 PyObject
* obj3
= 0 ;
21417 char * kwnames
[] = {
21418 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21424 if (!SWIG_IsOK(ecode1
)) {
21425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21427 arg1
= static_cast< wxEventType
>(val1
);
21430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21431 if (!SWIG_IsOK(ecode2
)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21434 arg2
= static_cast< int >(val2
);
21437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21438 if (!SWIG_IsOK(ecode3
)) {
21439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21441 arg3
= static_cast< int >(val3
);
21444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21445 if (!SWIG_IsOK(ecode4
)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21448 arg4
= static_cast< int >(val4
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21463 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21466 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21467 return SWIG_Py_Void();
21470 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 return SWIG_Python_InitShadowInstance(args
);
21474 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
= 0;
21476 wxWindow
*arg1
= (wxWindow
*) 0 ;
21478 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21479 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21480 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21481 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21482 long arg5
= (long) wxBK_DEFAULT
;
21483 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21484 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21485 wxTreebook
*result
= 0 ;
21494 bool temp6
= false ;
21495 PyObject
* obj0
= 0 ;
21496 PyObject
* obj1
= 0 ;
21497 PyObject
* obj2
= 0 ;
21498 PyObject
* obj3
= 0 ;
21499 PyObject
* obj4
= 0 ;
21500 PyObject
* obj5
= 0 ;
21501 char * kwnames
[] = {
21502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21507 if (!SWIG_IsOK(res1
)) {
21508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21510 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21512 if (!SWIG_IsOK(ecode2
)) {
21513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21515 arg2
= static_cast< int >(val2
);
21519 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21525 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21529 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21530 if (!SWIG_IsOK(ecode5
)) {
21531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21533 arg5
= static_cast< long >(val5
);
21537 arg6
= wxString_in_helper(obj5
);
21538 if (arg6
== NULL
) SWIG_fail
;
21543 if (!wxPyCheckForApp()) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21564 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21565 PyObject
*resultobj
= 0;
21566 wxTreebook
*result
= 0 ;
21568 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21570 if (!wxPyCheckForApp()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (wxTreebook
*)new wxTreebook();
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21583 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
= 0;
21585 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21586 wxWindow
*arg2
= (wxWindow
*) 0 ;
21588 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21589 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21590 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21591 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21592 long arg6
= (long) wxBK_DEFAULT
;
21593 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21594 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21606 bool temp7
= false ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 PyObject
* obj2
= 0 ;
21610 PyObject
* obj3
= 0 ;
21611 PyObject
* obj4
= 0 ;
21612 PyObject
* obj5
= 0 ;
21613 PyObject
* obj6
= 0 ;
21614 char * kwnames
[] = {
21615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21620 if (!SWIG_IsOK(res1
)) {
21621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21623 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21625 if (!SWIG_IsOK(res2
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21628 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21630 if (!SWIG_IsOK(ecode3
)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21633 arg3
= static_cast< int >(val3
);
21637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21647 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21648 if (!SWIG_IsOK(ecode6
)) {
21649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21651 arg6
= static_cast< long >(val6
);
21655 arg7
= wxString_in_helper(obj6
);
21656 if (arg7
== NULL
) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21683 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
= 0;
21685 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21687 wxWindow
*arg3
= (wxWindow
*) 0 ;
21688 wxString
*arg4
= 0 ;
21689 bool arg5
= (bool) false ;
21690 int arg6
= (int) wxNOT_FOUND
;
21698 bool temp4
= false ;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 PyObject
* obj2
= 0 ;
21706 PyObject
* obj3
= 0 ;
21707 PyObject
* obj4
= 0 ;
21708 PyObject
* obj5
= 0 ;
21709 char * kwnames
[] = {
21710 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21718 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21719 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21720 if (!SWIG_IsOK(ecode2
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21723 arg2
= static_cast< size_t >(val2
);
21724 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21725 if (!SWIG_IsOK(res3
)) {
21726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21728 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21730 arg4
= wxString_in_helper(obj3
);
21731 if (arg4
== NULL
) SWIG_fail
;
21735 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21736 if (!SWIG_IsOK(ecode5
)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21739 arg5
= static_cast< bool >(val5
);
21742 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21743 if (!SWIG_IsOK(ecode6
)) {
21744 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21746 arg6
= static_cast< int >(val6
);
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21771 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
= 0;
21773 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21774 wxWindow
*arg2
= (wxWindow
*) 0 ;
21775 wxString
*arg3
= 0 ;
21776 bool arg4
= (bool) false ;
21777 int arg5
= (int) wxNOT_FOUND
;
21783 bool temp3
= false ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 PyObject
* obj2
= 0 ;
21791 PyObject
* obj3
= 0 ;
21792 PyObject
* obj4
= 0 ;
21793 char * kwnames
[] = {
21794 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21799 if (!SWIG_IsOK(res1
)) {
21800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21802 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21804 if (!SWIG_IsOK(res2
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21809 arg3
= wxString_in_helper(obj2
);
21810 if (arg3
== NULL
) SWIG_fail
;
21814 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21815 if (!SWIG_IsOK(ecode4
)) {
21816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21818 arg4
= static_cast< bool >(val4
);
21821 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21822 if (!SWIG_IsOK(ecode5
)) {
21823 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21825 arg5
= static_cast< int >(val5
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21850 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
= 0;
21852 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 char * kwnames
[] = {
21862 (char *) "self",(char *) "pos", NULL
21865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21867 if (!SWIG_IsOK(res1
)) {
21868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21870 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21871 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21872 if (!SWIG_IsOK(ecode2
)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21875 arg2
= static_cast< size_t >(val2
);
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21891 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
= 0;
21893 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21895 bool arg3
= (bool) true ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 PyObject
* obj2
= 0 ;
21906 char * kwnames
[] = {
21907 (char *) "self",(char *) "pos",(char *) "expand", NULL
21910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21912 if (!SWIG_IsOK(res1
)) {
21913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21915 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21916 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21917 if (!SWIG_IsOK(ecode2
)) {
21918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21920 arg2
= static_cast< size_t >(val2
);
21922 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21923 if (!SWIG_IsOK(ecode3
)) {
21924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21926 arg3
= static_cast< bool >(val3
);
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21943 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
= 0;
21945 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 char * kwnames
[] = {
21955 (char *) "self",(char *) "pos", NULL
21958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21960 if (!SWIG_IsOK(res1
)) {
21961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21963 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21964 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21965 if (!SWIG_IsOK(ecode2
)) {
21966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21968 arg2
= static_cast< size_t >(val2
);
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= (bool)(arg1
)->CollapseNode(arg2
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21984 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
= 0;
21986 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 char * kwnames
[] = {
21996 (char *) "self",(char *) "pos", NULL
21999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22001 if (!SWIG_IsOK(res1
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22004 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22005 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22006 if (!SWIG_IsOK(ecode2
)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22009 arg2
= static_cast< size_t >(val2
);
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= SWIG_From_int(static_cast< int >(result
));
22023 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22024 PyObject
*resultobj
= 0;
22025 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22026 wxTreeCtrl
*result
= 0 ;
22029 PyObject
*swig_obj
[1] ;
22031 if (!args
) SWIG_fail
;
22032 swig_obj
[0] = args
;
22033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22034 if (!SWIG_IsOK(res1
)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22037 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22051 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22054 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22055 return SWIG_Py_Void();
22058 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22059 return SWIG_Python_InitShadowInstance(args
);
22062 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
= 0;
22064 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22065 int arg2
= (int) 0 ;
22066 int arg3
= (int) wxNOT_FOUND
;
22067 int arg4
= (int) wxNOT_FOUND
;
22068 wxTreebookEvent
*result
= 0 ;
22077 PyObject
* obj0
= 0 ;
22078 PyObject
* obj1
= 0 ;
22079 PyObject
* obj2
= 0 ;
22080 PyObject
* obj3
= 0 ;
22081 char * kwnames
[] = {
22082 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22088 if (!SWIG_IsOK(ecode1
)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22091 arg1
= static_cast< wxEventType
>(val1
);
22094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22095 if (!SWIG_IsOK(ecode2
)) {
22096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22098 arg2
= static_cast< int >(val2
);
22101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22102 if (!SWIG_IsOK(ecode3
)) {
22103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22105 arg3
= static_cast< int >(val3
);
22108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22109 if (!SWIG_IsOK(ecode4
)) {
22110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22112 arg4
= static_cast< int >(val4
);
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22127 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22130 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22131 return SWIG_Py_Void();
22134 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22135 return SWIG_Python_InitShadowInstance(args
);
22138 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
= 0;
22140 wxWindow
*arg1
= (wxWindow
*) 0 ;
22142 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22143 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22144 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22145 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22146 long arg5
= (long) wxBK_DEFAULT
;
22147 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22148 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22149 wxToolbook
*result
= 0 ;
22158 bool temp6
= false ;
22159 PyObject
* obj0
= 0 ;
22160 PyObject
* obj1
= 0 ;
22161 PyObject
* obj2
= 0 ;
22162 PyObject
* obj3
= 0 ;
22163 PyObject
* obj4
= 0 ;
22164 PyObject
* obj5
= 0 ;
22165 char * kwnames
[] = {
22166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22171 if (!SWIG_IsOK(res1
)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22176 if (!SWIG_IsOK(ecode2
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22179 arg2
= static_cast< int >(val2
);
22183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22189 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22193 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22194 if (!SWIG_IsOK(ecode5
)) {
22195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22197 arg5
= static_cast< long >(val5
);
22201 arg6
= wxString_in_helper(obj5
);
22202 if (arg6
== NULL
) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22227 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22228 PyObject
*resultobj
= 0;
22229 wxToolbook
*result
= 0 ;
22231 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (wxToolbook
*)new wxToolbook();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22245 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
= 0;
22247 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22248 wxWindow
*arg2
= (wxWindow
*) 0 ;
22250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22254 long arg6
= (long) 0 ;
22255 wxString
const &arg7_defvalue
= wxEmptyString
;
22256 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22268 bool temp7
= false ;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 PyObject
* obj2
= 0 ;
22272 PyObject
* obj3
= 0 ;
22273 PyObject
* obj4
= 0 ;
22274 PyObject
* obj5
= 0 ;
22275 PyObject
* obj6
= 0 ;
22276 char * kwnames
[] = {
22277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22282 if (!SWIG_IsOK(res1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22285 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22287 if (!SWIG_IsOK(res2
)) {
22288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22290 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22292 if (!SWIG_IsOK(ecode3
)) {
22293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22295 arg3
= static_cast< int >(val3
);
22299 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22305 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22309 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22310 if (!SWIG_IsOK(ecode6
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22313 arg6
= static_cast< long >(val6
);
22317 arg7
= wxString_in_helper(obj6
);
22318 if (arg7
== NULL
) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22345 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22346 PyObject
*resultobj
= 0;
22347 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22348 wxToolBarBase
*result
= 0 ;
22351 PyObject
*swig_obj
[1] ;
22353 if (!args
) SWIG_fail
;
22354 swig_obj
[0] = args
;
22355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22356 if (!SWIG_IsOK(res1
)) {
22357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22359 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22375 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22376 PyObject
*resultobj
= 0;
22377 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22380 PyObject
*swig_obj
[1] ;
22382 if (!args
) SWIG_fail
;
22383 swig_obj
[0] = args
;
22384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22385 if (!SWIG_IsOK(res1
)) {
22386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22388 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= SWIG_Py_Void();
22402 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22405 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22406 return SWIG_Py_Void();
22409 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 return SWIG_Python_InitShadowInstance(args
);
22413 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
= 0;
22415 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22416 int arg2
= (int) 0 ;
22417 int arg3
= (int) wxNOT_FOUND
;
22418 int arg4
= (int) wxNOT_FOUND
;
22419 wxToolbookEvent
*result
= 0 ;
22428 PyObject
* obj0
= 0 ;
22429 PyObject
* obj1
= 0 ;
22430 PyObject
* obj2
= 0 ;
22431 PyObject
* obj3
= 0 ;
22432 char * kwnames
[] = {
22433 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22439 if (!SWIG_IsOK(ecode1
)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22442 arg1
= static_cast< wxEventType
>(val1
);
22445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22446 if (!SWIG_IsOK(ecode2
)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22449 arg2
= static_cast< int >(val2
);
22452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22453 if (!SWIG_IsOK(ecode3
)) {
22454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22456 arg3
= static_cast< int >(val3
);
22459 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22460 if (!SWIG_IsOK(ecode4
)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22463 arg4
= static_cast< int >(val4
);
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22478 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22481 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22482 return SWIG_Py_Void();
22485 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22486 return SWIG_Python_InitShadowInstance(args
);
22489 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22490 PyObject
*resultobj
= 0;
22491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22495 PyObject
*swig_obj
[1] ;
22497 if (!args
) SWIG_fail
;
22498 swig_obj
[0] = args
;
22499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22500 if (!SWIG_IsOK(res1
)) {
22501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22503 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (int)(arg1
)->GetId();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_From_int(static_cast< int >(result
));
22517 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22518 PyObject
*resultobj
= 0;
22519 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22520 wxControl
*result
= 0 ;
22523 PyObject
*swig_obj
[1] ;
22525 if (!args
) SWIG_fail
;
22526 swig_obj
[0] = args
;
22527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22528 if (!SWIG_IsOK(res1
)) {
22529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22531 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (wxControl
*)(arg1
)->GetControl();
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= wxPyMake_wxObject(result
, 0);
22547 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22548 PyObject
*resultobj
= 0;
22549 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22550 wxToolBarBase
*result
= 0 ;
22553 PyObject
*swig_obj
[1] ;
22555 if (!args
) SWIG_fail
;
22556 swig_obj
[0] = args
;
22557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22558 if (!SWIG_IsOK(res1
)) {
22559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22561 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22569 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22577 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22578 PyObject
*resultobj
= 0;
22579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22583 PyObject
*swig_obj
[1] ;
22585 if (!args
) SWIG_fail
;
22586 swig_obj
[0] = args
;
22587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22591 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (int)(arg1
)->IsButton();
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_From_int(static_cast< int >(result
));
22605 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22606 PyObject
*resultobj
= 0;
22607 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22611 PyObject
*swig_obj
[1] ;
22613 if (!args
) SWIG_fail
;
22614 swig_obj
[0] = args
;
22615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22619 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= (int)(arg1
)->IsControl();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_From_int(static_cast< int >(result
));
22633 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22634 PyObject
*resultobj
= 0;
22635 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22639 PyObject
*swig_obj
[1] ;
22641 if (!args
) SWIG_fail
;
22642 swig_obj
[0] = args
;
22643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22644 if (!SWIG_IsOK(res1
)) {
22645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22647 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (int)(arg1
)->IsSeparator();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_From_int(static_cast< int >(result
));
22661 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22662 PyObject
*resultobj
= 0;
22663 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22667 PyObject
*swig_obj
[1] ;
22669 if (!args
) SWIG_fail
;
22670 swig_obj
[0] = args
;
22671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22672 if (!SWIG_IsOK(res1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22675 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (int)(arg1
)->GetStyle();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_From_int(static_cast< int >(result
));
22689 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22690 PyObject
*resultobj
= 0;
22691 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22695 PyObject
*swig_obj
[1] ;
22697 if (!args
) SWIG_fail
;
22698 swig_obj
[0] = args
;
22699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22703 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 result
= (wxItemKind
)(arg1
)->GetKind();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_From_int(static_cast< int >(result
));
22717 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22718 PyObject
*resultobj
= 0;
22719 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22723 PyObject
*swig_obj
[1] ;
22725 if (!args
) SWIG_fail
;
22726 swig_obj
[0] = args
;
22727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22728 if (!SWIG_IsOK(res1
)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22731 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 result
= (bool)(arg1
)->IsEnabled();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22747 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22748 PyObject
*resultobj
= 0;
22749 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22753 PyObject
*swig_obj
[1] ;
22755 if (!args
) SWIG_fail
;
22756 swig_obj
[0] = args
;
22757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22758 if (!SWIG_IsOK(res1
)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22761 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= (bool)(arg1
)->IsToggled();
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22777 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22778 PyObject
*resultobj
= 0;
22779 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22783 PyObject
*swig_obj
[1] ;
22785 if (!args
) SWIG_fail
;
22786 swig_obj
[0] = args
;
22787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22791 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (bool)(arg1
)->CanBeToggled();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22807 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22808 PyObject
*resultobj
= 0;
22809 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22810 wxBitmap
*result
= 0 ;
22813 PyObject
*swig_obj
[1] ;
22815 if (!args
) SWIG_fail
;
22816 swig_obj
[0] = args
;
22817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22818 if (!SWIG_IsOK(res1
)) {
22819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22821 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22826 result
= (wxBitmap
*) &_result_ref
;
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22832 wxBitmap
* resultptr
= new wxBitmap(*result
);
22833 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22841 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22842 PyObject
*resultobj
= 0;
22843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22844 wxBitmap
*result
= 0 ;
22847 PyObject
*swig_obj
[1] ;
22849 if (!args
) SWIG_fail
;
22850 swig_obj
[0] = args
;
22851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22852 if (!SWIG_IsOK(res1
)) {
22853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22855 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22860 result
= (wxBitmap
*) &_result_ref
;
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22866 wxBitmap
* resultptr
= new wxBitmap(*result
);
22867 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22875 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22876 PyObject
*resultobj
= 0;
22877 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22881 PyObject
*swig_obj
[1] ;
22883 if (!args
) SWIG_fail
;
22884 swig_obj
[0] = args
;
22885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22886 if (!SWIG_IsOK(res1
)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22889 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= (arg1
)->GetBitmap();
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22903 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22904 PyObject
*resultobj
= 0;
22905 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22909 PyObject
*swig_obj
[1] ;
22911 if (!args
) SWIG_fail
;
22912 swig_obj
[0] = args
;
22913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22914 if (!SWIG_IsOK(res1
)) {
22915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22917 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= (arg1
)->GetLabel();
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22937 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22938 PyObject
*resultobj
= 0;
22939 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22943 PyObject
*swig_obj
[1] ;
22945 if (!args
) SWIG_fail
;
22946 swig_obj
[0] = args
;
22947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22948 if (!SWIG_IsOK(res1
)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22951 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 result
= (arg1
)->GetShortHelp();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22971 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22972 PyObject
*resultobj
= 0;
22973 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22977 PyObject
*swig_obj
[1] ;
22979 if (!args
) SWIG_fail
;
22980 swig_obj
[0] = args
;
22981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22982 if (!SWIG_IsOK(res1
)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22985 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= (arg1
)->GetLongHelp();
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23005 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
= 0;
23007 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 PyObject
* obj1
= 0 ;
23016 char * kwnames
[] = {
23017 (char *) "self",(char *) "enable", NULL
23020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23022 if (!SWIG_IsOK(res1
)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23025 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23026 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23027 if (!SWIG_IsOK(ecode2
)) {
23028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23030 arg2
= static_cast< bool >(val2
);
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (bool)(arg1
)->Enable(arg2
);
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23046 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23047 PyObject
*resultobj
= 0;
23048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23051 PyObject
*swig_obj
[1] ;
23053 if (!args
) SWIG_fail
;
23054 swig_obj
[0] = args
;
23055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23056 if (!SWIG_IsOK(res1
)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23059 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_Py_Void();
23073 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
= 0;
23075 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 char * kwnames
[] = {
23085 (char *) "self",(char *) "toggle", NULL
23088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23090 if (!SWIG_IsOK(res1
)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23093 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23094 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23095 if (!SWIG_IsOK(ecode2
)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23098 arg2
= static_cast< bool >(val2
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (bool)(arg1
)->SetToggle(arg2
);
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23114 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23115 PyObject
*resultobj
= 0;
23116 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23117 wxString
*arg2
= 0 ;
23121 bool temp2
= false ;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char * kwnames
[] = {
23125 (char *) "self",(char *) "help", NULL
23128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23130 if (!SWIG_IsOK(res1
)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23133 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23135 arg2
= wxString_in_helper(obj1
);
23136 if (arg2
== NULL
) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23162 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
= 0;
23164 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23165 wxString
*arg2
= 0 ;
23169 bool temp2
= false ;
23170 PyObject
* obj0
= 0 ;
23171 PyObject
* obj1
= 0 ;
23172 char * kwnames
[] = {
23173 (char *) "self",(char *) "help", NULL
23176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23178 if (!SWIG_IsOK(res1
)) {
23179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23181 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23183 arg2
= wxString_in_helper(obj1
);
23184 if (arg2
== NULL
) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23210 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
= 0;
23212 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23213 wxBitmap
*arg2
= 0 ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 char * kwnames
[] = {
23221 (char *) "self",(char *) "bmp", NULL
23224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23226 if (!SWIG_IsOK(res1
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23229 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23231 if (!SWIG_IsOK(res2
)) {
23232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23237 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_Py_Void();
23251 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
= 0;
23253 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23254 wxBitmap
*arg2
= 0 ;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 char * kwnames
[] = {
23262 (char *) "self",(char *) "bmp", NULL
23265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23267 if (!SWIG_IsOK(res1
)) {
23268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23270 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23272 if (!SWIG_IsOK(res2
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23278 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 resultobj
= SWIG_Py_Void();
23292 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
= 0;
23294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23295 wxString
*arg2
= 0 ;
23298 bool temp2
= false ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char * kwnames
[] = {
23302 (char *) "self",(char *) "label", NULL
23305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23307 if (!SWIG_IsOK(res1
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23310 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23312 arg2
= wxString_in_helper(obj1
);
23313 if (arg2
== NULL
) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 (arg1
)->SetLabel((wxString
const &)*arg2
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= SWIG_Py_Void();
23337 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23338 PyObject
*resultobj
= 0;
23339 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23342 PyObject
*swig_obj
[1] ;
23344 if (!args
) SWIG_fail
;
23345 swig_obj
[0] = args
;
23346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23347 if (!SWIG_IsOK(res1
)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23350 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_Py_Void();
23364 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
= 0;
23366 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23367 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 char * kwnames
[] = {
23375 (char *) "self",(char *) "tbar", NULL
23378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23383 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23385 if (!SWIG_IsOK(res2
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23388 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 (arg1
)->Attach(arg2
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_Py_Void();
23402 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23403 PyObject
*resultobj
= 0;
23404 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23405 PyObject
*result
= 0 ;
23408 PyObject
*swig_obj
[1] ;
23410 if (!args
) SWIG_fail
;
23411 swig_obj
[0] = args
;
23412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23413 if (!SWIG_IsOK(res1
)) {
23414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23416 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= result
;
23430 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
= 0;
23432 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23433 PyObject
*arg2
= (PyObject
*) 0 ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char * kwnames
[] = {
23439 (char *) "self",(char *) "clientData", NULL
23442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23444 if (!SWIG_IsOK(res1
)) {
23445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23447 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= SWIG_Py_Void();
23462 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23465 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23466 return SWIG_Py_Void();
23469 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
= 0;
23471 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23473 wxString
*arg3
= 0 ;
23474 wxBitmap
*arg4
= 0 ;
23475 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23476 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23477 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23478 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23479 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23480 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23481 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23482 PyObject
*arg9
= (PyObject
*) NULL
;
23483 wxToolBarToolBase
*result
= 0 ;
23488 bool temp3
= false ;
23495 bool temp7
= false ;
23496 bool temp8
= false ;
23497 PyObject
* obj0
= 0 ;
23498 PyObject
* obj1
= 0 ;
23499 PyObject
* obj2
= 0 ;
23500 PyObject
* obj3
= 0 ;
23501 PyObject
* obj4
= 0 ;
23502 PyObject
* obj5
= 0 ;
23503 PyObject
* obj6
= 0 ;
23504 PyObject
* obj7
= 0 ;
23505 PyObject
* obj8
= 0 ;
23506 char * kwnames
[] = {
23507 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23512 if (!SWIG_IsOK(res1
)) {
23513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23515 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23517 if (!SWIG_IsOK(ecode2
)) {
23518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23520 arg2
= static_cast< int >(val2
);
23522 arg3
= wxString_in_helper(obj2
);
23523 if (arg3
== NULL
) SWIG_fail
;
23526 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23527 if (!SWIG_IsOK(res4
)) {
23528 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23533 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23535 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23536 if (!SWIG_IsOK(res5
)) {
23537 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23542 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23545 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23546 if (!SWIG_IsOK(ecode6
)) {
23547 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23549 arg6
= static_cast< wxItemKind
>(val6
);
23553 arg7
= wxString_in_helper(obj6
);
23554 if (arg7
== NULL
) SWIG_fail
;
23560 arg8
= wxString_in_helper(obj7
);
23561 if (arg8
== NULL
) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23607 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
= 0;
23609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23612 wxString
*arg4
= 0 ;
23613 wxBitmap
*arg5
= 0 ;
23614 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23615 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23616 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23617 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23618 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23619 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23620 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23621 PyObject
*arg10
= (PyObject
*) NULL
;
23622 wxToolBarToolBase
*result
= 0 ;
23629 bool temp4
= false ;
23636 bool temp8
= false ;
23637 bool temp9
= false ;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23640 PyObject
* obj2
= 0 ;
23641 PyObject
* obj3
= 0 ;
23642 PyObject
* obj4
= 0 ;
23643 PyObject
* obj5
= 0 ;
23644 PyObject
* obj6
= 0 ;
23645 PyObject
* obj7
= 0 ;
23646 PyObject
* obj8
= 0 ;
23647 PyObject
* obj9
= 0 ;
23648 char * kwnames
[] = {
23649 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23654 if (!SWIG_IsOK(res1
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23657 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23658 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23659 if (!SWIG_IsOK(ecode2
)) {
23660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23662 arg2
= static_cast< size_t >(val2
);
23663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23664 if (!SWIG_IsOK(ecode3
)) {
23665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23667 arg3
= static_cast< int >(val3
);
23669 arg4
= wxString_in_helper(obj3
);
23670 if (arg4
== NULL
) SWIG_fail
;
23673 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23674 if (!SWIG_IsOK(res5
)) {
23675 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23680 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23682 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23683 if (!SWIG_IsOK(res6
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23689 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23692 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23693 if (!SWIG_IsOK(ecode7
)) {
23694 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23696 arg7
= static_cast< wxItemKind
>(val7
);
23700 arg8
= wxString_in_helper(obj7
);
23701 if (arg8
== NULL
) SWIG_fail
;
23707 arg9
= wxString_in_helper(obj8
);
23708 if (arg9
== NULL
) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23754 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
= 0;
23756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23757 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23758 wxToolBarToolBase
*result
= 0 ;
23763 PyObject
* obj0
= 0 ;
23764 PyObject
* obj1
= 0 ;
23765 char * kwnames
[] = {
23766 (char *) "self",(char *) "tool", NULL
23769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23771 if (!SWIG_IsOK(res1
)) {
23772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23774 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23776 if (!SWIG_IsOK(res2
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23779 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23795 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
= 0;
23797 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23799 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23800 wxToolBarToolBase
*result
= 0 ;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 PyObject
* obj2
= 0 ;
23810 char * kwnames
[] = {
23811 (char *) "self",(char *) "pos",(char *) "tool", NULL
23814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23816 if (!SWIG_IsOK(res1
)) {
23817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23819 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23821 if (!SWIG_IsOK(ecode2
)) {
23822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23824 arg2
= static_cast< size_t >(val2
);
23825 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23826 if (!SWIG_IsOK(res3
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23829 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23845 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
= 0;
23847 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23848 wxControl
*arg2
= (wxControl
*) 0 ;
23849 wxToolBarToolBase
*result
= 0 ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 char * kwnames
[] = {
23857 (char *) "self",(char *) "control", NULL
23860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23862 if (!SWIG_IsOK(res1
)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23865 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23867 if (!SWIG_IsOK(res2
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23870 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23886 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
= 0;
23888 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23890 wxControl
*arg3
= (wxControl
*) 0 ;
23891 wxToolBarToolBase
*result
= 0 ;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 PyObject
* obj2
= 0 ;
23901 char * kwnames
[] = {
23902 (char *) "self",(char *) "pos",(char *) "control", NULL
23905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23910 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23911 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23912 if (!SWIG_IsOK(ecode2
)) {
23913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23915 arg2
= static_cast< size_t >(val2
);
23916 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23917 if (!SWIG_IsOK(res3
)) {
23918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23920 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23936 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
= 0;
23938 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23940 wxControl
*result
= 0 ;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 char * kwnames
[] = {
23948 (char *) "self",(char *) "id", NULL
23951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23953 if (!SWIG_IsOK(res1
)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23956 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23958 if (!SWIG_IsOK(ecode2
)) {
23959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23961 arg2
= static_cast< int >(val2
);
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= wxPyMake_wxObject(result
, 0);
23977 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23978 PyObject
*resultobj
= 0;
23979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23980 wxToolBarToolBase
*result
= 0 ;
23983 PyObject
*swig_obj
[1] ;
23985 if (!args
) SWIG_fail
;
23986 swig_obj
[0] = args
;
23987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23991 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23999 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24007 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
= 0;
24009 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24011 wxToolBarToolBase
*result
= 0 ;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24018 char * kwnames
[] = {
24019 (char *) "self",(char *) "pos", NULL
24022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24024 if (!SWIG_IsOK(res1
)) {
24025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24027 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24028 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24029 if (!SWIG_IsOK(ecode2
)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24032 arg2
= static_cast< size_t >(val2
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24048 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
= 0;
24050 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24052 wxToolBarToolBase
*result
= 0 ;
24057 PyObject
* obj0
= 0 ;
24058 PyObject
* obj1
= 0 ;
24059 char * kwnames
[] = {
24060 (char *) "self",(char *) "id", NULL
24063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24065 if (!SWIG_IsOK(res1
)) {
24066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24068 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24070 if (!SWIG_IsOK(ecode2
)) {
24071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24073 arg2
= static_cast< int >(val2
);
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24089 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
= 0;
24091 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char * kwnames
[] = {
24101 (char *) "self",(char *) "pos", NULL
24104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24106 if (!SWIG_IsOK(res1
)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24109 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24110 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24111 if (!SWIG_IsOK(ecode2
)) {
24112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24114 arg2
= static_cast< size_t >(val2
);
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24130 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
= 0;
24132 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 char * kwnames
[] = {
24142 (char *) "self",(char *) "id", NULL
24145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24147 if (!SWIG_IsOK(res1
)) {
24148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24150 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24152 if (!SWIG_IsOK(ecode2
)) {
24153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24155 arg2
= static_cast< int >(val2
);
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (bool)(arg1
)->DeleteTool(arg2
);
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24171 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24172 PyObject
*resultobj
= 0;
24173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24176 PyObject
*swig_obj
[1] ;
24178 if (!args
) SWIG_fail
;
24179 swig_obj
[0] = args
;
24180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24181 if (!SWIG_IsOK(res1
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24184 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 (arg1
)->ClearTools();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_Py_Void();
24198 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24199 PyObject
*resultobj
= 0;
24200 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24204 PyObject
*swig_obj
[1] ;
24206 if (!args
) SWIG_fail
;
24207 swig_obj
[0] = args
;
24208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24209 if (!SWIG_IsOK(res1
)) {
24210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24212 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= (bool)(arg1
)->Realize();
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24228 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
= 0;
24230 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 PyObject
* obj2
= 0 ;
24242 char * kwnames
[] = {
24243 (char *) "self",(char *) "id",(char *) "enable", NULL
24246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24248 if (!SWIG_IsOK(res1
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24251 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24253 if (!SWIG_IsOK(ecode2
)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24256 arg2
= static_cast< int >(val2
);
24257 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24258 if (!SWIG_IsOK(ecode3
)) {
24259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24261 arg3
= static_cast< bool >(val3
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->EnableTool(arg2
,arg3
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_Py_Void();
24275 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
= 0;
24277 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 PyObject
* obj2
= 0 ;
24289 char * kwnames
[] = {
24290 (char *) "self",(char *) "id",(char *) "toggle", NULL
24293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24295 if (!SWIG_IsOK(res1
)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24298 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24300 if (!SWIG_IsOK(ecode2
)) {
24301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24303 arg2
= static_cast< int >(val2
);
24304 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24305 if (!SWIG_IsOK(ecode3
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24308 arg3
= static_cast< bool >(val3
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 (arg1
)->ToggleTool(arg2
,arg3
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_Py_Void();
24322 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
= 0;
24324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 PyObject
* obj2
= 0 ;
24336 char * kwnames
[] = {
24337 (char *) "self",(char *) "id",(char *) "toggle", NULL
24340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24342 if (!SWIG_IsOK(res1
)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24345 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24347 if (!SWIG_IsOK(ecode2
)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24350 arg2
= static_cast< int >(val2
);
24351 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24352 if (!SWIG_IsOK(ecode3
)) {
24353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24355 arg3
= static_cast< bool >(val3
);
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 (arg1
)->SetToggle(arg2
,arg3
);
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= SWIG_Py_Void();
24369 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
= 0;
24371 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24373 PyObject
*result
= 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char * kwnames
[] = {
24381 (char *) "self",(char *) "id", NULL
24384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24389 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24391 if (!SWIG_IsOK(ecode2
)) {
24392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24394 arg2
= static_cast< int >(val2
);
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= result
;
24408 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
= 0;
24410 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24412 PyObject
*arg3
= (PyObject
*) 0 ;
24417 PyObject
* obj0
= 0 ;
24418 PyObject
* obj1
= 0 ;
24419 PyObject
* obj2
= 0 ;
24420 char * kwnames
[] = {
24421 (char *) "self",(char *) "id",(char *) "clientData", NULL
24424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24426 if (!SWIG_IsOK(res1
)) {
24427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24429 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24431 if (!SWIG_IsOK(ecode2
)) {
24432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24434 arg2
= static_cast< int >(val2
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_Py_Void();
24449 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
= 0;
24451 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24458 PyObject
* obj0
= 0 ;
24459 PyObject
* obj1
= 0 ;
24460 char * kwnames
[] = {
24461 (char *) "self",(char *) "id", NULL
24464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24466 if (!SWIG_IsOK(res1
)) {
24467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24469 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24471 if (!SWIG_IsOK(ecode2
)) {
24472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24474 arg2
= static_cast< int >(val2
);
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= SWIG_From_int(static_cast< int >(result
));
24488 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
= 0;
24490 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char * kwnames
[] = {
24500 (char *) "self",(char *) "id", NULL
24503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24505 if (!SWIG_IsOK(res1
)) {
24506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24508 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24510 if (!SWIG_IsOK(ecode2
)) {
24511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24513 arg2
= static_cast< int >(val2
);
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 result
= (bool)(arg1
)->GetToolState(arg2
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24529 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
= 0;
24531 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 char * kwnames
[] = {
24541 (char *) "self",(char *) "id", NULL
24544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24546 if (!SWIG_IsOK(res1
)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24549 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24551 if (!SWIG_IsOK(ecode2
)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24554 arg2
= static_cast< int >(val2
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24570 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
= 0;
24572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24574 wxString
*arg3
= 0 ;
24579 bool temp3
= false ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 PyObject
* obj2
= 0 ;
24583 char * kwnames
[] = {
24584 (char *) "self",(char *) "id",(char *) "helpString", NULL
24587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24589 if (!SWIG_IsOK(res1
)) {
24590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24592 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24594 if (!SWIG_IsOK(ecode2
)) {
24595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24597 arg2
= static_cast< int >(val2
);
24599 arg3
= wxString_in_helper(obj2
);
24600 if (arg3
== NULL
) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_Py_Void();
24624 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
= 0;
24626 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 char * kwnames
[] = {
24636 (char *) "self",(char *) "id", NULL
24639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24641 if (!SWIG_IsOK(res1
)) {
24642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24644 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24646 if (!SWIG_IsOK(ecode2
)) {
24647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24649 arg2
= static_cast< int >(val2
);
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= (arg1
)->GetToolShortHelp(arg2
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24669 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24673 wxString
*arg3
= 0 ;
24678 bool temp3
= false ;
24679 PyObject
* obj0
= 0 ;
24680 PyObject
* obj1
= 0 ;
24681 PyObject
* obj2
= 0 ;
24682 char * kwnames
[] = {
24683 (char *) "self",(char *) "id",(char *) "helpString", NULL
24686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24688 if (!SWIG_IsOK(res1
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24691 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24693 if (!SWIG_IsOK(ecode2
)) {
24694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24696 arg2
= static_cast< int >(val2
);
24698 arg3
= wxString_in_helper(obj2
);
24699 if (arg3
== NULL
) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= SWIG_Py_Void();
24723 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24724 PyObject
*resultobj
= 0;
24725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 char * kwnames
[] = {
24735 (char *) "self",(char *) "id", NULL
24738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24740 if (!SWIG_IsOK(res1
)) {
24741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24743 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24745 if (!SWIG_IsOK(ecode2
)) {
24746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24748 arg2
= static_cast< int >(val2
);
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (arg1
)->GetToolLongHelp(arg2
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24768 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24769 PyObject
*resultobj
= 0;
24770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 PyObject
* obj2
= 0 ;
24782 char * kwnames
[] = {
24783 (char *) "self",(char *) "x",(char *) "y", NULL
24786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24788 if (!SWIG_IsOK(res1
)) {
24789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24791 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24793 if (!SWIG_IsOK(ecode2
)) {
24794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24796 arg2
= static_cast< int >(val2
);
24797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24798 if (!SWIG_IsOK(ecode3
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24801 arg3
= static_cast< int >(val3
);
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 (arg1
)->SetMargins(arg2
,arg3
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_Py_Void();
24815 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
= 0;
24817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char * kwnames
[] = {
24825 (char *) "self",(char *) "size", NULL
24828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24833 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24836 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= SWIG_Py_Void();
24851 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
= 0;
24853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 PyObject
* obj1
= 0 ;
24861 char * kwnames
[] = {
24862 (char *) "self",(char *) "packing", NULL
24865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24867 if (!SWIG_IsOK(res1
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24870 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24872 if (!SWIG_IsOK(ecode2
)) {
24873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24875 arg2
= static_cast< int >(val2
);
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 (arg1
)->SetToolPacking(arg2
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 resultobj
= SWIG_Py_Void();
24889 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
= 0;
24891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 char * kwnames
[] = {
24900 (char *) "self",(char *) "separation", NULL
24903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24908 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24910 if (!SWIG_IsOK(ecode2
)) {
24911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24913 arg2
= static_cast< int >(val2
);
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->SetToolSeparation(arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_Py_Void();
24927 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24928 PyObject
*resultobj
= 0;
24929 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24933 PyObject
*swig_obj
[1] ;
24935 if (!args
) SWIG_fail
;
24936 swig_obj
[0] = args
;
24937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24941 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (arg1
)->GetToolMargins();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24955 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24956 PyObject
*resultobj
= 0;
24957 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24961 PyObject
*swig_obj
[1] ;
24963 if (!args
) SWIG_fail
;
24964 swig_obj
[0] = args
;
24965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24966 if (!SWIG_IsOK(res1
)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24969 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= (arg1
)->GetMargins();
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24983 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24984 PyObject
*resultobj
= 0;
24985 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24989 PyObject
*swig_obj
[1] ;
24991 if (!args
) SWIG_fail
;
24992 swig_obj
[0] = args
;
24993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24994 if (!SWIG_IsOK(res1
)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24997 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (int)(arg1
)->GetToolPacking();
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= SWIG_From_int(static_cast< int >(result
));
25011 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25012 PyObject
*resultobj
= 0;
25013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25017 PyObject
*swig_obj
[1] ;
25019 if (!args
) SWIG_fail
;
25020 swig_obj
[0] = args
;
25021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25022 if (!SWIG_IsOK(res1
)) {
25023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25025 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= (int)(arg1
)->GetToolSeparation();
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= SWIG_From_int(static_cast< int >(result
));
25039 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
= 0;
25041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 char * kwnames
[] = {
25050 (char *) "self",(char *) "nRows", NULL
25053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25055 if (!SWIG_IsOK(res1
)) {
25056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25058 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25060 if (!SWIG_IsOK(ecode2
)) {
25061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25063 arg2
= static_cast< int >(val2
);
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 (arg1
)->SetRows(arg2
);
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= SWIG_Py_Void();
25077 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
= 0;
25079 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 PyObject
* obj2
= 0 ;
25091 char * kwnames
[] = {
25092 (char *) "self",(char *) "rows",(char *) "cols", NULL
25095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25100 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25102 if (!SWIG_IsOK(ecode2
)) {
25103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25105 arg2
= static_cast< int >(val2
);
25106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25107 if (!SWIG_IsOK(ecode3
)) {
25108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25110 arg3
= static_cast< int >(val3
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_Py_Void();
25124 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25125 PyObject
*resultobj
= 0;
25126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25130 PyObject
*swig_obj
[1] ;
25132 if (!args
) SWIG_fail
;
25133 swig_obj
[0] = args
;
25134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25135 if (!SWIG_IsOK(res1
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25138 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (int)(arg1
)->GetMaxRows();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= SWIG_From_int(static_cast< int >(result
));
25152 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25153 PyObject
*resultobj
= 0;
25154 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25158 PyObject
*swig_obj
[1] ;
25160 if (!args
) SWIG_fail
;
25161 swig_obj
[0] = args
;
25162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25163 if (!SWIG_IsOK(res1
)) {
25164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25166 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25169 result
= (int)(arg1
)->GetMaxCols();
25170 wxPyEndAllowThreads(__tstate
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= SWIG_From_int(static_cast< int >(result
));
25180 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25181 PyObject
*resultobj
= 0;
25182 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 char * kwnames
[] = {
25190 (char *) "self",(char *) "size", NULL
25193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25198 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_Py_Void();
25216 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25217 PyObject
*resultobj
= 0;
25218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25222 PyObject
*swig_obj
[1] ;
25224 if (!args
) SWIG_fail
;
25225 swig_obj
[0] = args
;
25226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25227 if (!SWIG_IsOK(res1
)) {
25228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25230 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (arg1
)->GetToolBitmapSize();
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25244 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25245 PyObject
*resultobj
= 0;
25246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25250 PyObject
*swig_obj
[1] ;
25252 if (!args
) SWIG_fail
;
25253 swig_obj
[0] = args
;
25254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25255 if (!SWIG_IsOK(res1
)) {
25256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25258 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (arg1
)->GetToolSize();
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25272 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
= 0;
25274 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25277 wxToolBarToolBase
*result
= 0 ;
25284 PyObject
* obj0
= 0 ;
25285 PyObject
* obj1
= 0 ;
25286 PyObject
* obj2
= 0 ;
25287 char * kwnames
[] = {
25288 (char *) "self",(char *) "x",(char *) "y", NULL
25291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25293 if (!SWIG_IsOK(res1
)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25296 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25298 if (!SWIG_IsOK(ecode2
)) {
25299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25301 arg2
= static_cast< int >(val2
);
25302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25303 if (!SWIG_IsOK(ecode3
)) {
25304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25306 arg3
= static_cast< int >(val3
);
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25322 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
= 0;
25324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25326 wxToolBarToolBase
*result
= 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char * kwnames
[] = {
25334 (char *) "self",(char *) "toolid", NULL
25337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25342 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25344 if (!SWIG_IsOK(ecode2
)) {
25345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25347 arg2
= static_cast< int >(val2
);
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25363 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25364 PyObject
*resultobj
= 0;
25365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25369 PyObject
*swig_obj
[1] ;
25371 if (!args
) SWIG_fail
;
25372 swig_obj
[0] = args
;
25373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25374 if (!SWIG_IsOK(res1
)) {
25375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25377 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= (bool)(arg1
)->IsVertical();
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25393 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 PyObject
*resultobj
= 0;
25395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25399 PyObject
*swig_obj
[1] ;
25401 if (!args
) SWIG_fail
;
25402 swig_obj
[0] = args
;
25403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25404 if (!SWIG_IsOK(res1
)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25407 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25421 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25424 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25425 return SWIG_Py_Void();
25428 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
= 0;
25430 wxWindow
*arg1
= (wxWindow
*) 0 ;
25431 int arg2
= (int) -1 ;
25432 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25433 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25434 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25435 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25436 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25437 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25438 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25439 wxToolBar
*result
= 0 ;
25448 bool temp6
= false ;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 PyObject
* obj2
= 0 ;
25452 PyObject
* obj3
= 0 ;
25453 PyObject
* obj4
= 0 ;
25454 PyObject
* obj5
= 0 ;
25455 char * kwnames
[] = {
25456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25461 if (!SWIG_IsOK(res1
)) {
25462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25464 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25467 if (!SWIG_IsOK(ecode2
)) {
25468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25470 arg2
= static_cast< int >(val2
);
25475 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25481 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25485 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25486 if (!SWIG_IsOK(ecode5
)) {
25487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25489 arg5
= static_cast< long >(val5
);
25493 arg6
= wxString_in_helper(obj5
);
25494 if (arg6
== NULL
) SWIG_fail
;
25499 if (!wxPyCheckForApp()) SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25520 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25521 PyObject
*resultobj
= 0;
25522 wxToolBar
*result
= 0 ;
25524 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25526 if (!wxPyCheckForApp()) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= (wxToolBar
*)new wxToolBar();
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25539 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
= 0;
25541 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25542 wxWindow
*arg2
= (wxWindow
*) 0 ;
25543 int arg3
= (int) -1 ;
25544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25548 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25549 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25562 bool temp7
= false ;
25563 PyObject
* obj0
= 0 ;
25564 PyObject
* obj1
= 0 ;
25565 PyObject
* obj2
= 0 ;
25566 PyObject
* obj3
= 0 ;
25567 PyObject
* obj4
= 0 ;
25568 PyObject
* obj5
= 0 ;
25569 PyObject
* obj6
= 0 ;
25570 char * kwnames
[] = {
25571 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25576 if (!SWIG_IsOK(res1
)) {
25577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25579 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25581 if (!SWIG_IsOK(res2
)) {
25582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25584 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25587 if (!SWIG_IsOK(ecode3
)) {
25588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25590 arg3
= static_cast< int >(val3
);
25595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25605 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25606 if (!SWIG_IsOK(ecode6
)) {
25607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25609 arg6
= static_cast< long >(val6
);
25613 arg7
= wxString_in_helper(obj6
);
25614 if (arg7
== NULL
) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25641 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
= 0;
25643 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25644 SwigValueWrapper
<wxVisualAttributes
> result
;
25647 PyObject
* obj0
= 0 ;
25648 char * kwnames
[] = {
25649 (char *) "variant", NULL
25652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25655 if (!SWIG_IsOK(ecode1
)) {
25656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25658 arg1
= static_cast< wxWindowVariant
>(val1
);
25661 if (!wxPyCheckForApp()) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25674 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25677 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25678 return SWIG_Py_Void();
25681 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25682 return SWIG_Python_InitShadowInstance(args
);
25685 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25686 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25691 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25692 PyObject
*pyobj
= 0;
25696 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25698 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25705 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxColour
const &arg1_defvalue
= wxNullColour
;
25708 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25709 wxColour
const &arg2_defvalue
= wxNullColour
;
25710 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25711 wxFont
const &arg3_defvalue
= wxNullFont
;
25712 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25713 wxListItemAttr
*result
= 0 ;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 PyObject
* obj2
= 0 ;
25721 char * kwnames
[] = {
25722 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25729 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25739 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25740 if (!SWIG_IsOK(res3
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25746 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25761 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25762 PyObject
*resultobj
= 0;
25763 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25766 PyObject
*swig_obj
[1] ;
25768 if (!args
) SWIG_fail
;
25769 swig_obj
[0] = args
;
25770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25774 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= SWIG_Py_Void();
25789 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
= 0;
25791 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25792 wxColour
*arg2
= 0 ;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj1
= 0 ;
25798 char * kwnames
[] = {
25799 (char *) "self",(char *) "colText", NULL
25802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25804 if (!SWIG_IsOK(res1
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25807 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= SWIG_Py_Void();
25825 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
= 0;
25827 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25828 wxColour
*arg2
= 0 ;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 char * kwnames
[] = {
25835 (char *) "self",(char *) "colBack", NULL
25838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25840 if (!SWIG_IsOK(res1
)) {
25841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25843 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_Py_Void();
25861 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
= 0;
25863 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 char * kwnames
[] = {
25872 (char *) "self",(char *) "font", NULL
25875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25877 if (!SWIG_IsOK(res1
)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25880 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25882 if (!SWIG_IsOK(res2
)) {
25883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25888 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 (arg1
)->SetFont((wxFont
const &)*arg2
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_Py_Void();
25902 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25903 PyObject
*resultobj
= 0;
25904 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25908 PyObject
*swig_obj
[1] ;
25910 if (!args
) SWIG_fail
;
25911 swig_obj
[0] = args
;
25912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25916 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= (bool)(arg1
)->HasTextColour();
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25932 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25933 PyObject
*resultobj
= 0;
25934 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25938 PyObject
*swig_obj
[1] ;
25940 if (!args
) SWIG_fail
;
25941 swig_obj
[0] = args
;
25942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25943 if (!SWIG_IsOK(res1
)) {
25944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25946 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (bool)(arg1
)->HasBackgroundColour();
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25962 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25963 PyObject
*resultobj
= 0;
25964 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25968 PyObject
*swig_obj
[1] ;
25970 if (!args
) SWIG_fail
;
25971 swig_obj
[0] = args
;
25972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25973 if (!SWIG_IsOK(res1
)) {
25974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25976 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 result
= (bool)(arg1
)->HasFont();
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25992 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25993 PyObject
*resultobj
= 0;
25994 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25998 PyObject
*swig_obj
[1] ;
26000 if (!args
) SWIG_fail
;
26001 swig_obj
[0] = args
;
26002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26003 if (!SWIG_IsOK(res1
)) {
26004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26006 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (arg1
)->GetTextColour();
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26020 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26021 PyObject
*resultobj
= 0;
26022 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26026 PyObject
*swig_obj
[1] ;
26028 if (!args
) SWIG_fail
;
26029 swig_obj
[0] = args
;
26030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26031 if (!SWIG_IsOK(res1
)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26034 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 result
= (arg1
)->GetBackgroundColour();
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26048 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26049 PyObject
*resultobj
= 0;
26050 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26054 PyObject
*swig_obj
[1] ;
26056 if (!args
) SWIG_fail
;
26057 swig_obj
[0] = args
;
26058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26059 if (!SWIG_IsOK(res1
)) {
26060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26062 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 result
= (arg1
)->GetFont();
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26076 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26079 wxListItemAttr
*arg2
= 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char * kwnames
[] = {
26087 (char *) "self",(char *) "source", NULL
26090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26092 if (!SWIG_IsOK(res1
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26095 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26097 if (!SWIG_IsOK(res2
)) {
26098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26103 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_Py_Void();
26117 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26118 PyObject
*resultobj
= 0;
26119 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26122 PyObject
*swig_obj
[1] ;
26124 if (!args
) SWIG_fail
;
26125 swig_obj
[0] = args
;
26126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26130 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 wxListItemAttr_Destroy(arg1
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 resultobj
= SWIG_Py_Void();
26144 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26147 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26148 return SWIG_Py_Void();
26151 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26152 return SWIG_Python_InitShadowInstance(args
);
26155 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26156 PyObject
*resultobj
= 0;
26157 wxListItem
*result
= 0 ;
26159 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 result
= (wxListItem
*)new wxListItem();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26175 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26176 PyObject
*resultobj
= 0;
26177 wxListItem
*arg1
= (wxListItem
*) 0 ;
26180 PyObject
*swig_obj
[1] ;
26182 if (!args
) SWIG_fail
;
26183 swig_obj
[0] = args
;
26184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26188 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26196 resultobj
= SWIG_Py_Void();
26203 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26204 PyObject
*resultobj
= 0;
26205 wxListItem
*arg1
= (wxListItem
*) 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_wxListItem
, 0 | 0 );
26213 if (!SWIG_IsOK(res1
)) {
26214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26216 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_Py_Void();
26230 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26231 PyObject
*resultobj
= 0;
26232 wxListItem
*arg1
= (wxListItem
*) 0 ;
26235 PyObject
*swig_obj
[1] ;
26237 if (!args
) SWIG_fail
;
26238 swig_obj
[0] = args
;
26239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26243 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 (arg1
)->ClearAttributes();
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_Py_Void();
26257 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
= 0;
26259 wxListItem
*arg1
= (wxListItem
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char * kwnames
[] = {
26268 (char *) "self",(char *) "mask", NULL
26271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26276 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26277 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26278 if (!SWIG_IsOK(ecode2
)) {
26279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26281 arg2
= static_cast< long >(val2
);
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 (arg1
)->SetMask(arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= SWIG_Py_Void();
26295 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
= 0;
26297 wxListItem
*arg1
= (wxListItem
*) 0 ;
26303 PyObject
* obj0
= 0 ;
26304 PyObject
* obj1
= 0 ;
26305 char * kwnames
[] = {
26306 (char *) "self",(char *) "id", NULL
26309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26311 if (!SWIG_IsOK(res1
)) {
26312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26314 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26315 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26316 if (!SWIG_IsOK(ecode2
)) {
26317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26319 arg2
= static_cast< long >(val2
);
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 (arg1
)->SetId(arg2
);
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= SWIG_Py_Void();
26333 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
= 0;
26335 wxListItem
*arg1
= (wxListItem
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char * kwnames
[] = {
26344 (char *) "self",(char *) "col", NULL
26347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26349 if (!SWIG_IsOK(res1
)) {
26350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26352 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26354 if (!SWIG_IsOK(ecode2
)) {
26355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26357 arg2
= static_cast< int >(val2
);
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 (arg1
)->SetColumn(arg2
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_Py_Void();
26371 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
= 0;
26373 wxListItem
*arg1
= (wxListItem
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 char * kwnames
[] = {
26382 (char *) "self",(char *) "state", NULL
26385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26387 if (!SWIG_IsOK(res1
)) {
26388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26390 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26391 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26392 if (!SWIG_IsOK(ecode2
)) {
26393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26395 arg2
= static_cast< long >(val2
);
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->SetState(arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_Py_Void();
26409 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
= 0;
26411 wxListItem
*arg1
= (wxListItem
*) 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char * kwnames
[] = {
26420 (char *) "self",(char *) "stateMask", NULL
26423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26429 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26430 if (!SWIG_IsOK(ecode2
)) {
26431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26433 arg2
= static_cast< long >(val2
);
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->SetStateMask(arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_Py_Void();
26447 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26448 PyObject
*resultobj
= 0;
26449 wxListItem
*arg1
= (wxListItem
*) 0 ;
26450 wxString
*arg2
= 0 ;
26453 bool temp2
= false ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "text", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26465 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26467 arg2
= wxString_in_helper(obj1
);
26468 if (arg2
== NULL
) SWIG_fail
;
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->SetText((wxString
const &)*arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26492 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
= 0;
26494 wxListItem
*arg1
= (wxListItem
*) 0 ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 char * kwnames
[] = {
26503 (char *) "self",(char *) "image", NULL
26506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26508 if (!SWIG_IsOK(res1
)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26511 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26513 if (!SWIG_IsOK(ecode2
)) {
26514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26516 arg2
= static_cast< int >(val2
);
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 (arg1
)->SetImage(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_Py_Void();
26530 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
= 0;
26532 wxListItem
*arg1
= (wxListItem
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 char * kwnames
[] = {
26541 (char *) "self",(char *) "data", NULL
26544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26546 if (!SWIG_IsOK(res1
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26549 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26551 if (!SWIG_IsOK(ecode2
)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26554 arg2
= static_cast< long >(val2
);
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 (arg1
)->SetData(arg2
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_Py_Void();
26568 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
= 0;
26570 wxListItem
*arg1
= (wxListItem
*) 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char * kwnames
[] = {
26579 (char *) "self",(char *) "width", NULL
26582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26584 if (!SWIG_IsOK(res1
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26587 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26589 if (!SWIG_IsOK(ecode2
)) {
26590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26592 arg2
= static_cast< int >(val2
);
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 (arg1
)->SetWidth(arg2
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_Py_Void();
26606 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
= 0;
26608 wxListItem
*arg1
= (wxListItem
*) 0 ;
26609 wxListColumnFormat arg2
;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char * kwnames
[] = {
26617 (char *) "self",(char *) "align", NULL
26620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26622 if (!SWIG_IsOK(res1
)) {
26623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26625 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26627 if (!SWIG_IsOK(ecode2
)) {
26628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26630 arg2
= static_cast< wxListColumnFormat
>(val2
);
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 (arg1
)->SetAlign(arg2
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_Py_Void();
26644 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
= 0;
26646 wxListItem
*arg1
= (wxListItem
*) 0 ;
26647 wxColour
*arg2
= 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 char * kwnames
[] = {
26654 (char *) "self",(char *) "colText", NULL
26657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26662 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26665 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 resultobj
= SWIG_Py_Void();
26680 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
= 0;
26682 wxListItem
*arg1
= (wxListItem
*) 0 ;
26683 wxColour
*arg2
= 0 ;
26687 PyObject
* obj0
= 0 ;
26688 PyObject
* obj1
= 0 ;
26689 char * kwnames
[] = {
26690 (char *) "self",(char *) "colBack", NULL
26693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26695 if (!SWIG_IsOK(res1
)) {
26696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26698 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26701 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_Py_Void();
26716 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
= 0;
26718 wxListItem
*arg1
= (wxListItem
*) 0 ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 char * kwnames
[] = {
26727 (char *) "self",(char *) "font", NULL
26730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26732 if (!SWIG_IsOK(res1
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26735 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26737 if (!SWIG_IsOK(res2
)) {
26738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26743 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 (arg1
)->SetFont((wxFont
const &)*arg2
);
26747 wxPyEndAllowThreads(__tstate
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= SWIG_Py_Void();
26757 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26758 PyObject
*resultobj
= 0;
26759 wxListItem
*arg1
= (wxListItem
*) 0 ;
26763 PyObject
*swig_obj
[1] ;
26765 if (!args
) SWIG_fail
;
26766 swig_obj
[0] = args
;
26767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26768 if (!SWIG_IsOK(res1
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26771 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (long)(arg1
)->GetMask();
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_From_long(static_cast< long >(result
));
26785 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26786 PyObject
*resultobj
= 0;
26787 wxListItem
*arg1
= (wxListItem
*) 0 ;
26791 PyObject
*swig_obj
[1] ;
26793 if (!args
) SWIG_fail
;
26794 swig_obj
[0] = args
;
26795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26799 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (long)(arg1
)->GetId();
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_From_long(static_cast< long >(result
));
26813 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26814 PyObject
*resultobj
= 0;
26815 wxListItem
*arg1
= (wxListItem
*) 0 ;
26819 PyObject
*swig_obj
[1] ;
26821 if (!args
) SWIG_fail
;
26822 swig_obj
[0] = args
;
26823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26824 if (!SWIG_IsOK(res1
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26827 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (int)(arg1
)->GetColumn();
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 resultobj
= SWIG_From_int(static_cast< int >(result
));
26841 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26842 PyObject
*resultobj
= 0;
26843 wxListItem
*arg1
= (wxListItem
*) 0 ;
26847 PyObject
*swig_obj
[1] ;
26849 if (!args
) SWIG_fail
;
26850 swig_obj
[0] = args
;
26851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26852 if (!SWIG_IsOK(res1
)) {
26853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26855 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 result
= (long)(arg1
)->GetState();
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_From_long(static_cast< long >(result
));
26869 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26870 PyObject
*resultobj
= 0;
26871 wxListItem
*arg1
= (wxListItem
*) 0 ;
26872 wxString
*result
= 0 ;
26875 PyObject
*swig_obj
[1] ;
26877 if (!args
) SWIG_fail
;
26878 swig_obj
[0] = args
;
26879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26883 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 wxString
const &_result_ref
= (arg1
)->GetText();
26888 result
= (wxString
*) &_result_ref
;
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26897 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26906 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26907 PyObject
*resultobj
= 0;
26908 wxListItem
*arg1
= (wxListItem
*) 0 ;
26912 PyObject
*swig_obj
[1] ;
26914 if (!args
) SWIG_fail
;
26915 swig_obj
[0] = args
;
26916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26920 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (int)(arg1
)->GetImage();
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_From_int(static_cast< int >(result
));
26934 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26935 PyObject
*resultobj
= 0;
26936 wxListItem
*arg1
= (wxListItem
*) 0 ;
26940 PyObject
*swig_obj
[1] ;
26942 if (!args
) SWIG_fail
;
26943 swig_obj
[0] = args
;
26944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26945 if (!SWIG_IsOK(res1
)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26948 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (long)(arg1
)->GetData();
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= SWIG_From_long(static_cast< long >(result
));
26962 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26963 PyObject
*resultobj
= 0;
26964 wxListItem
*arg1
= (wxListItem
*) 0 ;
26968 PyObject
*swig_obj
[1] ;
26970 if (!args
) SWIG_fail
;
26971 swig_obj
[0] = args
;
26972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26976 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (int)(arg1
)->GetWidth();
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= SWIG_From_int(static_cast< int >(result
));
26990 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26991 PyObject
*resultobj
= 0;
26992 wxListItem
*arg1
= (wxListItem
*) 0 ;
26993 wxListColumnFormat result
;
26996 PyObject
*swig_obj
[1] ;
26998 if (!args
) SWIG_fail
;
26999 swig_obj
[0] = args
;
27000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27001 if (!SWIG_IsOK(res1
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27004 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_From_int(static_cast< int >(result
));
27018 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27019 PyObject
*resultobj
= 0;
27020 wxListItem
*arg1
= (wxListItem
*) 0 ;
27021 wxListItemAttr
*result
= 0 ;
27024 PyObject
*swig_obj
[1] ;
27026 if (!args
) SWIG_fail
;
27027 swig_obj
[0] = args
;
27028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27029 if (!SWIG_IsOK(res1
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27032 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27046 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27047 PyObject
*resultobj
= 0;
27048 wxListItem
*arg1
= (wxListItem
*) 0 ;
27052 PyObject
*swig_obj
[1] ;
27054 if (!args
) SWIG_fail
;
27055 swig_obj
[0] = args
;
27056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27057 if (!SWIG_IsOK(res1
)) {
27058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27060 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (bool)(arg1
)->HasAttributes();
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27076 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27077 PyObject
*resultobj
= 0;
27078 wxListItem
*arg1
= (wxListItem
*) 0 ;
27082 PyObject
*swig_obj
[1] ;
27084 if (!args
) SWIG_fail
;
27085 swig_obj
[0] = args
;
27086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27087 if (!SWIG_IsOK(res1
)) {
27088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27090 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27093 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27097 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27104 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27105 PyObject
*resultobj
= 0;
27106 wxListItem
*arg1
= (wxListItem
*) 0 ;
27110 PyObject
*swig_obj
[1] ;
27112 if (!args
) SWIG_fail
;
27113 swig_obj
[0] = args
;
27114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27115 if (!SWIG_IsOK(res1
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27118 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27132 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27133 PyObject
*resultobj
= 0;
27134 wxListItem
*arg1
= (wxListItem
*) 0 ;
27138 PyObject
*swig_obj
[1] ;
27140 if (!args
) SWIG_fail
;
27141 swig_obj
[0] = args
;
27142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27143 if (!SWIG_IsOK(res1
)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27146 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= ((wxListItem
const *)arg1
)->GetFont();
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27160 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27161 PyObject
*resultobj
= 0;
27162 wxListItem
*arg1
= (wxListItem
*) 0 ;
27168 PyObject
*swig_obj
[2] ;
27170 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27172 if (!SWIG_IsOK(res1
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27175 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27176 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27177 if (!SWIG_IsOK(ecode2
)) {
27178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27180 arg2
= static_cast< long >(val2
);
27181 if (arg1
) (arg1
)->m_mask
= arg2
;
27183 resultobj
= SWIG_Py_Void();
27190 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27191 PyObject
*resultobj
= 0;
27192 wxListItem
*arg1
= (wxListItem
*) 0 ;
27196 PyObject
*swig_obj
[1] ;
27198 if (!args
) SWIG_fail
;
27199 swig_obj
[0] = args
;
27200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27204 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27205 result
= (long) ((arg1
)->m_mask
);
27206 resultobj
= SWIG_From_long(static_cast< long >(result
));
27213 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27214 PyObject
*resultobj
= 0;
27215 wxListItem
*arg1
= (wxListItem
*) 0 ;
27221 PyObject
*swig_obj
[2] ;
27223 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27228 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27229 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27230 if (!SWIG_IsOK(ecode2
)) {
27231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27233 arg2
= static_cast< long >(val2
);
27234 if (arg1
) (arg1
)->m_itemId
= arg2
;
27236 resultobj
= SWIG_Py_Void();
27243 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27244 PyObject
*resultobj
= 0;
27245 wxListItem
*arg1
= (wxListItem
*) 0 ;
27249 PyObject
*swig_obj
[1] ;
27251 if (!args
) SWIG_fail
;
27252 swig_obj
[0] = args
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27257 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27258 result
= (long) ((arg1
)->m_itemId
);
27259 resultobj
= SWIG_From_long(static_cast< long >(result
));
27266 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27267 PyObject
*resultobj
= 0;
27268 wxListItem
*arg1
= (wxListItem
*) 0 ;
27274 PyObject
*swig_obj
[2] ;
27276 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27281 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27282 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27283 if (!SWIG_IsOK(ecode2
)) {
27284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27286 arg2
= static_cast< int >(val2
);
27287 if (arg1
) (arg1
)->m_col
= arg2
;
27289 resultobj
= SWIG_Py_Void();
27296 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27297 PyObject
*resultobj
= 0;
27298 wxListItem
*arg1
= (wxListItem
*) 0 ;
27302 PyObject
*swig_obj
[1] ;
27304 if (!args
) SWIG_fail
;
27305 swig_obj
[0] = args
;
27306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27307 if (!SWIG_IsOK(res1
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27310 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27311 result
= (int) ((arg1
)->m_col
);
27312 resultobj
= SWIG_From_int(static_cast< int >(result
));
27319 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27320 PyObject
*resultobj
= 0;
27321 wxListItem
*arg1
= (wxListItem
*) 0 ;
27327 PyObject
*swig_obj
[2] ;
27329 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27331 if (!SWIG_IsOK(res1
)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27334 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27335 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27336 if (!SWIG_IsOK(ecode2
)) {
27337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27339 arg2
= static_cast< long >(val2
);
27340 if (arg1
) (arg1
)->m_state
= arg2
;
27342 resultobj
= SWIG_Py_Void();
27349 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27350 PyObject
*resultobj
= 0;
27351 wxListItem
*arg1
= (wxListItem
*) 0 ;
27355 PyObject
*swig_obj
[1] ;
27357 if (!args
) SWIG_fail
;
27358 swig_obj
[0] = args
;
27359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27360 if (!SWIG_IsOK(res1
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27363 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27364 result
= (long) ((arg1
)->m_state
);
27365 resultobj
= SWIG_From_long(static_cast< long >(result
));
27372 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 PyObject
*resultobj
= 0;
27374 wxListItem
*arg1
= (wxListItem
*) 0 ;
27380 PyObject
*swig_obj
[2] ;
27382 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27387 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27388 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27389 if (!SWIG_IsOK(ecode2
)) {
27390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27392 arg2
= static_cast< long >(val2
);
27393 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27395 resultobj
= SWIG_Py_Void();
27402 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(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_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27416 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27417 result
= (long) ((arg1
)->m_stateMask
);
27418 resultobj
= SWIG_From_long(static_cast< long >(result
));
27425 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27426 PyObject
*resultobj
= 0;
27427 wxListItem
*arg1
= (wxListItem
*) 0 ;
27428 wxString
*arg2
= (wxString
*) 0 ;
27431 bool temp2
= false ;
27432 PyObject
*swig_obj
[2] ;
27434 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27436 if (!SWIG_IsOK(res1
)) {
27437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27439 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27441 arg2
= wxString_in_helper(swig_obj
[1]);
27442 if (arg2
== NULL
) SWIG_fail
;
27445 if (arg1
) (arg1
)->m_text
= *arg2
;
27447 resultobj
= SWIG_Py_Void();
27462 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27463 PyObject
*resultobj
= 0;
27464 wxListItem
*arg1
= (wxListItem
*) 0 ;
27465 wxString
*result
= 0 ;
27468 PyObject
*swig_obj
[1] ;
27470 if (!args
) SWIG_fail
;
27471 swig_obj
[0] = args
;
27472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27473 if (!SWIG_IsOK(res1
)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27476 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27477 result
= (wxString
*)& ((arg1
)->m_text
);
27480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27491 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27492 PyObject
*resultobj
= 0;
27493 wxListItem
*arg1
= (wxListItem
*) 0 ;
27499 PyObject
*swig_obj
[2] ;
27501 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27503 if (!SWIG_IsOK(res1
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27506 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27507 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27508 if (!SWIG_IsOK(ecode2
)) {
27509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27511 arg2
= static_cast< int >(val2
);
27512 if (arg1
) (arg1
)->m_image
= arg2
;
27514 resultobj
= SWIG_Py_Void();
27521 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27522 PyObject
*resultobj
= 0;
27523 wxListItem
*arg1
= (wxListItem
*) 0 ;
27527 PyObject
*swig_obj
[1] ;
27529 if (!args
) SWIG_fail
;
27530 swig_obj
[0] = args
;
27531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27535 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27536 result
= (int) ((arg1
)->m_image
);
27537 resultobj
= SWIG_From_int(static_cast< int >(result
));
27544 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27545 PyObject
*resultobj
= 0;
27546 wxListItem
*arg1
= (wxListItem
*) 0 ;
27552 PyObject
*swig_obj
[2] ;
27554 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27556 if (!SWIG_IsOK(res1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27559 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27560 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27561 if (!SWIG_IsOK(ecode2
)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27564 arg2
= static_cast< long >(val2
);
27565 if (arg1
) (arg1
)->m_data
= arg2
;
27567 resultobj
= SWIG_Py_Void();
27574 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27575 PyObject
*resultobj
= 0;
27576 wxListItem
*arg1
= (wxListItem
*) 0 ;
27580 PyObject
*swig_obj
[1] ;
27582 if (!args
) SWIG_fail
;
27583 swig_obj
[0] = args
;
27584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27588 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27589 result
= (long) ((arg1
)->m_data
);
27590 resultobj
= SWIG_From_long(static_cast< long >(result
));
27597 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27598 PyObject
*resultobj
= 0;
27599 wxListItem
*arg1
= (wxListItem
*) 0 ;
27605 PyObject
*swig_obj
[2] ;
27607 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27609 if (!SWIG_IsOK(res1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27612 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27613 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27614 if (!SWIG_IsOK(ecode2
)) {
27615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27617 arg2
= static_cast< int >(val2
);
27618 if (arg1
) (arg1
)->m_format
= arg2
;
27620 resultobj
= SWIG_Py_Void();
27627 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27628 PyObject
*resultobj
= 0;
27629 wxListItem
*arg1
= (wxListItem
*) 0 ;
27633 PyObject
*swig_obj
[1] ;
27635 if (!args
) SWIG_fail
;
27636 swig_obj
[0] = args
;
27637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27638 if (!SWIG_IsOK(res1
)) {
27639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27641 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27642 result
= (int) ((arg1
)->m_format
);
27643 resultobj
= SWIG_From_int(static_cast< int >(result
));
27650 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27651 PyObject
*resultobj
= 0;
27652 wxListItem
*arg1
= (wxListItem
*) 0 ;
27658 PyObject
*swig_obj
[2] ;
27660 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27662 if (!SWIG_IsOK(res1
)) {
27663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27665 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27666 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27667 if (!SWIG_IsOK(ecode2
)) {
27668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27670 arg2
= static_cast< int >(val2
);
27671 if (arg1
) (arg1
)->m_width
= arg2
;
27673 resultobj
= SWIG_Py_Void();
27680 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27681 PyObject
*resultobj
= 0;
27682 wxListItem
*arg1
= (wxListItem
*) 0 ;
27686 PyObject
*swig_obj
[1] ;
27688 if (!args
) SWIG_fail
;
27689 swig_obj
[0] = args
;
27690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27691 if (!SWIG_IsOK(res1
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27694 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27695 result
= (int) ((arg1
)->m_width
);
27696 resultobj
= SWIG_From_int(static_cast< int >(result
));
27703 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27706 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27707 return SWIG_Py_Void();
27710 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 return SWIG_Python_InitShadowInstance(args
);
27714 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
= 0;
27716 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27717 int arg2
= (int) 0 ;
27718 wxListEvent
*result
= 0 ;
27723 PyObject
* obj0
= 0 ;
27724 PyObject
* obj1
= 0 ;
27725 char * kwnames
[] = {
27726 (char *) "commandType",(char *) "id", NULL
27729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27732 if (!SWIG_IsOK(ecode1
)) {
27733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27735 arg1
= static_cast< wxEventType
>(val1
);
27738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27739 if (!SWIG_IsOK(ecode2
)) {
27740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27742 arg2
= static_cast< int >(val2
);
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27757 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27758 PyObject
*resultobj
= 0;
27759 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27765 PyObject
*swig_obj
[2] ;
27767 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27772 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27773 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27774 if (!SWIG_IsOK(ecode2
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27777 arg2
= static_cast< int >(val2
);
27778 if (arg1
) (arg1
)->m_code
= arg2
;
27780 resultobj
= SWIG_Py_Void();
27787 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27788 PyObject
*resultobj
= 0;
27789 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27793 PyObject
*swig_obj
[1] ;
27795 if (!args
) SWIG_fail
;
27796 swig_obj
[0] = args
;
27797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27798 if (!SWIG_IsOK(res1
)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27801 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27802 result
= (int) ((arg1
)->m_code
);
27803 resultobj
= SWIG_From_int(static_cast< int >(result
));
27810 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27811 PyObject
*resultobj
= 0;
27812 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27818 PyObject
*swig_obj
[2] ;
27820 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27822 if (!SWIG_IsOK(res1
)) {
27823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27825 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27826 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27827 if (!SWIG_IsOK(ecode2
)) {
27828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27830 arg2
= static_cast< long >(val2
);
27831 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27833 resultobj
= SWIG_Py_Void();
27840 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27841 PyObject
*resultobj
= 0;
27842 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27846 PyObject
*swig_obj
[1] ;
27848 if (!args
) SWIG_fail
;
27849 swig_obj
[0] = args
;
27850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27854 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27855 result
= (long) ((arg1
)->m_oldItemIndex
);
27856 resultobj
= SWIG_From_long(static_cast< long >(result
));
27863 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27864 PyObject
*resultobj
= 0;
27865 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27871 PyObject
*swig_obj
[2] ;
27873 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27875 if (!SWIG_IsOK(res1
)) {
27876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27878 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27879 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27880 if (!SWIG_IsOK(ecode2
)) {
27881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27883 arg2
= static_cast< long >(val2
);
27884 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27886 resultobj
= SWIG_Py_Void();
27893 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27894 PyObject
*resultobj
= 0;
27895 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27899 PyObject
*swig_obj
[1] ;
27901 if (!args
) SWIG_fail
;
27902 swig_obj
[0] = args
;
27903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27904 if (!SWIG_IsOK(res1
)) {
27905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27907 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27908 result
= (long) ((arg1
)->m_itemIndex
);
27909 resultobj
= SWIG_From_long(static_cast< long >(result
));
27916 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27917 PyObject
*resultobj
= 0;
27918 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27924 PyObject
*swig_obj
[2] ;
27926 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27928 if (!SWIG_IsOK(res1
)) {
27929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27931 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27932 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27933 if (!SWIG_IsOK(ecode2
)) {
27934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27936 arg2
= static_cast< int >(val2
);
27937 if (arg1
) (arg1
)->m_col
= arg2
;
27939 resultobj
= SWIG_Py_Void();
27946 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27947 PyObject
*resultobj
= 0;
27948 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27952 PyObject
*swig_obj
[1] ;
27954 if (!args
) SWIG_fail
;
27955 swig_obj
[0] = args
;
27956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27957 if (!SWIG_IsOK(res1
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27960 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27961 result
= (int) ((arg1
)->m_col
);
27962 resultobj
= SWIG_From_int(static_cast< int >(result
));
27969 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27970 PyObject
*resultobj
= 0;
27971 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27972 wxPoint
*arg2
= (wxPoint
*) 0 ;
27977 PyObject
*swig_obj
[2] ;
27979 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27981 if (!SWIG_IsOK(res1
)) {
27982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27984 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27985 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27986 if (!SWIG_IsOK(res2
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27989 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27990 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27992 resultobj
= SWIG_Py_Void();
27999 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28000 PyObject
*resultobj
= 0;
28001 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28002 wxPoint
*result
= 0 ;
28005 PyObject
*swig_obj
[1] ;
28007 if (!args
) SWIG_fail
;
28008 swig_obj
[0] = args
;
28009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28010 if (!SWIG_IsOK(res1
)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28013 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28014 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28022 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28023 PyObject
*resultobj
= 0;
28024 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28025 wxListItem
*result
= 0 ;
28028 PyObject
*swig_obj
[1] ;
28030 if (!args
) SWIG_fail
;
28031 swig_obj
[0] = args
;
28032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28033 if (!SWIG_IsOK(res1
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28036 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28037 result
= (wxListItem
*)& ((arg1
)->m_item
);
28039 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28047 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28048 PyObject
*resultobj
= 0;
28049 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28053 PyObject
*swig_obj
[1] ;
28055 if (!args
) SWIG_fail
;
28056 swig_obj
[0] = args
;
28057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28058 if (!SWIG_IsOK(res1
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28061 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 result
= (int)(arg1
)->GetKeyCode();
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_From_int(static_cast< int >(result
));
28075 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28076 PyObject
*resultobj
= 0;
28077 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28081 PyObject
*swig_obj
[1] ;
28083 if (!args
) SWIG_fail
;
28084 swig_obj
[0] = args
;
28085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28086 if (!SWIG_IsOK(res1
)) {
28087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28089 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (long)(arg1
)->GetIndex();
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_From_long(static_cast< long >(result
));
28103 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28104 PyObject
*resultobj
= 0;
28105 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28109 PyObject
*swig_obj
[1] ;
28111 if (!args
) SWIG_fail
;
28112 swig_obj
[0] = args
;
28113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28117 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (int)(arg1
)->GetColumn();
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_From_int(static_cast< int >(result
));
28131 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28132 PyObject
*resultobj
= 0;
28133 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28137 PyObject
*swig_obj
[1] ;
28139 if (!args
) SWIG_fail
;
28140 swig_obj
[0] = args
;
28141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28142 if (!SWIG_IsOK(res1
)) {
28143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28145 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (arg1
)->GetPoint();
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28159 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28160 PyObject
*resultobj
= 0;
28161 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28162 wxString
*result
= 0 ;
28165 PyObject
*swig_obj
[1] ;
28167 if (!args
) SWIG_fail
;
28168 swig_obj
[0] = args
;
28169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28170 if (!SWIG_IsOK(res1
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28173 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 wxString
const &_result_ref
= (arg1
)->GetLabel();
28178 result
= (wxString
*) &_result_ref
;
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28187 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28196 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28197 PyObject
*resultobj
= 0;
28198 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28199 wxString
*result
= 0 ;
28202 PyObject
*swig_obj
[1] ;
28204 if (!args
) SWIG_fail
;
28205 swig_obj
[0] = args
;
28206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28207 if (!SWIG_IsOK(res1
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28210 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 wxString
const &_result_ref
= (arg1
)->GetText();
28215 result
= (wxString
*) &_result_ref
;
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28224 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28233 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28234 PyObject
*resultobj
= 0;
28235 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28239 PyObject
*swig_obj
[1] ;
28241 if (!args
) SWIG_fail
;
28242 swig_obj
[0] = args
;
28243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28247 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 result
= (int)(arg1
)->GetImage();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= SWIG_From_int(static_cast< int >(result
));
28261 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28262 PyObject
*resultobj
= 0;
28263 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28267 PyObject
*swig_obj
[1] ;
28269 if (!args
) SWIG_fail
;
28270 swig_obj
[0] = args
;
28271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28272 if (!SWIG_IsOK(res1
)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28275 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 result
= (long)(arg1
)->GetData();
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_From_long(static_cast< long >(result
));
28289 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28290 PyObject
*resultobj
= 0;
28291 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28295 PyObject
*swig_obj
[1] ;
28297 if (!args
) SWIG_fail
;
28298 swig_obj
[0] = args
;
28299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28300 if (!SWIG_IsOK(res1
)) {
28301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28303 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (long)(arg1
)->GetMask();
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_From_long(static_cast< long >(result
));
28317 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28318 PyObject
*resultobj
= 0;
28319 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28320 wxListItem
*result
= 0 ;
28323 PyObject
*swig_obj
[1] ;
28325 if (!args
) SWIG_fail
;
28326 swig_obj
[0] = args
;
28327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28331 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28336 result
= (wxListItem
*) &_result_ref
;
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28348 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28349 PyObject
*resultobj
= 0;
28350 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28354 PyObject
*swig_obj
[1] ;
28356 if (!args
) SWIG_fail
;
28357 swig_obj
[0] = args
;
28358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28359 if (!SWIG_IsOK(res1
)) {
28360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28362 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28365 result
= (long)(arg1
)->GetCacheFrom();
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= SWIG_From_long(static_cast< long >(result
));
28376 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28377 PyObject
*resultobj
= 0;
28378 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28382 PyObject
*swig_obj
[1] ;
28384 if (!args
) SWIG_fail
;
28385 swig_obj
[0] = args
;
28386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28387 if (!SWIG_IsOK(res1
)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28390 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 result
= (long)(arg1
)->GetCacheTo();
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= SWIG_From_long(static_cast< long >(result
));
28404 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28405 PyObject
*resultobj
= 0;
28406 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28410 PyObject
*swig_obj
[1] ;
28412 if (!args
) SWIG_fail
;
28413 swig_obj
[0] = args
;
28414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28418 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28434 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
= 0;
28436 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28442 PyObject
* obj0
= 0 ;
28443 PyObject
* obj1
= 0 ;
28444 char * kwnames
[] = {
28445 (char *) "self",(char *) "editCancelled", NULL
28448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28450 if (!SWIG_IsOK(res1
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28453 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28454 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28455 if (!SWIG_IsOK(ecode2
)) {
28456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28458 arg2
= static_cast< bool >(val2
);
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 (arg1
)->SetEditCanceled(arg2
);
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= SWIG_Py_Void();
28472 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28475 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28476 return SWIG_Py_Void();
28479 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28480 return SWIG_Python_InitShadowInstance(args
);
28483 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
= 0;
28485 wxWindow
*arg1
= (wxWindow
*) 0 ;
28486 int arg2
= (int) -1 ;
28487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28489 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28490 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28491 long arg5
= (long) wxLC_ICON
;
28492 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28493 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28494 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28495 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28496 wxPyListCtrl
*result
= 0 ;
28507 bool temp7
= false ;
28508 PyObject
* obj0
= 0 ;
28509 PyObject
* obj1
= 0 ;
28510 PyObject
* obj2
= 0 ;
28511 PyObject
* obj3
= 0 ;
28512 PyObject
* obj4
= 0 ;
28513 PyObject
* obj5
= 0 ;
28514 PyObject
* obj6
= 0 ;
28515 char * kwnames
[] = {
28516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28521 if (!SWIG_IsOK(res1
)) {
28522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28524 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28527 if (!SWIG_IsOK(ecode2
)) {
28528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28530 arg2
= static_cast< int >(val2
);
28535 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28541 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28545 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28546 if (!SWIG_IsOK(ecode5
)) {
28547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28549 arg5
= static_cast< long >(val5
);
28552 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28553 if (!SWIG_IsOK(res6
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28559 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28563 arg7
= wxString_in_helper(obj6
);
28564 if (arg7
== NULL
) SWIG_fail
;
28569 if (!wxPyCheckForApp()) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28590 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28591 PyObject
*resultobj
= 0;
28592 wxPyListCtrl
*result
= 0 ;
28594 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28596 if (!wxPyCheckForApp()) SWIG_fail
;
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28609 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28612 wxWindow
*arg2
= (wxWindow
*) 0 ;
28613 int arg3
= (int) -1 ;
28614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28618 long arg6
= (long) wxLC_ICON
;
28619 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28620 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28621 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28636 bool temp8
= false ;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 PyObject
* obj3
= 0 ;
28641 PyObject
* obj4
= 0 ;
28642 PyObject
* obj5
= 0 ;
28643 PyObject
* obj6
= 0 ;
28644 PyObject
* obj7
= 0 ;
28645 char * kwnames
[] = {
28646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28651 if (!SWIG_IsOK(res1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28654 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28656 if (!SWIG_IsOK(res2
)) {
28657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28659 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28662 if (!SWIG_IsOK(ecode3
)) {
28663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28665 arg3
= static_cast< int >(val3
);
28670 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28676 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28680 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28681 if (!SWIG_IsOK(ecode6
)) {
28682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28684 arg6
= static_cast< long >(val6
);
28687 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28688 if (!SWIG_IsOK(res7
)) {
28689 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28694 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28698 arg8
= wxString_in_helper(obj7
);
28699 if (arg8
== NULL
) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28726 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
= 0;
28728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28729 PyObject
*arg2
= (PyObject
*) 0 ;
28730 PyObject
*arg3
= (PyObject
*) 0 ;
28733 PyObject
* obj0
= 0 ;
28734 PyObject
* obj1
= 0 ;
28735 PyObject
* obj2
= 0 ;
28736 char * kwnames
[] = {
28737 (char *) "self",(char *) "self",(char *) "_class", NULL
28740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28742 if (!SWIG_IsOK(res1
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28745 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28750 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28754 resultobj
= SWIG_Py_Void();
28761 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
= 0;
28763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28765 wxListItem
*result
= 0 ;
28770 PyObject
* obj0
= 0 ;
28771 PyObject
* obj1
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "self",(char *) "col", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28781 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28783 if (!SWIG_IsOK(ecode2
)) {
28784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28786 arg2
= static_cast< int >(val2
);
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28802 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
= 0;
28804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28806 wxListItem
*arg3
= 0 ;
28814 PyObject
* obj0
= 0 ;
28815 PyObject
* obj1
= 0 ;
28816 PyObject
* obj2
= 0 ;
28817 char * kwnames
[] = {
28818 (char *) "self",(char *) "col",(char *) "item", NULL
28821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28823 if (!SWIG_IsOK(res1
)) {
28824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28826 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28828 if (!SWIG_IsOK(ecode2
)) {
28829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28831 arg2
= static_cast< int >(val2
);
28832 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28833 if (!SWIG_IsOK(res3
)) {
28834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28839 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28842 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28855 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
= 0;
28857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28864 PyObject
* obj0
= 0 ;
28865 PyObject
* obj1
= 0 ;
28866 char * kwnames
[] = {
28867 (char *) "self",(char *) "col", NULL
28870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28872 if (!SWIG_IsOK(res1
)) {
28873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28875 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28877 if (!SWIG_IsOK(ecode2
)) {
28878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28880 arg2
= static_cast< int >(val2
);
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 resultobj
= SWIG_From_int(static_cast< int >(result
));
28894 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
= 0;
28896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28906 PyObject
* obj0
= 0 ;
28907 PyObject
* obj1
= 0 ;
28908 PyObject
* obj2
= 0 ;
28909 char * kwnames
[] = {
28910 (char *) "self",(char *) "col",(char *) "width", NULL
28913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28915 if (!SWIG_IsOK(res1
)) {
28916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28918 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28920 if (!SWIG_IsOK(ecode2
)) {
28921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28923 arg2
= static_cast< int >(val2
);
28924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28925 if (!SWIG_IsOK(ecode3
)) {
28926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28928 arg3
= static_cast< int >(val3
);
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28944 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28945 PyObject
*resultobj
= 0;
28946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28950 PyObject
*swig_obj
[1] ;
28952 if (!args
) SWIG_fail
;
28953 swig_obj
[0] = args
;
28954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28955 if (!SWIG_IsOK(res1
)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28958 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= SWIG_From_int(static_cast< int >(result
));
28972 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28973 PyObject
*resultobj
= 0;
28974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28978 PyObject
*swig_obj
[1] ;
28980 if (!args
) SWIG_fail
;
28981 swig_obj
[0] = args
;
28982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28983 if (!SWIG_IsOK(res1
)) {
28984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28986 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29000 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29001 PyObject
*resultobj
= 0;
29002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29003 wxTextCtrl
*result
= 0 ;
29006 PyObject
*swig_obj
[1] ;
29008 if (!args
) SWIG_fail
;
29009 swig_obj
[0] = args
;
29010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29011 if (!SWIG_IsOK(res1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29014 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= wxPyMake_wxObject(result
, 0);
29030 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
= 0;
29032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29034 int arg3
= (int) 0 ;
29035 wxListItem
*result
= 0 ;
29042 PyObject
* obj0
= 0 ;
29043 PyObject
* obj1
= 0 ;
29044 PyObject
* obj2
= 0 ;
29045 char * kwnames
[] = {
29046 (char *) "self",(char *) "itemId",(char *) "col", NULL
29049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29051 if (!SWIG_IsOK(res1
)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29054 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29055 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29056 if (!SWIG_IsOK(ecode2
)) {
29057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29059 arg2
= static_cast< long >(val2
);
29061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29062 if (!SWIG_IsOK(ecode3
)) {
29063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29065 arg3
= static_cast< int >(val3
);
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29070 wxPyEndAllowThreads(__tstate
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29074 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29082 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
= 0;
29084 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29085 wxListItem
*arg2
= 0 ;
29091 PyObject
* obj0
= 0 ;
29092 PyObject
* obj1
= 0 ;
29093 char * kwnames
[] = {
29094 (char *) "self",(char *) "info", NULL
29097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29099 if (!SWIG_IsOK(res1
)) {
29100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29102 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29104 if (!SWIG_IsOK(res2
)) {
29105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29110 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 result
= (bool)(arg1
)->SetItem(*arg2
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29126 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
= 0;
29128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29131 wxString
*arg4
= 0 ;
29132 int arg5
= (int) -1 ;
29140 bool temp4
= false ;
29143 PyObject
* obj0
= 0 ;
29144 PyObject
* obj1
= 0 ;
29145 PyObject
* obj2
= 0 ;
29146 PyObject
* obj3
= 0 ;
29147 PyObject
* obj4
= 0 ;
29148 char * kwnames
[] = {
29149 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29154 if (!SWIG_IsOK(res1
)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29157 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29159 if (!SWIG_IsOK(ecode2
)) {
29160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29162 arg2
= static_cast< long >(val2
);
29163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29164 if (!SWIG_IsOK(ecode3
)) {
29165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29167 arg3
= static_cast< int >(val3
);
29169 arg4
= wxString_in_helper(obj3
);
29170 if (arg4
== NULL
) SWIG_fail
;
29174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29175 if (!SWIG_IsOK(ecode5
)) {
29176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29178 arg5
= static_cast< int >(val5
);
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= SWIG_From_long(static_cast< long >(result
));
29201 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29202 PyObject
*resultobj
= 0;
29203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 PyObject
* obj2
= 0 ;
29216 char * kwnames
[] = {
29217 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29222 if (!SWIG_IsOK(res1
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29225 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29226 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29227 if (!SWIG_IsOK(ecode2
)) {
29228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29230 arg2
= static_cast< long >(val2
);
29231 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29232 if (!SWIG_IsOK(ecode3
)) {
29233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29235 arg3
= static_cast< long >(val3
);
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29239 wxPyEndAllowThreads(__tstate
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= SWIG_From_int(static_cast< int >(result
));
29249 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
= 0;
29251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 PyObject
* obj2
= 0 ;
29267 PyObject
* obj3
= 0 ;
29268 char * kwnames
[] = {
29269 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29274 if (!SWIG_IsOK(res1
)) {
29275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29277 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29278 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29279 if (!SWIG_IsOK(ecode2
)) {
29280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29282 arg2
= static_cast< long >(val2
);
29283 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29284 if (!SWIG_IsOK(ecode3
)) {
29285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29287 arg3
= static_cast< long >(val3
);
29288 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29289 if (!SWIG_IsOK(ecode4
)) {
29290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29292 arg4
= static_cast< long >(val4
);
29294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29295 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29308 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
= 0;
29310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29313 int arg4
= (int) -1 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 PyObject
* obj2
= 0 ;
29326 PyObject
* obj3
= 0 ;
29327 char * kwnames
[] = {
29328 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29333 if (!SWIG_IsOK(res1
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29336 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29337 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29338 if (!SWIG_IsOK(ecode2
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29341 arg2
= static_cast< long >(val2
);
29342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29343 if (!SWIG_IsOK(ecode3
)) {
29344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29346 arg3
= static_cast< int >(val3
);
29348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29349 if (!SWIG_IsOK(ecode4
)) {
29350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29352 arg4
= static_cast< int >(val4
);
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29369 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
= 0;
29371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 PyObject
* obj2
= 0 ;
29387 PyObject
* obj3
= 0 ;
29388 char * kwnames
[] = {
29389 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29394 if (!SWIG_IsOK(res1
)) {
29395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29397 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29398 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29399 if (!SWIG_IsOK(ecode2
)) {
29400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29402 arg2
= static_cast< long >(val2
);
29403 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29404 if (!SWIG_IsOK(ecode3
)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29407 arg3
= static_cast< long >(val3
);
29408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29409 if (!SWIG_IsOK(ecode4
)) {
29410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29412 arg4
= static_cast< int >(val4
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29428 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29429 PyObject
*resultobj
= 0;
29430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 char * kwnames
[] = {
29440 (char *) "self",(char *) "item", NULL
29443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29445 if (!SWIG_IsOK(res1
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29448 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29449 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29450 if (!SWIG_IsOK(ecode2
)) {
29451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29453 arg2
= static_cast< long >(val2
);
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29457 wxPyEndAllowThreads(__tstate
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29473 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
= 0;
29475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29477 wxString
*arg3
= 0 ;
29482 bool temp3
= false ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 PyObject
* obj2
= 0 ;
29486 char * kwnames
[] = {
29487 (char *) "self",(char *) "item",(char *) "str", NULL
29490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29496 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29497 if (!SWIG_IsOK(ecode2
)) {
29498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29500 arg2
= static_cast< long >(val2
);
29502 arg3
= wxString_in_helper(obj2
);
29503 if (arg3
== NULL
) SWIG_fail
;
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29509 wxPyEndAllowThreads(__tstate
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29512 resultobj
= SWIG_Py_Void();
29527 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
= 0;
29529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29536 PyObject
* obj0
= 0 ;
29537 PyObject
* obj1
= 0 ;
29538 char * kwnames
[] = {
29539 (char *) "self",(char *) "item", NULL
29542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29544 if (!SWIG_IsOK(res1
)) {
29545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29547 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29548 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29549 if (!SWIG_IsOK(ecode2
)) {
29550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29552 arg2
= static_cast< long >(val2
);
29554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29555 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= SWIG_From_long(static_cast< long >(result
));
29566 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
= 0;
29568 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 PyObject
* obj2
= 0 ;
29581 char * kwnames
[] = {
29582 (char *) "self",(char *) "item",(char *) "data", NULL
29585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29587 if (!SWIG_IsOK(res1
)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29590 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29591 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29592 if (!SWIG_IsOK(ecode2
)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29595 arg2
= static_cast< long >(val2
);
29596 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29597 if (!SWIG_IsOK(ecode3
)) {
29598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29600 arg3
= static_cast< long >(val3
);
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29616 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
= 0;
29618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29625 PyObject
* obj0
= 0 ;
29626 PyObject
* obj1
= 0 ;
29627 char * kwnames
[] = {
29628 (char *) "self",(char *) "item", NULL
29631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29633 if (!SWIG_IsOK(res1
)) {
29634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29636 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29637 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29638 if (!SWIG_IsOK(ecode2
)) {
29639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29641 arg2
= static_cast< long >(val2
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29655 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
= 0;
29657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29659 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29667 PyObject
* obj0
= 0 ;
29668 PyObject
* obj1
= 0 ;
29669 PyObject
* obj2
= 0 ;
29670 char * kwnames
[] = {
29671 (char *) "self",(char *) "item",(char *) "code", NULL
29674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29679 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29680 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29681 if (!SWIG_IsOK(ecode2
)) {
29682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29684 arg2
= static_cast< long >(val2
);
29686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29687 if (!SWIG_IsOK(ecode3
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29690 arg3
= static_cast< int >(val3
);
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29695 wxPyEndAllowThreads(__tstate
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29698 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29705 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29706 PyObject
*resultobj
= 0;
29707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29709 wxPoint
*arg3
= 0 ;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj1
= 0 ;
29718 PyObject
* obj2
= 0 ;
29719 char * kwnames
[] = {
29720 (char *) "self",(char *) "item",(char *) "pos", NULL
29723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29725 if (!SWIG_IsOK(res1
)) {
29726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29728 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29730 if (!SWIG_IsOK(ecode2
)) {
29731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29733 arg2
= static_cast< long >(val2
);
29736 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29753 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29754 PyObject
*resultobj
= 0;
29755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29759 PyObject
*swig_obj
[1] ;
29761 if (!args
) SWIG_fail
;
29762 swig_obj
[0] = args
;
29763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29767 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29774 resultobj
= SWIG_From_int(static_cast< int >(result
));
29781 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29782 PyObject
*resultobj
= 0;
29783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29787 PyObject
*swig_obj
[1] ;
29789 if (!args
) SWIG_fail
;
29790 swig_obj
[0] = args
;
29791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29792 if (!SWIG_IsOK(res1
)) {
29793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29795 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29798 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= SWIG_From_int(static_cast< int >(result
));
29809 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29810 PyObject
*resultobj
= 0;
29811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29815 PyObject
*swig_obj
[1] ;
29817 if (!args
) SWIG_fail
;
29818 swig_obj
[0] = args
;
29819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29823 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29837 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29838 PyObject
*resultobj
= 0;
29839 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29841 bool arg3
= (bool) false ;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 PyObject
* obj2
= 0 ;
29851 char * kwnames
[] = {
29852 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29857 if (!SWIG_IsOK(res1
)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29860 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29862 if (!SWIG_IsOK(ecode2
)) {
29863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29865 arg2
= static_cast< int >(val2
);
29867 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29868 if (!SWIG_IsOK(ecode3
)) {
29869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29871 arg3
= static_cast< bool >(val3
);
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 (arg1
)->SetItemSpacing(arg2
,arg3
);
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 resultobj
= SWIG_Py_Void();
29886 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29887 PyObject
*resultobj
= 0;
29888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29892 PyObject
*swig_obj
[1] ;
29894 if (!args
) SWIG_fail
;
29895 swig_obj
[0] = args
;
29896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29897 if (!SWIG_IsOK(res1
)) {
29898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29900 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29904 wxPyEndAllowThreads(__tstate
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 resultobj
= SWIG_From_int(static_cast< int >(result
));
29914 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29915 PyObject
*resultobj
= 0;
29916 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29920 PyObject
*swig_obj
[1] ;
29922 if (!args
) SWIG_fail
;
29923 swig_obj
[0] = args
;
29924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29932 wxPyEndAllowThreads(__tstate
);
29933 if (PyErr_Occurred()) SWIG_fail
;
29935 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29942 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29943 PyObject
*resultobj
= 0;
29944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29945 wxColour
*arg2
= 0 ;
29949 PyObject
* obj0
= 0 ;
29950 PyObject
* obj1
= 0 ;
29951 char * kwnames
[] = {
29952 (char *) "self",(char *) "col", NULL
29955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29957 if (!SWIG_IsOK(res1
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29960 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_Py_Void();
29978 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29979 PyObject
*resultobj
= 0;
29980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29984 PyObject
*swig_obj
[1] ;
29986 if (!args
) SWIG_fail
;
29987 swig_obj
[0] = args
;
29988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29992 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= SWIG_From_long(static_cast< long >(result
));
30006 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= 0;
30008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30010 bool arg3
= (bool) true ;
30017 PyObject
* obj0
= 0 ;
30018 PyObject
* obj1
= 0 ;
30019 PyObject
* obj2
= 0 ;
30020 char * kwnames
[] = {
30021 (char *) "self",(char *) "style",(char *) "add", NULL
30024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30029 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30030 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30031 if (!SWIG_IsOK(ecode2
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30034 arg2
= static_cast< long >(val2
);
30036 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30037 if (!SWIG_IsOK(ecode3
)) {
30038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30040 arg3
= static_cast< bool >(val3
);
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 (arg1
)->SetSingleStyle(arg2
,arg3
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_Py_Void();
30055 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
= 0;
30057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30059 int arg3
= (int) wxLIST_NEXT_ALL
;
30060 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30070 PyObject
* obj0
= 0 ;
30071 PyObject
* obj1
= 0 ;
30072 PyObject
* obj2
= 0 ;
30073 PyObject
* obj3
= 0 ;
30074 char * kwnames
[] = {
30075 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30080 if (!SWIG_IsOK(res1
)) {
30081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30083 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30084 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30085 if (!SWIG_IsOK(ecode2
)) {
30086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30088 arg2
= static_cast< long >(val2
);
30090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30091 if (!SWIG_IsOK(ecode3
)) {
30092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30094 arg3
= static_cast< int >(val3
);
30097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30098 if (!SWIG_IsOK(ecode4
)) {
30099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30101 arg4
= static_cast< int >(val4
);
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 resultobj
= SWIG_From_long(static_cast< long >(result
));
30116 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
= 0;
30118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30120 wxImageList
*result
= 0 ;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 char * kwnames
[] = {
30128 (char *) "self",(char *) "which", NULL
30131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30133 if (!SWIG_IsOK(res1
)) {
30134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30136 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30138 if (!SWIG_IsOK(ecode2
)) {
30139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30141 arg2
= static_cast< int >(val2
);
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30157 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30158 PyObject
*resultobj
= 0;
30159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30160 wxImageList
*arg2
= (wxImageList
*) 0 ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 PyObject
* obj2
= 0 ;
30171 char * kwnames
[] = {
30172 (char *) "self",(char *) "imageList",(char *) "which", NULL
30175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30177 if (!SWIG_IsOK(res1
)) {
30178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30180 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30182 if (!SWIG_IsOK(res2
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30185 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30187 if (!SWIG_IsOK(ecode3
)) {
30188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30190 arg3
= static_cast< int >(val3
);
30192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30193 (arg1
)->SetImageList(arg2
,arg3
);
30194 wxPyEndAllowThreads(__tstate
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= SWIG_Py_Void();
30204 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
= 0;
30206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30207 wxImageList
*arg2
= (wxImageList
*) 0 ;
30214 PyObject
* obj0
= 0 ;
30215 PyObject
* obj1
= 0 ;
30216 PyObject
* obj2
= 0 ;
30217 char * kwnames
[] = {
30218 (char *) "self",(char *) "imageList",(char *) "which", NULL
30221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30223 if (!SWIG_IsOK(res1
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30226 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30227 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30228 if (!SWIG_IsOK(res2
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30232 if (!SWIG_IsOK(ecode3
)) {
30233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30235 arg3
= static_cast< int >(val3
);
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 (arg1
)->AssignImageList(arg2
,arg3
);
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 resultobj
= SWIG_Py_Void();
30249 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30250 PyObject
*resultobj
= 0;
30251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30255 PyObject
*swig_obj
[1] ;
30257 if (!args
) SWIG_fail
;
30258 swig_obj
[0] = args
;
30259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30260 if (!SWIG_IsOK(res1
)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30263 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30279 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30280 PyObject
*resultobj
= 0;
30281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30285 PyObject
*swig_obj
[1] ;
30287 if (!args
) SWIG_fail
;
30288 swig_obj
[0] = args
;
30289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30293 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30297 wxPyEndAllowThreads(__tstate
);
30298 if (PyErr_Occurred()) SWIG_fail
;
30301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30309 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30310 PyObject
*resultobj
= 0;
30311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30317 PyObject
* obj0
= 0 ;
30318 PyObject
* obj1
= 0 ;
30319 char * kwnames
[] = {
30320 (char *) "self",(char *) "item", NULL
30323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30325 if (!SWIG_IsOK(res1
)) {
30326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30328 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30329 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30330 if (!SWIG_IsOK(ecode2
)) {
30331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30333 arg2
= static_cast< long >(val2
);
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 (arg1
)->RefreshItem(arg2
);
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30340 resultobj
= SWIG_Py_Void();
30347 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30348 PyObject
*resultobj
= 0;
30349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 PyObject
* obj2
= 0 ;
30361 char * kwnames
[] = {
30362 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30370 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30371 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30372 if (!SWIG_IsOK(ecode2
)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30375 arg2
= static_cast< long >(val2
);
30376 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30377 if (!SWIG_IsOK(ecode3
)) {
30378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30380 arg3
= static_cast< long >(val3
);
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 (arg1
)->RefreshItems(arg2
,arg3
);
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= SWIG_Py_Void();
30394 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30395 PyObject
*resultobj
= 0;
30396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30397 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30403 PyObject
* obj0
= 0 ;
30404 PyObject
* obj1
= 0 ;
30405 char * kwnames
[] = {
30406 (char *) "self",(char *) "flag", NULL
30409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30411 if (!SWIG_IsOK(res1
)) {
30412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30414 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30417 if (!SWIG_IsOK(ecode2
)) {
30418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30420 arg2
= static_cast< int >(val2
);
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 result
= (bool)(arg1
)->Arrange(arg2
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30437 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30438 PyObject
*resultobj
= 0;
30439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char * kwnames
[] = {
30449 (char *) "self",(char *) "item", NULL
30452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30457 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30458 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30459 if (!SWIG_IsOK(ecode2
)) {
30460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30462 arg2
= static_cast< long >(val2
);
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (bool)(arg1
)->DeleteItem(arg2
);
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30478 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30479 PyObject
*resultobj
= 0;
30480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30484 PyObject
*swig_obj
[1] ;
30486 if (!args
) SWIG_fail
;
30487 swig_obj
[0] = args
;
30488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30489 if (!SWIG_IsOK(res1
)) {
30490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30492 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 result
= (bool)(arg1
)->DeleteAllItems();
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30508 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
= 0;
30510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 char * kwnames
[] = {
30520 (char *) "self",(char *) "col", NULL
30523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30525 if (!SWIG_IsOK(res1
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30528 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30530 if (!SWIG_IsOK(ecode2
)) {
30531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30533 arg2
= static_cast< int >(val2
);
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30549 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30550 PyObject
*resultobj
= 0;
30551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30555 PyObject
*swig_obj
[1] ;
30557 if (!args
) SWIG_fail
;
30558 swig_obj
[0] = args
;
30559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30560 if (!SWIG_IsOK(res1
)) {
30561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30563 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 result
= (bool)(arg1
)->DeleteAllColumns();
30567 wxPyEndAllowThreads(__tstate
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30579 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30580 PyObject
*resultobj
= 0;
30581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30584 PyObject
*swig_obj
[1] ;
30586 if (!args
) SWIG_fail
;
30587 swig_obj
[0] = args
;
30588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30589 if (!SWIG_IsOK(res1
)) {
30590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30592 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->ClearAll();
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= SWIG_Py_Void();
30606 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
= 0;
30608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30614 PyObject
* obj0
= 0 ;
30615 PyObject
* obj1
= 0 ;
30616 char * kwnames
[] = {
30617 (char *) "self",(char *) "item", NULL
30620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30622 if (!SWIG_IsOK(res1
)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30625 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30626 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30627 if (!SWIG_IsOK(ecode2
)) {
30628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30630 arg2
= static_cast< long >(val2
);
30632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 (arg1
)->EditLabel(arg2
);
30634 wxPyEndAllowThreads(__tstate
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30637 resultobj
= SWIG_Py_Void();
30644 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30645 PyObject
*resultobj
= 0;
30646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30653 PyObject
* obj0
= 0 ;
30654 PyObject
* obj1
= 0 ;
30655 char * kwnames
[] = {
30656 (char *) "self",(char *) "item", NULL
30659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30661 if (!SWIG_IsOK(res1
)) {
30662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30664 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30665 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30666 if (!SWIG_IsOK(ecode2
)) {
30667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30669 arg2
= static_cast< long >(val2
);
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30685 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
= 0;
30687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30689 wxString
*arg3
= 0 ;
30690 bool arg4
= (bool) false ;
30696 bool temp3
= false ;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 PyObject
* obj2
= 0 ;
30702 PyObject
* obj3
= 0 ;
30703 char * kwnames
[] = {
30704 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30712 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30713 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30714 if (!SWIG_IsOK(ecode2
)) {
30715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30717 arg2
= static_cast< long >(val2
);
30719 arg3
= wxString_in_helper(obj2
);
30720 if (arg3
== NULL
) SWIG_fail
;
30724 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30725 if (!SWIG_IsOK(ecode4
)) {
30726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30728 arg4
= static_cast< bool >(val4
);
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= SWIG_From_long(static_cast< long >(result
));
30751 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
= 0;
30753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 PyObject
* obj2
= 0 ;
30766 char * kwnames
[] = {
30767 (char *) "self",(char *) "start",(char *) "data", NULL
30770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30772 if (!SWIG_IsOK(res1
)) {
30773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30775 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30776 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30777 if (!SWIG_IsOK(ecode2
)) {
30778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30780 arg2
= static_cast< long >(val2
);
30781 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30782 if (!SWIG_IsOK(ecode3
)) {
30783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30785 arg3
= static_cast< long >(val3
);
30787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30788 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30789 wxPyEndAllowThreads(__tstate
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= SWIG_From_long(static_cast< long >(result
));
30799 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
= 0;
30801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30803 wxPoint
*arg3
= 0 ;
30813 PyObject
* obj0
= 0 ;
30814 PyObject
* obj1
= 0 ;
30815 PyObject
* obj2
= 0 ;
30816 PyObject
* obj3
= 0 ;
30817 char * kwnames
[] = {
30818 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30826 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30827 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30828 if (!SWIG_IsOK(ecode2
)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30831 arg2
= static_cast< long >(val2
);
30834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30836 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30837 if (!SWIG_IsOK(ecode4
)) {
30838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30840 arg4
= static_cast< int >(val4
);
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30844 wxPyEndAllowThreads(__tstate
);
30845 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= SWIG_From_long(static_cast< long >(result
));
30854 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
= 0;
30856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30857 wxPoint
*arg2
= 0 ;
30864 int res3
= SWIG_TMPOBJ
;
30865 PyObject
* obj0
= 0 ;
30866 PyObject
* obj1
= 0 ;
30867 char * kwnames
[] = {
30868 (char *) "self",(char *) "point", NULL
30872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30874 if (!SWIG_IsOK(res1
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30877 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30888 resultobj
= SWIG_From_long(static_cast< long >(result
));
30889 if (SWIG_IsTmpObj(res3
)) {
30890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30892 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30901 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
= 0;
30903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30904 wxPoint
*arg2
= 0 ;
30906 long *arg4
= (long *) 0 ;
30912 int res3
= SWIG_TMPOBJ
;
30914 int res4
= SWIG_TMPOBJ
;
30915 PyObject
* obj0
= 0 ;
30916 PyObject
* obj1
= 0 ;
30917 char * kwnames
[] = {
30918 (char *) "self",(char *) "point", NULL
30923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30925 if (!SWIG_IsOK(res1
)) {
30926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_From_long(static_cast< long >(result
));
30940 if (SWIG_IsTmpObj(res3
)) {
30941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30943 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30946 if (SWIG_IsTmpObj(res4
)) {
30947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30949 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30958 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
= 0;
30960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30961 wxListItem
*arg2
= 0 ;
30967 PyObject
* obj0
= 0 ;
30968 PyObject
* obj1
= 0 ;
30969 char * kwnames
[] = {
30970 (char *) "self",(char *) "info", NULL
30973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30975 if (!SWIG_IsOK(res1
)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30978 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30980 if (!SWIG_IsOK(res2
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30986 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 result
= (long)(arg1
)->InsertItem(*arg2
);
30990 wxPyEndAllowThreads(__tstate
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30993 resultobj
= SWIG_From_long(static_cast< long >(result
));
31000 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31001 PyObject
*resultobj
= 0;
31002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31004 wxString
*arg3
= 0 ;
31005 int arg4
= (int) -1 ;
31011 bool temp3
= false ;
31014 PyObject
* obj0
= 0 ;
31015 PyObject
* obj1
= 0 ;
31016 PyObject
* obj2
= 0 ;
31017 PyObject
* obj3
= 0 ;
31018 char * kwnames
[] = {
31019 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31024 if (!SWIG_IsOK(res1
)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31028 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31029 if (!SWIG_IsOK(ecode2
)) {
31030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31032 arg2
= static_cast< long >(val2
);
31034 arg3
= wxString_in_helper(obj2
);
31035 if (arg3
== NULL
) SWIG_fail
;
31039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31040 if (!SWIG_IsOK(ecode4
)) {
31041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31043 arg4
= static_cast< int >(val4
);
31046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31051 resultobj
= SWIG_From_long(static_cast< long >(result
));
31066 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
= 0;
31068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31078 PyObject
* obj0
= 0 ;
31079 PyObject
* obj1
= 0 ;
31080 PyObject
* obj2
= 0 ;
31081 char * kwnames
[] = {
31082 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31087 if (!SWIG_IsOK(res1
)) {
31088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31090 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31091 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31092 if (!SWIG_IsOK(ecode2
)) {
31093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31095 arg2
= static_cast< long >(val2
);
31096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31097 if (!SWIG_IsOK(ecode3
)) {
31098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31100 arg3
= static_cast< int >(val3
);
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= SWIG_From_long(static_cast< long >(result
));
31114 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
= 0;
31116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31118 wxString
*arg3
= 0 ;
31125 bool temp3
= false ;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 PyObject
* obj2
= 0 ;
31131 PyObject
* obj3
= 0 ;
31132 char * kwnames
[] = {
31133 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31138 if (!SWIG_IsOK(res1
)) {
31139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31141 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31143 if (!SWIG_IsOK(ecode2
)) {
31144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31146 arg2
= static_cast< long >(val2
);
31148 arg3
= wxString_in_helper(obj2
);
31149 if (arg3
== NULL
) SWIG_fail
;
31152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31153 if (!SWIG_IsOK(ecode4
)) {
31154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31156 arg4
= static_cast< int >(val4
);
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31160 wxPyEndAllowThreads(__tstate
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31163 resultobj
= SWIG_From_long(static_cast< long >(result
));
31178 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31179 PyObject
*resultobj
= 0;
31180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31182 wxListItem
*arg3
= 0 ;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 PyObject
* obj2
= 0 ;
31193 char * kwnames
[] = {
31194 (char *) "self",(char *) "col",(char *) "info", NULL
31197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31199 if (!SWIG_IsOK(res1
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31202 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31203 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31204 if (!SWIG_IsOK(ecode2
)) {
31205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31207 arg2
= static_cast< long >(val2
);
31208 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31209 if (!SWIG_IsOK(res3
)) {
31210 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31215 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31222 resultobj
= SWIG_From_long(static_cast< long >(result
));
31229 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31230 PyObject
*resultobj
= 0;
31231 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31233 wxString
*arg3
= 0 ;
31234 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31235 int arg5
= (int) -1 ;
31241 bool temp3
= false ;
31246 PyObject
* obj0
= 0 ;
31247 PyObject
* obj1
= 0 ;
31248 PyObject
* obj2
= 0 ;
31249 PyObject
* obj3
= 0 ;
31250 PyObject
* obj4
= 0 ;
31251 char * kwnames
[] = {
31252 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31257 if (!SWIG_IsOK(res1
)) {
31258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31260 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31261 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31262 if (!SWIG_IsOK(ecode2
)) {
31263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31265 arg2
= static_cast< long >(val2
);
31267 arg3
= wxString_in_helper(obj2
);
31268 if (arg3
== NULL
) SWIG_fail
;
31272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31273 if (!SWIG_IsOK(ecode4
)) {
31274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31276 arg4
= static_cast< int >(val4
);
31279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31280 if (!SWIG_IsOK(ecode5
)) {
31281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31283 arg5
= static_cast< int >(val5
);
31286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31287 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 resultobj
= SWIG_From_long(static_cast< long >(result
));
31306 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31307 PyObject
*resultobj
= 0;
31308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31314 PyObject
* obj0
= 0 ;
31315 PyObject
* obj1
= 0 ;
31316 char * kwnames
[] = {
31317 (char *) "self",(char *) "count", NULL
31320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) 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_SetItemCount" "', 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_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31330 arg2
= static_cast< long >(val2
);
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 (arg1
)->SetItemCount(arg2
);
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= SWIG_Py_Void();
31344 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
= 0;
31346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31356 PyObject
* obj0
= 0 ;
31357 PyObject
* obj1
= 0 ;
31358 PyObject
* obj2
= 0 ;
31359 char * kwnames
[] = {
31360 (char *) "self",(char *) "dx",(char *) "dy", NULL
31363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31365 if (!SWIG_IsOK(res1
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31370 if (!SWIG_IsOK(ecode2
)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31373 arg2
= static_cast< int >(val2
);
31374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31375 if (!SWIG_IsOK(ecode3
)) {
31376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31378 arg3
= static_cast< int >(val3
);
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31394 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
= 0;
31396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31398 wxColour
*arg3
= 0 ;
31404 PyObject
* obj0
= 0 ;
31405 PyObject
* obj1
= 0 ;
31406 PyObject
* obj2
= 0 ;
31407 char * kwnames
[] = {
31408 (char *) "self",(char *) "item",(char *) "col", NULL
31411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31413 if (!SWIG_IsOK(res1
)) {
31414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31416 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31418 if (!SWIG_IsOK(ecode2
)) {
31419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31421 arg2
= static_cast< long >(val2
);
31424 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31428 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= SWIG_Py_Void();
31439 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
= 0;
31441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31448 PyObject
* obj0
= 0 ;
31449 PyObject
* obj1
= 0 ;
31450 char * kwnames
[] = {
31451 (char *) "self",(char *) "item", NULL
31454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31456 if (!SWIG_IsOK(res1
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31459 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31460 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31461 if (!SWIG_IsOK(ecode2
)) {
31462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31464 arg2
= static_cast< long >(val2
);
31466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31467 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31471 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31478 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31479 PyObject
*resultobj
= 0;
31480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31482 wxColour
*arg3
= 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 PyObject
* obj2
= 0 ;
31491 char * kwnames
[] = {
31492 (char *) "self",(char *) "item",(char *) "col", NULL
31495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",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_SetItemBackgroundColour" "', 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_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31505 arg2
= static_cast< long >(val2
);
31508 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 resultobj
= SWIG_Py_Void();
31523 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
= 0;
31525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31532 PyObject
* obj0
= 0 ;
31533 PyObject
* obj1
= 0 ;
31534 char * kwnames
[] = {
31535 (char *) "self",(char *) "item", NULL
31538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31540 if (!SWIG_IsOK(res1
)) {
31541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31543 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31544 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31545 if (!SWIG_IsOK(ecode2
)) {
31546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31548 arg2
= static_cast< long >(val2
);
31550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31551 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31555 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31562 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
= 0;
31564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31573 PyObject
* obj0
= 0 ;
31574 PyObject
* obj1
= 0 ;
31575 PyObject
* obj2
= 0 ;
31576 char * kwnames
[] = {
31577 (char *) "self",(char *) "item",(char *) "f", NULL
31580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31582 if (!SWIG_IsOK(res1
)) {
31583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31585 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31586 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31587 if (!SWIG_IsOK(ecode2
)) {
31588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31590 arg2
= static_cast< long >(val2
);
31591 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31592 if (!SWIG_IsOK(res3
)) {
31593 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31598 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31602 wxPyEndAllowThreads(__tstate
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= SWIG_Py_Void();
31612 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31613 PyObject
*resultobj
= 0;
31614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31621 PyObject
* obj0
= 0 ;
31622 PyObject
* obj1
= 0 ;
31623 char * kwnames
[] = {
31624 (char *) "self",(char *) "item", NULL
31627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31629 if (!SWIG_IsOK(res1
)) {
31630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31632 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31633 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31634 if (!SWIG_IsOK(ecode2
)) {
31635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31637 arg2
= static_cast< long >(val2
);
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31651 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31652 PyObject
*resultobj
= 0;
31653 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31654 PyObject
*arg2
= (PyObject
*) 0 ;
31658 PyObject
* obj0
= 0 ;
31659 PyObject
* obj1
= 0 ;
31660 char * kwnames
[] = {
31661 (char *) "self",(char *) "func", NULL
31664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31666 if (!SWIG_IsOK(res1
)) {
31667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31669 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31673 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31686 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31687 PyObject
*resultobj
= 0;
31688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31689 wxWindow
*result
= 0 ;
31692 PyObject
*swig_obj
[1] ;
31694 if (!args
) SWIG_fail
;
31695 swig_obj
[0] = args
;
31696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31697 if (!SWIG_IsOK(res1
)) {
31698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31700 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= wxPyMake_wxObject(result
, 0);
31716 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
= 0;
31718 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31719 SwigValueWrapper
<wxVisualAttributes
> result
;
31722 PyObject
* obj0
= 0 ;
31723 char * kwnames
[] = {
31724 (char *) "variant", NULL
31727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31730 if (!SWIG_IsOK(ecode1
)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31733 arg1
= static_cast< wxWindowVariant
>(val1
);
31736 if (!wxPyCheckForApp()) SWIG_fail
;
31737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31738 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31739 wxPyEndAllowThreads(__tstate
);
31740 if (PyErr_Occurred()) SWIG_fail
;
31742 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31749 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31752 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31753 return SWIG_Py_Void();
31756 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31757 return SWIG_Python_InitShadowInstance(args
);
31760 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
= 0;
31762 wxWindow
*arg1
= (wxWindow
*) 0 ;
31763 int arg2
= (int) -1 ;
31764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31768 long arg5
= (long) wxLC_REPORT
;
31769 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31770 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31771 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31772 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31773 wxListView
*result
= 0 ;
31784 bool temp7
= false ;
31785 PyObject
* obj0
= 0 ;
31786 PyObject
* obj1
= 0 ;
31787 PyObject
* obj2
= 0 ;
31788 PyObject
* obj3
= 0 ;
31789 PyObject
* obj4
= 0 ;
31790 PyObject
* obj5
= 0 ;
31791 PyObject
* obj6
= 0 ;
31792 char * kwnames
[] = {
31793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31798 if (!SWIG_IsOK(res1
)) {
31799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31804 if (!SWIG_IsOK(ecode2
)) {
31805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31807 arg2
= static_cast< int >(val2
);
31812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31818 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31822 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31823 if (!SWIG_IsOK(ecode5
)) {
31824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31826 arg5
= static_cast< long >(val5
);
31829 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31830 if (!SWIG_IsOK(res6
)) {
31831 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31836 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31840 arg7
= wxString_in_helper(obj6
);
31841 if (arg7
== NULL
) SWIG_fail
;
31846 if (!wxPyCheckForApp()) SWIG_fail
;
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31848 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31867 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31868 PyObject
*resultobj
= 0;
31869 wxListView
*result
= 0 ;
31871 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31873 if (!wxPyCheckForApp()) SWIG_fail
;
31874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31875 result
= (wxListView
*)new wxListView();
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31886 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31887 PyObject
*resultobj
= 0;
31888 wxListView
*arg1
= (wxListView
*) 0 ;
31889 wxWindow
*arg2
= (wxWindow
*) 0 ;
31890 int arg3
= (int) -1 ;
31891 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31892 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31893 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31894 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31895 long arg6
= (long) wxLC_REPORT
;
31896 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31897 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31898 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31899 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31913 bool temp8
= false ;
31914 PyObject
* obj0
= 0 ;
31915 PyObject
* obj1
= 0 ;
31916 PyObject
* obj2
= 0 ;
31917 PyObject
* obj3
= 0 ;
31918 PyObject
* obj4
= 0 ;
31919 PyObject
* obj5
= 0 ;
31920 PyObject
* obj6
= 0 ;
31921 PyObject
* obj7
= 0 ;
31922 char * kwnames
[] = {
31923 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31928 if (!SWIG_IsOK(res1
)) {
31929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31931 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31933 if (!SWIG_IsOK(res2
)) {
31934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31936 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31939 if (!SWIG_IsOK(ecode3
)) {
31940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31942 arg3
= static_cast< int >(val3
);
31947 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31953 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31957 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31958 if (!SWIG_IsOK(ecode6
)) {
31959 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31961 arg6
= static_cast< long >(val6
);
31964 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31965 if (!SWIG_IsOK(res7
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31971 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31975 arg8
= wxString_in_helper(obj7
);
31976 if (arg8
== NULL
) SWIG_fail
;
31981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31982 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31983 wxPyEndAllowThreads(__tstate
);
31984 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32003 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32004 PyObject
*resultobj
= 0;
32005 wxListView
*arg1
= (wxListView
*) 0 ;
32007 bool arg3
= (bool) true ;
32014 PyObject
* obj0
= 0 ;
32015 PyObject
* obj1
= 0 ;
32016 PyObject
* obj2
= 0 ;
32017 char * kwnames
[] = {
32018 (char *) "self",(char *) "n",(char *) "on", NULL
32021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32023 if (!SWIG_IsOK(res1
)) {
32024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32026 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32027 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32028 if (!SWIG_IsOK(ecode2
)) {
32029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32031 arg2
= static_cast< long >(val2
);
32033 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32034 if (!SWIG_IsOK(ecode3
)) {
32035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32037 arg3
= static_cast< bool >(val3
);
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 (arg1
)->Select(arg2
,arg3
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= SWIG_Py_Void();
32052 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
= 0;
32054 wxListView
*arg1
= (wxListView
*) 0 ;
32060 PyObject
* obj0
= 0 ;
32061 PyObject
* obj1
= 0 ;
32062 char * kwnames
[] = {
32063 (char *) "self",(char *) "index", NULL
32066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32068 if (!SWIG_IsOK(res1
)) {
32069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32071 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32072 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32073 if (!SWIG_IsOK(ecode2
)) {
32074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32076 arg2
= static_cast< long >(val2
);
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 (arg1
)->Focus(arg2
);
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= SWIG_Py_Void();
32090 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32091 PyObject
*resultobj
= 0;
32092 wxListView
*arg1
= (wxListView
*) 0 ;
32096 PyObject
*swig_obj
[1] ;
32098 if (!args
) SWIG_fail
;
32099 swig_obj
[0] = args
;
32100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32101 if (!SWIG_IsOK(res1
)) {
32102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32104 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= SWIG_From_long(static_cast< long >(result
));
32118 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
= 0;
32120 wxListView
*arg1
= (wxListView
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 PyObject
* obj1
= 0 ;
32129 char * kwnames
[] = {
32130 (char *) "self",(char *) "item", NULL
32133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32135 if (!SWIG_IsOK(res1
)) {
32136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32138 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32139 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32140 if (!SWIG_IsOK(ecode2
)) {
32141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32143 arg2
= static_cast< long >(val2
);
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32150 resultobj
= SWIG_From_long(static_cast< long >(result
));
32157 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32158 PyObject
*resultobj
= 0;
32159 wxListView
*arg1
= (wxListView
*) 0 ;
32163 PyObject
*swig_obj
[1] ;
32165 if (!args
) SWIG_fail
;
32166 swig_obj
[0] = args
;
32167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32168 if (!SWIG_IsOK(res1
)) {
32169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32171 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 resultobj
= SWIG_From_long(static_cast< long >(result
));
32185 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32186 PyObject
*resultobj
= 0;
32187 wxListView
*arg1
= (wxListView
*) 0 ;
32194 PyObject
* obj0
= 0 ;
32195 PyObject
* obj1
= 0 ;
32196 char * kwnames
[] = {
32197 (char *) "self",(char *) "index", NULL
32200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32202 if (!SWIG_IsOK(res1
)) {
32203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32205 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32206 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32207 if (!SWIG_IsOK(ecode2
)) {
32208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32210 arg2
= static_cast< long >(val2
);
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 result
= (bool)(arg1
)->IsSelected(arg2
);
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32226 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
= 0;
32228 wxListView
*arg1
= (wxListView
*) 0 ;
32237 PyObject
* obj0
= 0 ;
32238 PyObject
* obj1
= 0 ;
32239 PyObject
* obj2
= 0 ;
32240 char * kwnames
[] = {
32241 (char *) "self",(char *) "col",(char *) "image", NULL
32244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32246 if (!SWIG_IsOK(res1
)) {
32247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32249 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32251 if (!SWIG_IsOK(ecode2
)) {
32252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32254 arg2
= static_cast< int >(val2
);
32255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32256 if (!SWIG_IsOK(ecode3
)) {
32257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32259 arg3
= static_cast< int >(val3
);
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32262 (arg1
)->SetColumnImage(arg2
,arg3
);
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32266 resultobj
= SWIG_Py_Void();
32273 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32274 PyObject
*resultobj
= 0;
32275 wxListView
*arg1
= (wxListView
*) 0 ;
32281 PyObject
* obj0
= 0 ;
32282 PyObject
* obj1
= 0 ;
32283 char * kwnames
[] = {
32284 (char *) "self",(char *) "col", NULL
32287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32289 if (!SWIG_IsOK(res1
)) {
32290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32292 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32294 if (!SWIG_IsOK(ecode2
)) {
32295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32297 arg2
= static_cast< int >(val2
);
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 (arg1
)->ClearColumnImage(arg2
);
32301 wxPyEndAllowThreads(__tstate
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= SWIG_Py_Void();
32311 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32314 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32315 return SWIG_Py_Void();
32318 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32319 return SWIG_Python_InitShadowInstance(args
);
32322 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32323 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32328 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32329 PyObject
*pyobj
= 0;
32333 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32335 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32342 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32343 PyObject
*resultobj
= 0;
32344 wxTreeItemId
*result
= 0 ;
32346 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32349 result
= (wxTreeItemId
*)new wxTreeItemId();
32350 wxPyEndAllowThreads(__tstate
);
32351 if (PyErr_Occurred()) SWIG_fail
;
32353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32360 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32361 PyObject
*resultobj
= 0;
32362 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32365 PyObject
*swig_obj
[1] ;
32367 if (!args
) SWIG_fail
;
32368 swig_obj
[0] = args
;
32369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32370 if (!SWIG_IsOK(res1
)) {
32371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32373 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32381 resultobj
= SWIG_Py_Void();
32388 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32389 PyObject
*resultobj
= 0;
32390 wxTreeItemId
*arg1
= (wxTreeItemId
*) 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_wxTreeItemId
, 0 | 0 );
32399 if (!SWIG_IsOK(res1
)) {
32400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32402 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32418 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32419 PyObject
*resultobj
= 0;
32420 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32421 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32427 PyObject
* obj0
= 0 ;
32428 PyObject
* obj1
= 0 ;
32429 char * kwnames
[] = {
32430 (char *) "self",(char *) "other", NULL
32433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32435 if (!SWIG_IsOK(res1
)) {
32436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32438 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32440 if (!SWIG_IsOK(res2
)) {
32441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32443 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32459 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32460 PyObject
*resultobj
= 0;
32461 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32462 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32468 PyObject
* obj0
= 0 ;
32469 PyObject
* obj1
= 0 ;
32470 char * kwnames
[] = {
32471 (char *) "self",(char *) "other", NULL
32474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32476 if (!SWIG_IsOK(res1
)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32479 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32481 if (!SWIG_IsOK(res2
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32484 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32488 wxPyEndAllowThreads(__tstate
);
32489 if (PyErr_Occurred()) SWIG_fail
;
32492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32500 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32501 PyObject
*resultobj
= 0;
32502 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32503 void *arg2
= (void *) 0 ;
32507 PyObject
*swig_obj
[2] ;
32509 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32511 if (!SWIG_IsOK(res1
)) {
32512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32514 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32515 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32516 if (!SWIG_IsOK(res2
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32519 if (arg1
) (arg1
)->m_pItem
= arg2
;
32521 resultobj
= SWIG_Py_Void();
32528 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32529 PyObject
*resultobj
= 0;
32530 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32534 PyObject
*swig_obj
[1] ;
32536 if (!args
) SWIG_fail
;
32537 swig_obj
[0] = args
;
32538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32539 if (!SWIG_IsOK(res1
)) {
32540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32542 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32543 result
= (void *) ((arg1
)->m_pItem
);
32544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32551 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32554 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32555 return SWIG_Py_Void();
32558 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32559 return SWIG_Python_InitShadowInstance(args
);
32562 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32563 PyObject
*resultobj
= 0;
32564 PyObject
*arg1
= (PyObject
*) NULL
;
32565 wxPyTreeItemData
*result
= 0 ;
32566 PyObject
* obj0
= 0 ;
32567 char * kwnames
[] = {
32568 (char *) "obj", NULL
32571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32578 wxPyEndAllowThreads(__tstate
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32588 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32589 PyObject
*resultobj
= 0;
32590 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32593 PyObject
*swig_obj
[1] ;
32595 if (!args
) SWIG_fail
;
32596 swig_obj
[0] = args
;
32597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32598 if (!SWIG_IsOK(res1
)) {
32599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32601 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 wxPyEndAllowThreads(__tstate
);
32607 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= SWIG_Py_Void();
32616 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32617 PyObject
*resultobj
= 0;
32618 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32619 PyObject
*result
= 0 ;
32622 PyObject
*swig_obj
[1] ;
32624 if (!args
) SWIG_fail
;
32625 swig_obj
[0] = args
;
32626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32627 if (!SWIG_IsOK(res1
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32630 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 result
= (PyObject
*)(arg1
)->GetData();
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 resultobj
= result
;
32644 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
= 0;
32646 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32647 PyObject
*arg2
= (PyObject
*) 0 ;
32650 PyObject
* obj0
= 0 ;
32651 PyObject
* obj1
= 0 ;
32652 char * kwnames
[] = {
32653 (char *) "self",(char *) "obj", NULL
32656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32658 if (!SWIG_IsOK(res1
)) {
32659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32661 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 (arg1
)->SetData(arg2
);
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= SWIG_Py_Void();
32676 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32677 PyObject
*resultobj
= 0;
32678 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32679 wxTreeItemId
*result
= 0 ;
32682 PyObject
*swig_obj
[1] ;
32684 if (!args
) SWIG_fail
;
32685 swig_obj
[0] = args
;
32686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32687 if (!SWIG_IsOK(res1
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32690 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32695 result
= (wxTreeItemId
*) &_result_ref
;
32697 wxPyEndAllowThreads(__tstate
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32707 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32708 PyObject
*resultobj
= 0;
32709 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32710 wxTreeItemId
*arg2
= 0 ;
32715 PyObject
* obj0
= 0 ;
32716 PyObject
* obj1
= 0 ;
32717 char * kwnames
[] = {
32718 (char *) "self",(char *) "id", NULL
32721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32723 if (!SWIG_IsOK(res1
)) {
32724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32726 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32728 if (!SWIG_IsOK(res2
)) {
32729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32734 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32738 wxPyEndAllowThreads(__tstate
);
32739 if (PyErr_Occurred()) SWIG_fail
;
32741 resultobj
= SWIG_Py_Void();
32748 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32749 PyObject
*resultobj
= 0;
32750 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32753 PyObject
*swig_obj
[1] ;
32755 if (!args
) SWIG_fail
;
32756 swig_obj
[0] = args
;
32757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32758 if (!SWIG_IsOK(res1
)) {
32759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32761 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 wxPyTreeItemData_Destroy(arg1
);
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= SWIG_Py_Void();
32775 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32778 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32779 return SWIG_Py_Void();
32782 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32783 return SWIG_Python_InitShadowInstance(args
);
32786 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32789 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32790 if (!SWIG_IsOK(res
)) {
32791 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32796 wxTreeItemId
* temp
;
32797 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32798 wxNullTreeItemId
= *temp
;
32799 if (SWIG_IsNewObj(res
)) delete temp
;
32808 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32809 PyObject
*pyobj
= 0;
32811 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32816 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32817 PyObject
*resultobj
= 0;
32818 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32819 int arg2
= (int) 0 ;
32820 wxTreeEvent
*result
= 0 ;
32826 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32828 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32829 if (!SWIG_IsOK(ecode1
)) {
32830 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32832 arg1
= static_cast< wxEventType
>(val1
);
32835 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32836 if (!SWIG_IsOK(ecode2
)) {
32837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32839 arg2
= static_cast< int >(val2
);
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32854 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32855 PyObject
*resultobj
= 0;
32857 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32858 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32859 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32860 wxTreeEvent
*result
= 0 ;
32868 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32869 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32870 if (!SWIG_IsOK(ecode1
)) {
32871 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32873 arg1
= static_cast< wxEventType
>(val1
);
32874 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32875 if (!SWIG_IsOK(res2
)) {
32876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32878 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32880 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32881 if (!SWIG_IsOK(res3
)) {
32882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32887 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32891 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32892 wxPyEndAllowThreads(__tstate
);
32893 if (PyErr_Occurred()) SWIG_fail
;
32895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32902 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32906 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32908 if ((argc
>= 0) && (argc
<= 2)) {
32913 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32914 _v
= SWIG_CheckState(res
);
32917 if (!_v
) goto check_1
;
32919 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
32923 if ((argc
>= 2) && (argc
<= 3)) {
32924 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
32928 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
32933 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32934 PyObject
*resultobj
= 0;
32935 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32936 wxTreeItemId result
;
32939 PyObject
*swig_obj
[1] ;
32941 if (!args
) SWIG_fail
;
32942 swig_obj
[0] = args
;
32943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32944 if (!SWIG_IsOK(res1
)) {
32945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32947 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32950 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32961 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32962 PyObject
*resultobj
= 0;
32963 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32964 wxTreeItemId
*arg2
= 0 ;
32969 PyObject
* obj0
= 0 ;
32970 PyObject
* obj1
= 0 ;
32971 char * kwnames
[] = {
32972 (char *) "self",(char *) "item", NULL
32975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32977 if (!SWIG_IsOK(res1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32980 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32982 if (!SWIG_IsOK(res2
)) {
32983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32988 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32991 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= SWIG_Py_Void();
33002 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33003 PyObject
*resultobj
= 0;
33004 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33005 wxTreeItemId result
;
33008 PyObject
*swig_obj
[1] ;
33010 if (!args
) SWIG_fail
;
33011 swig_obj
[0] = args
;
33012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33013 if (!SWIG_IsOK(res1
)) {
33014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33016 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33030 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
= 0;
33032 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33033 wxTreeItemId
*arg2
= 0 ;
33038 PyObject
* obj0
= 0 ;
33039 PyObject
* obj1
= 0 ;
33040 char * kwnames
[] = {
33041 (char *) "self",(char *) "item", NULL
33044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33046 if (!SWIG_IsOK(res1
)) {
33047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33049 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33051 if (!SWIG_IsOK(res2
)) {
33052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33057 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33061 wxPyEndAllowThreads(__tstate
);
33062 if (PyErr_Occurred()) SWIG_fail
;
33064 resultobj
= SWIG_Py_Void();
33071 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33072 PyObject
*resultobj
= 0;
33073 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33077 PyObject
*swig_obj
[1] ;
33079 if (!args
) SWIG_fail
;
33080 swig_obj
[0] = args
;
33081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33082 if (!SWIG_IsOK(res1
)) {
33083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33085 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33088 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33099 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33100 PyObject
*resultobj
= 0;
33101 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33102 wxPoint
*arg2
= 0 ;
33106 PyObject
* obj0
= 0 ;
33107 PyObject
* obj1
= 0 ;
33108 char * kwnames
[] = {
33109 (char *) "self",(char *) "pt", NULL
33112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33114 if (!SWIG_IsOK(res1
)) {
33115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33117 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= SWIG_Py_Void();
33135 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33136 PyObject
*resultobj
= 0;
33137 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33138 wxKeyEvent
*result
= 0 ;
33141 PyObject
*swig_obj
[1] ;
33143 if (!args
) SWIG_fail
;
33144 swig_obj
[0] = args
;
33145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33146 if (!SWIG_IsOK(res1
)) {
33147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33149 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33153 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33154 result
= (wxKeyEvent
*) &_result_ref
;
33156 wxPyEndAllowThreads(__tstate
);
33157 if (PyErr_Occurred()) SWIG_fail
;
33159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33166 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33167 PyObject
*resultobj
= 0;
33168 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33172 PyObject
*swig_obj
[1] ;
33174 if (!args
) SWIG_fail
;
33175 swig_obj
[0] = args
;
33176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33177 if (!SWIG_IsOK(res1
)) {
33178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33180 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= SWIG_From_int(static_cast< int >(result
));
33194 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
= 0;
33196 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33197 wxKeyEvent
*arg2
= 0 ;
33202 PyObject
* obj0
= 0 ;
33203 PyObject
* obj1
= 0 ;
33204 char * kwnames
[] = {
33205 (char *) "self",(char *) "evt", NULL
33208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33210 if (!SWIG_IsOK(res1
)) {
33211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33213 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33215 if (!SWIG_IsOK(res2
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33221 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33224 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33225 wxPyEndAllowThreads(__tstate
);
33226 if (PyErr_Occurred()) SWIG_fail
;
33228 resultobj
= SWIG_Py_Void();
33235 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33236 PyObject
*resultobj
= 0;
33237 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33238 wxString
*result
= 0 ;
33241 PyObject
*swig_obj
[1] ;
33243 if (!args
) SWIG_fail
;
33244 swig_obj
[0] = args
;
33245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33246 if (!SWIG_IsOK(res1
)) {
33247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33249 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33253 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33254 result
= (wxString
*) &_result_ref
;
33256 wxPyEndAllowThreads(__tstate
);
33257 if (PyErr_Occurred()) SWIG_fail
;
33261 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33263 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33272 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33273 PyObject
*resultobj
= 0;
33274 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33275 wxString
*arg2
= 0 ;
33278 bool temp2
= false ;
33279 PyObject
* obj0
= 0 ;
33280 PyObject
* obj1
= 0 ;
33281 char * kwnames
[] = {
33282 (char *) "self",(char *) "label", NULL
33285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33287 if (!SWIG_IsOK(res1
)) {
33288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33290 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33292 arg2
= wxString_in_helper(obj1
);
33293 if (arg2
== NULL
) SWIG_fail
;
33297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33298 (arg1
)->SetLabel((wxString
const &)*arg2
);
33299 wxPyEndAllowThreads(__tstate
);
33300 if (PyErr_Occurred()) SWIG_fail
;
33302 resultobj
= SWIG_Py_Void();
33317 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33318 PyObject
*resultobj
= 0;
33319 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33323 PyObject
*swig_obj
[1] ;
33325 if (!args
) SWIG_fail
;
33326 swig_obj
[0] = args
;
33327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33328 if (!SWIG_IsOK(res1
)) {
33329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33331 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33347 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33348 PyObject
*resultobj
= 0;
33349 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33355 PyObject
* obj0
= 0 ;
33356 PyObject
* obj1
= 0 ;
33357 char * kwnames
[] = {
33358 (char *) "self",(char *) "editCancelled", NULL
33361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33363 if (!SWIG_IsOK(res1
)) {
33364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33366 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33367 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33368 if (!SWIG_IsOK(ecode2
)) {
33369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33371 arg2
= static_cast< bool >(val2
);
33373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33374 (arg1
)->SetEditCanceled(arg2
);
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33378 resultobj
= SWIG_Py_Void();
33385 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33386 PyObject
*resultobj
= 0;
33387 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33388 wxString
*arg2
= 0 ;
33391 bool temp2
= false ;
33392 PyObject
* obj0
= 0 ;
33393 PyObject
* obj1
= 0 ;
33394 char * kwnames
[] = {
33395 (char *) "self",(char *) "toolTip", NULL
33398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33400 if (!SWIG_IsOK(res1
)) {
33401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33403 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33405 arg2
= wxString_in_helper(obj1
);
33406 if (arg2
== NULL
) SWIG_fail
;
33410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33411 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33412 wxPyEndAllowThreads(__tstate
);
33413 if (PyErr_Occurred()) SWIG_fail
;
33415 resultobj
= SWIG_Py_Void();
33430 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33431 PyObject
*resultobj
= 0;
33432 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33436 PyObject
*swig_obj
[1] ;
33438 if (!args
) SWIG_fail
;
33439 swig_obj
[0] = args
;
33440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33441 if (!SWIG_IsOK(res1
)) {
33442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33444 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33447 result
= (arg1
)->GetToolTip();
33448 wxPyEndAllowThreads(__tstate
);
33449 if (PyErr_Occurred()) SWIG_fail
;
33453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33464 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33467 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33468 return SWIG_Py_Void();
33471 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33472 return SWIG_Python_InitShadowInstance(args
);
33475 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33476 PyObject
*resultobj
= 0;
33477 wxWindow
*arg1
= (wxWindow
*) 0 ;
33478 int arg2
= (int) -1 ;
33479 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33480 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33481 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33482 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33483 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33484 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33485 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33486 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33488 wxPyTreeCtrl
*result
= 0 ;
33499 bool temp7
= false ;
33500 PyObject
* obj0
= 0 ;
33501 PyObject
* obj1
= 0 ;
33502 PyObject
* obj2
= 0 ;
33503 PyObject
* obj3
= 0 ;
33504 PyObject
* obj4
= 0 ;
33505 PyObject
* obj5
= 0 ;
33506 PyObject
* obj6
= 0 ;
33507 char * kwnames
[] = {
33508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33513 if (!SWIG_IsOK(res1
)) {
33514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33516 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33519 if (!SWIG_IsOK(ecode2
)) {
33520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33522 arg2
= static_cast< int >(val2
);
33527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33537 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33538 if (!SWIG_IsOK(ecode5
)) {
33539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33541 arg5
= static_cast< long >(val5
);
33544 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33545 if (!SWIG_IsOK(res6
)) {
33546 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33551 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33555 arg7
= wxString_in_helper(obj6
);
33556 if (arg7
== NULL
) SWIG_fail
;
33561 if (!wxPyCheckForApp()) SWIG_fail
;
33562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33582 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33583 PyObject
*resultobj
= 0;
33584 wxPyTreeCtrl
*result
= 0 ;
33586 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33588 if (!wxPyCheckForApp()) SWIG_fail
;
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33601 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33602 PyObject
*resultobj
= 0;
33603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33604 wxWindow
*arg2
= (wxWindow
*) 0 ;
33605 int arg3
= (int) -1 ;
33606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33610 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33611 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33612 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33613 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33614 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33628 bool temp8
= false ;
33629 PyObject
* obj0
= 0 ;
33630 PyObject
* obj1
= 0 ;
33631 PyObject
* obj2
= 0 ;
33632 PyObject
* obj3
= 0 ;
33633 PyObject
* obj4
= 0 ;
33634 PyObject
* obj5
= 0 ;
33635 PyObject
* obj6
= 0 ;
33636 PyObject
* obj7
= 0 ;
33637 char * kwnames
[] = {
33638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33643 if (!SWIG_IsOK(res1
)) {
33644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33646 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33648 if (!SWIG_IsOK(res2
)) {
33649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33654 if (!SWIG_IsOK(ecode3
)) {
33655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33657 arg3
= static_cast< int >(val3
);
33662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33673 if (!SWIG_IsOK(ecode6
)) {
33674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33676 arg6
= static_cast< long >(val6
);
33679 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33680 if (!SWIG_IsOK(res7
)) {
33681 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33686 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33690 arg8
= wxString_in_helper(obj7
);
33691 if (arg8
== NULL
) SWIG_fail
;
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33718 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
= 0;
33720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33721 PyObject
*arg2
= (PyObject
*) 0 ;
33722 PyObject
*arg3
= (PyObject
*) 0 ;
33725 PyObject
* obj0
= 0 ;
33726 PyObject
* obj1
= 0 ;
33727 PyObject
* obj2
= 0 ;
33728 char * kwnames
[] = {
33729 (char *) "self",(char *) "self",(char *) "_class", NULL
33732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33734 if (!SWIG_IsOK(res1
)) {
33735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33737 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 resultobj
= SWIG_Py_Void();
33753 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33754 PyObject
*resultobj
= 0;
33755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33756 unsigned int result
;
33759 PyObject
*swig_obj
[1] ;
33761 if (!args
) SWIG_fail
;
33762 swig_obj
[0] = args
;
33763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33764 if (!SWIG_IsOK(res1
)) {
33765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33767 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33771 wxPyEndAllowThreads(__tstate
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33774 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33781 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33782 PyObject
*resultobj
= 0;
33783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33784 unsigned int result
;
33787 PyObject
*swig_obj
[1] ;
33789 if (!args
) SWIG_fail
;
33790 swig_obj
[0] = args
;
33791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33792 if (!SWIG_IsOK(res1
)) {
33793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33795 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33798 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33799 wxPyEndAllowThreads(__tstate
);
33800 if (PyErr_Occurred()) SWIG_fail
;
33802 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33809 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33810 PyObject
*resultobj
= 0;
33811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33812 unsigned int arg2
;
33815 unsigned int val2
;
33817 PyObject
* obj0
= 0 ;
33818 PyObject
* obj1
= 0 ;
33819 char * kwnames
[] = {
33820 (char *) "self",(char *) "indent", NULL
33823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33825 if (!SWIG_IsOK(res1
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33829 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33830 if (!SWIG_IsOK(ecode2
)) {
33831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33833 arg2
= static_cast< unsigned int >(val2
);
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 (arg1
)->SetIndent(arg2
);
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= SWIG_Py_Void();
33847 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33848 PyObject
*resultobj
= 0;
33849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33850 unsigned int result
;
33853 PyObject
*swig_obj
[1] ;
33855 if (!args
) SWIG_fail
;
33856 swig_obj
[0] = args
;
33857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33858 if (!SWIG_IsOK(res1
)) {
33859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33861 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33864 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33875 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33876 PyObject
*resultobj
= 0;
33877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33878 unsigned int arg2
;
33881 unsigned int val2
;
33883 PyObject
* obj0
= 0 ;
33884 PyObject
* obj1
= 0 ;
33885 char * kwnames
[] = {
33886 (char *) "self",(char *) "spacing", NULL
33889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33891 if (!SWIG_IsOK(res1
)) {
33892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33894 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33895 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33896 if (!SWIG_IsOK(ecode2
)) {
33897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33899 arg2
= static_cast< unsigned int >(val2
);
33901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33902 (arg1
)->SetSpacing(arg2
);
33903 wxPyEndAllowThreads(__tstate
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 resultobj
= SWIG_Py_Void();
33913 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33914 PyObject
*resultobj
= 0;
33915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33916 wxImageList
*result
= 0 ;
33919 PyObject
*swig_obj
[1] ;
33921 if (!args
) SWIG_fail
;
33922 swig_obj
[0] = args
;
33923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33924 if (!SWIG_IsOK(res1
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33927 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33943 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33944 PyObject
*resultobj
= 0;
33945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33946 wxImageList
*result
= 0 ;
33949 PyObject
*swig_obj
[1] ;
33951 if (!args
) SWIG_fail
;
33952 swig_obj
[0] = args
;
33953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33954 if (!SWIG_IsOK(res1
)) {
33955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33957 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33973 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33974 PyObject
*resultobj
= 0;
33975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33976 wxImageList
*arg2
= (wxImageList
*) 0 ;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 char * kwnames
[] = {
33984 (char *) "self",(char *) "imageList", NULL
33987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33989 if (!SWIG_IsOK(res1
)) {
33990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33992 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33994 if (!SWIG_IsOK(res2
)) {
33995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33997 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34000 (arg1
)->SetImageList(arg2
);
34001 wxPyEndAllowThreads(__tstate
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34004 resultobj
= SWIG_Py_Void();
34011 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34012 PyObject
*resultobj
= 0;
34013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34014 wxImageList
*arg2
= (wxImageList
*) 0 ;
34019 PyObject
* obj0
= 0 ;
34020 PyObject
* obj1
= 0 ;
34021 char * kwnames
[] = {
34022 (char *) "self",(char *) "imageList", NULL
34025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34027 if (!SWIG_IsOK(res1
)) {
34028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34030 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34032 if (!SWIG_IsOK(res2
)) {
34033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34035 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 (arg1
)->SetStateImageList(arg2
);
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34042 resultobj
= SWIG_Py_Void();
34049 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34050 PyObject
*resultobj
= 0;
34051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34052 wxImageList
*arg2
= (wxImageList
*) 0 ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 char * kwnames
[] = {
34059 (char *) "self",(char *) "imageList", NULL
34062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34064 if (!SWIG_IsOK(res1
)) {
34065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34067 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34068 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34069 if (!SWIG_IsOK(res2
)) {
34070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 (arg1
)->AssignImageList(arg2
);
34075 wxPyEndAllowThreads(__tstate
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34078 resultobj
= SWIG_Py_Void();
34085 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34086 PyObject
*resultobj
= 0;
34087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34088 wxImageList
*arg2
= (wxImageList
*) 0 ;
34092 PyObject
* obj0
= 0 ;
34093 PyObject
* obj1
= 0 ;
34094 char * kwnames
[] = {
34095 (char *) "self",(char *) "imageList", NULL
34098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34100 if (!SWIG_IsOK(res1
)) {
34101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34103 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34104 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34105 if (!SWIG_IsOK(res2
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 (arg1
)->AssignStateImageList(arg2
);
34111 wxPyEndAllowThreads(__tstate
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34114 resultobj
= SWIG_Py_Void();
34121 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
= 0;
34123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34124 wxTreeItemId
*arg2
= 0 ;
34130 PyObject
* obj0
= 0 ;
34131 PyObject
* obj1
= 0 ;
34132 char * kwnames
[] = {
34133 (char *) "self",(char *) "item", NULL
34136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34138 if (!SWIG_IsOK(res1
)) {
34139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34141 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34142 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34143 if (!SWIG_IsOK(res2
)) {
34144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34149 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34152 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34169 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34170 PyObject
*resultobj
= 0;
34171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34172 wxTreeItemId
*arg2
= 0 ;
34173 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34181 PyObject
* obj0
= 0 ;
34182 PyObject
* obj1
= 0 ;
34183 PyObject
* obj2
= 0 ;
34184 char * kwnames
[] = {
34185 (char *) "self",(char *) "item",(char *) "which", NULL
34188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34190 if (!SWIG_IsOK(res1
)) {
34191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34193 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34195 if (!SWIG_IsOK(res2
)) {
34196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34201 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34204 if (!SWIG_IsOK(ecode3
)) {
34205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34207 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34211 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34212 wxPyEndAllowThreads(__tstate
);
34213 if (PyErr_Occurred()) SWIG_fail
;
34215 resultobj
= SWIG_From_int(static_cast< int >(result
));
34222 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34223 PyObject
*resultobj
= 0;
34224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34225 wxTreeItemId
*arg2
= 0 ;
34226 wxPyTreeItemData
*result
= 0 ;
34231 PyObject
* obj0
= 0 ;
34232 PyObject
* obj1
= 0 ;
34233 char * kwnames
[] = {
34234 (char *) "self",(char *) "item", NULL
34237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34239 if (!SWIG_IsOK(res1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34242 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34244 if (!SWIG_IsOK(res2
)) {
34245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34250 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34254 wxPyEndAllowThreads(__tstate
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34264 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34265 PyObject
*resultobj
= 0;
34266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34267 wxTreeItemId
*arg2
= 0 ;
34268 PyObject
*result
= 0 ;
34273 PyObject
* obj0
= 0 ;
34274 PyObject
* obj1
= 0 ;
34275 char * kwnames
[] = {
34276 (char *) "self",(char *) "item", NULL
34279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34281 if (!SWIG_IsOK(res1
)) {
34282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34284 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34286 if (!SWIG_IsOK(res2
)) {
34287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34292 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34295 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34299 resultobj
= result
;
34306 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34307 PyObject
*resultobj
= 0;
34308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34309 wxTreeItemId
*arg2
= 0 ;
34315 PyObject
* obj0
= 0 ;
34316 PyObject
* obj1
= 0 ;
34317 char * kwnames
[] = {
34318 (char *) "self",(char *) "item", NULL
34321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34323 if (!SWIG_IsOK(res1
)) {
34324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34326 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34328 if (!SWIG_IsOK(res2
)) {
34329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34334 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34338 wxPyEndAllowThreads(__tstate
);
34339 if (PyErr_Occurred()) SWIG_fail
;
34341 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34348 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34349 PyObject
*resultobj
= 0;
34350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34351 wxTreeItemId
*arg2
= 0 ;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 char * kwnames
[] = {
34360 (char *) "self",(char *) "item", NULL
34363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34365 if (!SWIG_IsOK(res1
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34368 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34370 if (!SWIG_IsOK(res2
)) {
34371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34376 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34383 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34390 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34391 PyObject
*resultobj
= 0;
34392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34393 wxTreeItemId
*arg2
= 0 ;
34399 PyObject
* obj0
= 0 ;
34400 PyObject
* obj1
= 0 ;
34401 char * kwnames
[] = {
34402 (char *) "self",(char *) "item", NULL
34405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34407 if (!SWIG_IsOK(res1
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34410 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34412 if (!SWIG_IsOK(res2
)) {
34413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34418 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34421 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34432 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34433 PyObject
*resultobj
= 0;
34434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34435 wxTreeItemId
*arg2
= 0 ;
34436 wxString
*arg3
= 0 ;
34441 bool temp3
= false ;
34442 PyObject
* obj0
= 0 ;
34443 PyObject
* obj1
= 0 ;
34444 PyObject
* obj2
= 0 ;
34445 char * kwnames
[] = {
34446 (char *) "self",(char *) "item",(char *) "text", NULL
34449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34451 if (!SWIG_IsOK(res1
)) {
34452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34454 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34456 if (!SWIG_IsOK(res2
)) {
34457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34462 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34464 arg3
= wxString_in_helper(obj2
);
34465 if (arg3
== NULL
) SWIG_fail
;
34469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34470 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= SWIG_Py_Void();
34489 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
= 0;
34491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34492 wxTreeItemId
*arg2
= 0 ;
34494 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34503 PyObject
* obj0
= 0 ;
34504 PyObject
* obj1
= 0 ;
34505 PyObject
* obj2
= 0 ;
34506 PyObject
* obj3
= 0 ;
34507 char * kwnames
[] = {
34508 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34513 if (!SWIG_IsOK(res1
)) {
34514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34518 if (!SWIG_IsOK(res2
)) {
34519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34526 if (!SWIG_IsOK(ecode3
)) {
34527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34529 arg3
= static_cast< int >(val3
);
34531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34532 if (!SWIG_IsOK(ecode4
)) {
34533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34535 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34539 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34540 wxPyEndAllowThreads(__tstate
);
34541 if (PyErr_Occurred()) SWIG_fail
;
34543 resultobj
= SWIG_Py_Void();
34550 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34551 PyObject
*resultobj
= 0;
34552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34553 wxTreeItemId
*arg2
= 0 ;
34554 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34560 PyObject
* obj0
= 0 ;
34561 PyObject
* obj1
= 0 ;
34562 PyObject
* obj2
= 0 ;
34563 char * kwnames
[] = {
34564 (char *) "self",(char *) "item",(char *) "data", NULL
34567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34569 if (!SWIG_IsOK(res1
)) {
34570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34572 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34574 if (!SWIG_IsOK(res2
)) {
34575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34580 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34581 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34582 if (!SWIG_IsOK(res3
)) {
34583 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34587 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34588 wxPyEndAllowThreads(__tstate
);
34589 if (PyErr_Occurred()) SWIG_fail
;
34591 resultobj
= SWIG_Py_Void();
34598 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34599 PyObject
*resultobj
= 0;
34600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34601 wxTreeItemId
*arg2
= 0 ;
34602 PyObject
*arg3
= (PyObject
*) 0 ;
34607 PyObject
* obj0
= 0 ;
34608 PyObject
* obj1
= 0 ;
34609 PyObject
* obj2
= 0 ;
34610 char * kwnames
[] = {
34611 (char *) "self",(char *) "item",(char *) "obj", NULL
34614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34616 if (!SWIG_IsOK(res1
)) {
34617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34619 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34621 if (!SWIG_IsOK(res2
)) {
34622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34627 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34631 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= SWIG_Py_Void();
34642 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
= 0;
34644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34645 wxTreeItemId
*arg2
= 0 ;
34646 bool arg3
= (bool) true ;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj1
= 0 ;
34655 PyObject
* obj2
= 0 ;
34656 char * kwnames
[] = {
34657 (char *) "self",(char *) "item",(char *) "has", NULL
34660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34662 if (!SWIG_IsOK(res1
)) {
34663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34665 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34667 if (!SWIG_IsOK(res2
)) {
34668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34673 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34675 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34676 if (!SWIG_IsOK(ecode3
)) {
34677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34679 arg3
= static_cast< bool >(val3
);
34682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34683 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 resultobj
= SWIG_Py_Void();
34694 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
= 0;
34696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34697 wxTreeItemId
*arg2
= 0 ;
34698 bool arg3
= (bool) true ;
34705 PyObject
* obj0
= 0 ;
34706 PyObject
* obj1
= 0 ;
34707 PyObject
* obj2
= 0 ;
34708 char * kwnames
[] = {
34709 (char *) "self",(char *) "item",(char *) "bold", NULL
34712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34714 if (!SWIG_IsOK(res1
)) {
34715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34717 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34719 if (!SWIG_IsOK(res2
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34725 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34727 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34728 if (!SWIG_IsOK(ecode3
)) {
34729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34731 arg3
= static_cast< bool >(val3
);
34734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34735 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= SWIG_Py_Void();
34746 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34747 PyObject
*resultobj
= 0;
34748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34749 wxTreeItemId
*arg2
= 0 ;
34750 bool arg3
= (bool) true ;
34757 PyObject
* obj0
= 0 ;
34758 PyObject
* obj1
= 0 ;
34759 PyObject
* obj2
= 0 ;
34760 char * kwnames
[] = {
34761 (char *) "self",(char *) "item",(char *) "highlight", NULL
34764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34766 if (!SWIG_IsOK(res1
)) {
34767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34769 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34771 if (!SWIG_IsOK(res2
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34777 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34779 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34780 if (!SWIG_IsOK(ecode3
)) {
34781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34783 arg3
= static_cast< bool >(val3
);
34786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34787 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34788 wxPyEndAllowThreads(__tstate
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34791 resultobj
= SWIG_Py_Void();
34798 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34799 PyObject
*resultobj
= 0;
34800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34801 wxTreeItemId
*arg2
= 0 ;
34802 wxColour
*arg3
= 0 ;
34808 PyObject
* obj0
= 0 ;
34809 PyObject
* obj1
= 0 ;
34810 PyObject
* obj2
= 0 ;
34811 char * kwnames
[] = {
34812 (char *) "self",(char *) "item",(char *) "col", NULL
34815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34817 if (!SWIG_IsOK(res1
)) {
34818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34820 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34822 if (!SWIG_IsOK(res2
)) {
34823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34828 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34831 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34835 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34839 resultobj
= SWIG_Py_Void();
34846 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
= 0;
34848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34849 wxTreeItemId
*arg2
= 0 ;
34850 wxColour
*arg3
= 0 ;
34856 PyObject
* obj0
= 0 ;
34857 PyObject
* obj1
= 0 ;
34858 PyObject
* obj2
= 0 ;
34859 char * kwnames
[] = {
34860 (char *) "self",(char *) "item",(char *) "col", NULL
34863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34865 if (!SWIG_IsOK(res1
)) {
34866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34868 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34870 if (!SWIG_IsOK(res2
)) {
34871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34876 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34879 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 resultobj
= SWIG_Py_Void();
34894 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
= 0;
34896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34897 wxTreeItemId
*arg2
= 0 ;
34905 PyObject
* obj0
= 0 ;
34906 PyObject
* obj1
= 0 ;
34907 PyObject
* obj2
= 0 ;
34908 char * kwnames
[] = {
34909 (char *) "self",(char *) "item",(char *) "font", NULL
34912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",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_SetItemFont" "', 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_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34925 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34927 if (!SWIG_IsOK(res3
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34933 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34936 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34940 resultobj
= SWIG_Py_Void();
34947 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34948 PyObject
*resultobj
= 0;
34949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34950 wxTreeItemId
*arg2
= 0 ;
34956 PyObject
* obj0
= 0 ;
34957 PyObject
* obj1
= 0 ;
34958 char * kwnames
[] = {
34959 (char *) "self",(char *) "item", NULL
34962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34964 if (!SWIG_IsOK(res1
)) {
34965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34967 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34969 if (!SWIG_IsOK(res2
)) {
34970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34975 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34978 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34979 wxPyEndAllowThreads(__tstate
);
34980 if (PyErr_Occurred()) SWIG_fail
;
34983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34991 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34992 PyObject
*resultobj
= 0;
34993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34994 wxTreeItemId
*arg2
= 0 ;
35000 PyObject
* obj0
= 0 ;
35001 PyObject
* obj1
= 0 ;
35002 char * kwnames
[] = {
35003 (char *) "self",(char *) "item", NULL
35006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35008 if (!SWIG_IsOK(res1
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35011 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35013 if (!SWIG_IsOK(res2
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35019 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35022 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35023 wxPyEndAllowThreads(__tstate
);
35024 if (PyErr_Occurred()) SWIG_fail
;
35027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35035 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35036 PyObject
*resultobj
= 0;
35037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35038 wxTreeItemId
*arg2
= 0 ;
35044 PyObject
* obj0
= 0 ;
35045 PyObject
* obj1
= 0 ;
35046 char * kwnames
[] = {
35047 (char *) "self",(char *) "item", NULL
35050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35052 if (!SWIG_IsOK(res1
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35057 if (!SWIG_IsOK(res2
)) {
35058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35067 wxPyEndAllowThreads(__tstate
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35079 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35080 PyObject
*resultobj
= 0;
35081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35082 wxTreeItemId
*arg2
= 0 ;
35088 PyObject
* obj0
= 0 ;
35089 PyObject
* obj1
= 0 ;
35090 char * kwnames
[] = {
35091 (char *) "self",(char *) "item", NULL
35094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35096 if (!SWIG_IsOK(res1
)) {
35097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35099 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35101 if (!SWIG_IsOK(res2
)) {
35102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35107 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35111 wxPyEndAllowThreads(__tstate
);
35112 if (PyErr_Occurred()) SWIG_fail
;
35115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35123 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35124 PyObject
*resultobj
= 0;
35125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35126 wxTreeItemId
*arg2
= 0 ;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 char * kwnames
[] = {
35135 (char *) "self",(char *) "item", NULL
35138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35140 if (!SWIG_IsOK(res1
)) {
35141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35143 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35145 if (!SWIG_IsOK(res2
)) {
35146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35151 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35154 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35155 wxPyEndAllowThreads(__tstate
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35167 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35168 PyObject
*resultobj
= 0;
35169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35170 wxTreeItemId
*arg2
= 0 ;
35171 bool arg3
= (bool) true ;
35179 PyObject
* obj0
= 0 ;
35180 PyObject
* obj1
= 0 ;
35181 PyObject
* obj2
= 0 ;
35182 char * kwnames
[] = {
35183 (char *) "self",(char *) "item",(char *) "recursively", NULL
35186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35188 if (!SWIG_IsOK(res1
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35191 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35193 if (!SWIG_IsOK(res2
)) {
35194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35199 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35201 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35202 if (!SWIG_IsOK(ecode3
)) {
35203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35205 arg3
= static_cast< bool >(val3
);
35208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35209 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35210 wxPyEndAllowThreads(__tstate
);
35211 if (PyErr_Occurred()) SWIG_fail
;
35213 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35220 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35221 PyObject
*resultobj
= 0;
35222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35223 wxTreeItemId result
;
35226 PyObject
*swig_obj
[1] ;
35228 if (!args
) SWIG_fail
;
35229 swig_obj
[0] = args
;
35230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35231 if (!SWIG_IsOK(res1
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35234 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35237 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35238 wxPyEndAllowThreads(__tstate
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35241 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35248 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35249 PyObject
*resultobj
= 0;
35250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35251 wxTreeItemId result
;
35254 PyObject
*swig_obj
[1] ;
35256 if (!args
) SWIG_fail
;
35257 swig_obj
[0] = args
;
35258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35259 if (!SWIG_IsOK(res1
)) {
35260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35266 wxPyEndAllowThreads(__tstate
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35269 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35276 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35277 PyObject
*resultobj
= 0;
35278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35279 PyObject
*result
= 0 ;
35282 PyObject
*swig_obj
[1] ;
35284 if (!args
) SWIG_fail
;
35285 swig_obj
[0] = args
;
35286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35287 if (!SWIG_IsOK(res1
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35290 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35293 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35297 resultobj
= result
;
35304 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35305 PyObject
*resultobj
= 0;
35306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35307 wxTreeItemId
*arg2
= 0 ;
35308 wxTreeItemId result
;
35313 PyObject
* obj0
= 0 ;
35314 PyObject
* obj1
= 0 ;
35315 char * kwnames
[] = {
35316 (char *) "self",(char *) "item", NULL
35319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35321 if (!SWIG_IsOK(res1
)) {
35322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35324 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35326 if (!SWIG_IsOK(res2
)) {
35327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35332 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35335 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35339 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35346 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
= 0;
35348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35349 wxTreeItemId
*arg2
= 0 ;
35350 PyObject
*result
= 0 ;
35355 PyObject
* obj0
= 0 ;
35356 PyObject
* obj1
= 0 ;
35357 char * kwnames
[] = {
35358 (char *) "self",(char *) "item", NULL
35361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35363 if (!SWIG_IsOK(res1
)) {
35364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35366 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35368 if (!SWIG_IsOK(res2
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35374 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= result
;
35388 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
= 0;
35390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35391 wxTreeItemId
*arg2
= 0 ;
35392 void *arg3
= (void *) 0 ;
35393 PyObject
*result
= 0 ;
35399 PyObject
* obj0
= 0 ;
35400 PyObject
* obj1
= 0 ;
35401 PyObject
* obj2
= 0 ;
35402 char * kwnames
[] = {
35403 (char *) "self",(char *) "item",(char *) "cookie", NULL
35406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35408 if (!SWIG_IsOK(res1
)) {
35409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35411 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35413 if (!SWIG_IsOK(res2
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35419 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35420 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35421 if (!SWIG_IsOK(res3
)) {
35422 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35427 wxPyEndAllowThreads(__tstate
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35430 resultobj
= result
;
35437 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35438 PyObject
*resultobj
= 0;
35439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35440 wxTreeItemId
*arg2
= 0 ;
35441 wxTreeItemId result
;
35446 PyObject
* obj0
= 0 ;
35447 PyObject
* obj1
= 0 ;
35448 char * kwnames
[] = {
35449 (char *) "self",(char *) "item", NULL
35452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35454 if (!SWIG_IsOK(res1
)) {
35455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35457 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35459 if (!SWIG_IsOK(res2
)) {
35460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35465 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35468 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35469 wxPyEndAllowThreads(__tstate
);
35470 if (PyErr_Occurred()) SWIG_fail
;
35472 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35479 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35480 PyObject
*resultobj
= 0;
35481 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35482 wxTreeItemId
*arg2
= 0 ;
35483 wxTreeItemId result
;
35488 PyObject
* obj0
= 0 ;
35489 PyObject
* obj1
= 0 ;
35490 char * kwnames
[] = {
35491 (char *) "self",(char *) "item", NULL
35494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35496 if (!SWIG_IsOK(res1
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35499 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35501 if (!SWIG_IsOK(res2
)) {
35502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35507 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35510 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35511 wxPyEndAllowThreads(__tstate
);
35512 if (PyErr_Occurred()) SWIG_fail
;
35514 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35521 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= 0;
35523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35524 wxTreeItemId
*arg2
= 0 ;
35525 wxTreeItemId result
;
35530 PyObject
* obj0
= 0 ;
35531 PyObject
* obj1
= 0 ;
35532 char * kwnames
[] = {
35533 (char *) "self",(char *) "item", NULL
35536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35538 if (!SWIG_IsOK(res1
)) {
35539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35541 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35543 if (!SWIG_IsOK(res2
)) {
35544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35549 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35553 wxPyEndAllowThreads(__tstate
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35556 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35563 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35564 PyObject
*resultobj
= 0;
35565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35566 wxTreeItemId result
;
35569 PyObject
*swig_obj
[1] ;
35571 if (!args
) SWIG_fail
;
35572 swig_obj
[0] = args
;
35573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35574 if (!SWIG_IsOK(res1
)) {
35575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35577 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35580 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35581 wxPyEndAllowThreads(__tstate
);
35582 if (PyErr_Occurred()) SWIG_fail
;
35584 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35591 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35592 PyObject
*resultobj
= 0;
35593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35594 wxTreeItemId
*arg2
= 0 ;
35595 wxTreeItemId result
;
35600 PyObject
* obj0
= 0 ;
35601 PyObject
* obj1
= 0 ;
35602 char * kwnames
[] = {
35603 (char *) "self",(char *) "item", NULL
35606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35608 if (!SWIG_IsOK(res1
)) {
35609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35611 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35613 if (!SWIG_IsOK(res2
)) {
35614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35619 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35622 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35623 wxPyEndAllowThreads(__tstate
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35626 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35633 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35634 PyObject
*resultobj
= 0;
35635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35636 wxTreeItemId
*arg2
= 0 ;
35637 wxTreeItemId result
;
35642 PyObject
* obj0
= 0 ;
35643 PyObject
* obj1
= 0 ;
35644 char * kwnames
[] = {
35645 (char *) "self",(char *) "item", NULL
35648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35650 if (!SWIG_IsOK(res1
)) {
35651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35653 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35655 if (!SWIG_IsOK(res2
)) {
35656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35661 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35664 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35665 wxPyEndAllowThreads(__tstate
);
35666 if (PyErr_Occurred()) SWIG_fail
;
35668 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35675 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
= 0;
35677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35678 wxString
*arg2
= 0 ;
35679 int arg3
= (int) -1 ;
35680 int arg4
= (int) -1 ;
35681 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35682 wxTreeItemId result
;
35685 bool temp2
= false ;
35691 PyObject
* obj0
= 0 ;
35692 PyObject
* obj1
= 0 ;
35693 PyObject
* obj2
= 0 ;
35694 PyObject
* obj3
= 0 ;
35695 PyObject
* obj4
= 0 ;
35696 char * kwnames
[] = {
35697 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35702 if (!SWIG_IsOK(res1
)) {
35703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35705 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35707 arg2
= wxString_in_helper(obj1
);
35708 if (arg2
== NULL
) SWIG_fail
;
35712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35713 if (!SWIG_IsOK(ecode3
)) {
35714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35716 arg3
= static_cast< int >(val3
);
35719 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35720 if (!SWIG_IsOK(ecode4
)) {
35721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35723 arg4
= static_cast< int >(val4
);
35726 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35727 if (!SWIG_IsOK(res5
)) {
35728 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35733 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35734 wxPyEndAllowThreads(__tstate
);
35735 if (PyErr_Occurred()) SWIG_fail
;
35737 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35752 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35753 PyObject
*resultobj
= 0;
35754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35755 wxTreeItemId
*arg2
= 0 ;
35756 wxString
*arg3
= 0 ;
35757 int arg4
= (int) -1 ;
35758 int arg5
= (int) -1 ;
35759 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35760 wxTreeItemId result
;
35765 bool temp3
= false ;
35771 PyObject
* obj0
= 0 ;
35772 PyObject
* obj1
= 0 ;
35773 PyObject
* obj2
= 0 ;
35774 PyObject
* obj3
= 0 ;
35775 PyObject
* obj4
= 0 ;
35776 PyObject
* obj5
= 0 ;
35777 char * kwnames
[] = {
35778 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35783 if (!SWIG_IsOK(res1
)) {
35784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35786 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35787 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35788 if (!SWIG_IsOK(res2
)) {
35789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35794 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35796 arg3
= wxString_in_helper(obj2
);
35797 if (arg3
== NULL
) SWIG_fail
;
35801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35802 if (!SWIG_IsOK(ecode4
)) {
35803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35805 arg4
= static_cast< int >(val4
);
35808 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35809 if (!SWIG_IsOK(ecode5
)) {
35810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35812 arg5
= static_cast< int >(val5
);
35815 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35816 if (!SWIG_IsOK(res6
)) {
35817 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35822 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35823 wxPyEndAllowThreads(__tstate
);
35824 if (PyErr_Occurred()) SWIG_fail
;
35826 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35841 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35842 PyObject
*resultobj
= 0;
35843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35844 wxTreeItemId
*arg2
= 0 ;
35845 wxTreeItemId
*arg3
= 0 ;
35846 wxString
*arg4
= 0 ;
35847 int arg5
= (int) -1 ;
35848 int arg6
= (int) -1 ;
35849 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35850 wxTreeItemId result
;
35857 bool temp4
= false ;
35863 PyObject
* obj0
= 0 ;
35864 PyObject
* obj1
= 0 ;
35865 PyObject
* obj2
= 0 ;
35866 PyObject
* obj3
= 0 ;
35867 PyObject
* obj4
= 0 ;
35868 PyObject
* obj5
= 0 ;
35869 PyObject
* obj6
= 0 ;
35870 char * kwnames
[] = {
35871 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35876 if (!SWIG_IsOK(res1
)) {
35877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35881 if (!SWIG_IsOK(res2
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35887 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35888 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35889 if (!SWIG_IsOK(res3
)) {
35890 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35895 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35897 arg4
= wxString_in_helper(obj3
);
35898 if (arg4
== NULL
) SWIG_fail
;
35902 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35903 if (!SWIG_IsOK(ecode5
)) {
35904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35906 arg5
= static_cast< int >(val5
);
35909 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35910 if (!SWIG_IsOK(ecode6
)) {
35911 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35913 arg6
= static_cast< int >(val6
);
35916 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35917 if (!SWIG_IsOK(res7
)) {
35918 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35942 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35943 PyObject
*resultobj
= 0;
35944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35945 wxTreeItemId
*arg2
= 0 ;
35947 wxString
*arg4
= 0 ;
35948 int arg5
= (int) -1 ;
35949 int arg6
= (int) -1 ;
35950 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35951 wxTreeItemId result
;
35958 bool temp4
= false ;
35964 PyObject
* obj0
= 0 ;
35965 PyObject
* obj1
= 0 ;
35966 PyObject
* obj2
= 0 ;
35967 PyObject
* obj3
= 0 ;
35968 PyObject
* obj4
= 0 ;
35969 PyObject
* obj5
= 0 ;
35970 PyObject
* obj6
= 0 ;
35971 char * kwnames
[] = {
35972 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35977 if (!SWIG_IsOK(res1
)) {
35978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35980 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35982 if (!SWIG_IsOK(res2
)) {
35983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35988 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35989 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35990 if (!SWIG_IsOK(ecode3
)) {
35991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35993 arg3
= static_cast< size_t >(val3
);
35995 arg4
= wxString_in_helper(obj3
);
35996 if (arg4
== NULL
) SWIG_fail
;
36000 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36001 if (!SWIG_IsOK(ecode5
)) {
36002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36004 arg5
= static_cast< int >(val5
);
36007 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36008 if (!SWIG_IsOK(ecode6
)) {
36009 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36011 arg6
= static_cast< int >(val6
);
36014 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36015 if (!SWIG_IsOK(res7
)) {
36016 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36021 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36022 wxPyEndAllowThreads(__tstate
);
36023 if (PyErr_Occurred()) SWIG_fail
;
36025 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36040 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36041 PyObject
*resultobj
= 0;
36042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36043 wxTreeItemId
*arg2
= 0 ;
36044 wxString
*arg3
= 0 ;
36045 int arg4
= (int) -1 ;
36046 int arg5
= (int) -1 ;
36047 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36048 wxTreeItemId result
;
36053 bool temp3
= false ;
36059 PyObject
* obj0
= 0 ;
36060 PyObject
* obj1
= 0 ;
36061 PyObject
* obj2
= 0 ;
36062 PyObject
* obj3
= 0 ;
36063 PyObject
* obj4
= 0 ;
36064 PyObject
* obj5
= 0 ;
36065 char * kwnames
[] = {
36066 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36071 if (!SWIG_IsOK(res1
)) {
36072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36074 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36076 if (!SWIG_IsOK(res2
)) {
36077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36082 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36084 arg3
= wxString_in_helper(obj2
);
36085 if (arg3
== NULL
) SWIG_fail
;
36089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36090 if (!SWIG_IsOK(ecode4
)) {
36091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36093 arg4
= static_cast< int >(val4
);
36096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36097 if (!SWIG_IsOK(ecode5
)) {
36098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36100 arg5
= static_cast< int >(val5
);
36103 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36104 if (!SWIG_IsOK(res6
)) {
36105 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36114 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36129 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36130 PyObject
*resultobj
= 0;
36131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36132 wxTreeItemId
*arg2
= 0 ;
36137 PyObject
* obj0
= 0 ;
36138 PyObject
* obj1
= 0 ;
36139 char * kwnames
[] = {
36140 (char *) "self",(char *) "item", NULL
36143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36145 if (!SWIG_IsOK(res1
)) {
36146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36150 if (!SWIG_IsOK(res2
)) {
36151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36163 resultobj
= SWIG_Py_Void();
36170 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36171 PyObject
*resultobj
= 0;
36172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36173 wxTreeItemId
*arg2
= 0 ;
36178 PyObject
* obj0
= 0 ;
36179 PyObject
* obj1
= 0 ;
36180 char * kwnames
[] = {
36181 (char *) "self",(char *) "item", NULL
36184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36186 if (!SWIG_IsOK(res1
)) {
36187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36189 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36191 if (!SWIG_IsOK(res2
)) {
36192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36197 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36200 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36201 wxPyEndAllowThreads(__tstate
);
36202 if (PyErr_Occurred()) SWIG_fail
;
36204 resultobj
= SWIG_Py_Void();
36211 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36212 PyObject
*resultobj
= 0;
36213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36216 PyObject
*swig_obj
[1] ;
36218 if (!args
) SWIG_fail
;
36219 swig_obj
[0] = args
;
36220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36221 if (!SWIG_IsOK(res1
)) {
36222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36224 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36227 (arg1
)->DeleteAllItems();
36228 wxPyEndAllowThreads(__tstate
);
36229 if (PyErr_Occurred()) SWIG_fail
;
36231 resultobj
= SWIG_Py_Void();
36238 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36239 PyObject
*resultobj
= 0;
36240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36241 wxTreeItemId
*arg2
= 0 ;
36246 PyObject
* obj0
= 0 ;
36247 PyObject
* obj1
= 0 ;
36248 char * kwnames
[] = {
36249 (char *) "self",(char *) "item", NULL
36252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36254 if (!SWIG_IsOK(res1
)) {
36255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36257 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36259 if (!SWIG_IsOK(res2
)) {
36260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36265 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36268 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36272 resultobj
= SWIG_Py_Void();
36279 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36280 PyObject
*resultobj
= 0;
36281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36282 wxTreeItemId
*arg2
= 0 ;
36287 PyObject
* obj0
= 0 ;
36288 PyObject
* obj1
= 0 ;
36289 char * kwnames
[] = {
36290 (char *) "self",(char *) "item", NULL
36293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36295 if (!SWIG_IsOK(res1
)) {
36296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36298 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36300 if (!SWIG_IsOK(res2
)) {
36301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36306 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36309 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36310 wxPyEndAllowThreads(__tstate
);
36311 if (PyErr_Occurred()) SWIG_fail
;
36313 resultobj
= SWIG_Py_Void();
36320 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36321 PyObject
*resultobj
= 0;
36322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36325 PyObject
*swig_obj
[1] ;
36327 if (!args
) SWIG_fail
;
36328 swig_obj
[0] = args
;
36329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36330 if (!SWIG_IsOK(res1
)) {
36331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36333 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36336 (arg1
)->ExpandAll();
36337 wxPyEndAllowThreads(__tstate
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36340 resultobj
= SWIG_Py_Void();
36347 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36348 PyObject
*resultobj
= 0;
36349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36350 wxTreeItemId
*arg2
= 0 ;
36355 PyObject
* obj0
= 0 ;
36356 PyObject
* obj1
= 0 ;
36357 char * kwnames
[] = {
36358 (char *) "self",(char *) "item", NULL
36361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36363 if (!SWIG_IsOK(res1
)) {
36364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36366 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36368 if (!SWIG_IsOK(res2
)) {
36369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36374 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36377 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36378 wxPyEndAllowThreads(__tstate
);
36379 if (PyErr_Occurred()) SWIG_fail
;
36381 resultobj
= SWIG_Py_Void();
36388 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36389 PyObject
*resultobj
= 0;
36390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36391 wxTreeItemId
*arg2
= 0 ;
36396 PyObject
* obj0
= 0 ;
36397 PyObject
* obj1
= 0 ;
36398 char * kwnames
[] = {
36399 (char *) "self",(char *) "item", NULL
36402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36404 if (!SWIG_IsOK(res1
)) {
36405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36407 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36409 if (!SWIG_IsOK(res2
)) {
36410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36415 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36418 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36419 wxPyEndAllowThreads(__tstate
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36422 resultobj
= SWIG_Py_Void();
36429 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
= 0;
36431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36432 wxTreeItemId
*arg2
= 0 ;
36437 PyObject
* obj0
= 0 ;
36438 PyObject
* obj1
= 0 ;
36439 char * kwnames
[] = {
36440 (char *) "self",(char *) "item", NULL
36443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36445 if (!SWIG_IsOK(res1
)) {
36446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36448 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36450 if (!SWIG_IsOK(res2
)) {
36451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36456 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36459 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36460 wxPyEndAllowThreads(__tstate
);
36461 if (PyErr_Occurred()) SWIG_fail
;
36463 resultobj
= SWIG_Py_Void();
36470 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36471 PyObject
*resultobj
= 0;
36472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36475 PyObject
*swig_obj
[1] ;
36477 if (!args
) SWIG_fail
;
36478 swig_obj
[0] = args
;
36479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36480 if (!SWIG_IsOK(res1
)) {
36481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36483 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36486 (arg1
)->Unselect();
36487 wxPyEndAllowThreads(__tstate
);
36488 if (PyErr_Occurred()) SWIG_fail
;
36490 resultobj
= SWIG_Py_Void();
36497 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36498 PyObject
*resultobj
= 0;
36499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36500 wxTreeItemId
*arg2
= 0 ;
36505 PyObject
* obj0
= 0 ;
36506 PyObject
* obj1
= 0 ;
36507 char * kwnames
[] = {
36508 (char *) "self",(char *) "item", NULL
36511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36513 if (!SWIG_IsOK(res1
)) {
36514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36518 if (!SWIG_IsOK(res2
)) {
36519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36527 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_Py_Void();
36538 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36539 PyObject
*resultobj
= 0;
36540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36543 PyObject
*swig_obj
[1] ;
36545 if (!args
) SWIG_fail
;
36546 swig_obj
[0] = args
;
36547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36548 if (!SWIG_IsOK(res1
)) {
36549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36551 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36554 (arg1
)->UnselectAll();
36555 wxPyEndAllowThreads(__tstate
);
36556 if (PyErr_Occurred()) SWIG_fail
;
36558 resultobj
= SWIG_Py_Void();
36565 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
= 0;
36567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36568 wxTreeItemId
*arg2
= 0 ;
36569 bool arg3
= (bool) true ;
36576 PyObject
* obj0
= 0 ;
36577 PyObject
* obj1
= 0 ;
36578 PyObject
* obj2
= 0 ;
36579 char * kwnames
[] = {
36580 (char *) "self",(char *) "item",(char *) "select", NULL
36583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36585 if (!SWIG_IsOK(res1
)) {
36586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36588 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36590 if (!SWIG_IsOK(res2
)) {
36591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36596 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36598 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36599 if (!SWIG_IsOK(ecode3
)) {
36600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36602 arg3
= static_cast< bool >(val3
);
36605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36606 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36607 wxPyEndAllowThreads(__tstate
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36610 resultobj
= SWIG_Py_Void();
36617 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36618 PyObject
*resultobj
= 0;
36619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36620 wxTreeItemId
*arg2
= 0 ;
36625 PyObject
* obj0
= 0 ;
36626 PyObject
* obj1
= 0 ;
36627 char * kwnames
[] = {
36628 (char *) "self",(char *) "item", NULL
36631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36633 if (!SWIG_IsOK(res1
)) {
36634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36636 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36638 if (!SWIG_IsOK(res2
)) {
36639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36644 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 resultobj
= SWIG_Py_Void();
36658 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36659 PyObject
*resultobj
= 0;
36660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36661 wxTreeItemId
*arg2
= 0 ;
36666 PyObject
* obj0
= 0 ;
36667 PyObject
* obj1
= 0 ;
36668 char * kwnames
[] = {
36669 (char *) "self",(char *) "item", NULL
36672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36674 if (!SWIG_IsOK(res1
)) {
36675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36677 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36679 if (!SWIG_IsOK(res2
)) {
36680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36685 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36688 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36689 wxPyEndAllowThreads(__tstate
);
36690 if (PyErr_Occurred()) SWIG_fail
;
36692 resultobj
= SWIG_Py_Void();
36699 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36700 PyObject
*resultobj
= 0;
36701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36702 wxTreeItemId
*arg2
= 0 ;
36707 PyObject
* obj0
= 0 ;
36708 PyObject
* obj1
= 0 ;
36709 char * kwnames
[] = {
36710 (char *) "self",(char *) "item", NULL
36713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36715 if (!SWIG_IsOK(res1
)) {
36716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36718 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36720 if (!SWIG_IsOK(res2
)) {
36721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36726 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36729 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36730 wxPyEndAllowThreads(__tstate
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36733 resultobj
= SWIG_Py_Void();
36740 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36741 PyObject
*resultobj
= 0;
36742 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36743 wxTreeItemId
*arg2
= 0 ;
36748 PyObject
* obj0
= 0 ;
36749 PyObject
* obj1
= 0 ;
36750 char * kwnames
[] = {
36751 (char *) "self",(char *) "item", NULL
36754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36756 if (!SWIG_IsOK(res1
)) {
36757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36759 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36761 if (!SWIG_IsOK(res2
)) {
36762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36767 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36770 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36771 wxPyEndAllowThreads(__tstate
);
36772 if (PyErr_Occurred()) SWIG_fail
;
36774 resultobj
= SWIG_Py_Void();
36781 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36782 PyObject
*resultobj
= 0;
36783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36784 wxTextCtrl
*result
= 0 ;
36787 PyObject
*swig_obj
[1] ;
36789 if (!args
) SWIG_fail
;
36790 swig_obj
[0] = args
;
36791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36792 if (!SWIG_IsOK(res1
)) {
36793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36795 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36798 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36803 resultobj
= wxPyMake_wxObject(result
, 0);
36811 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36812 PyObject
*resultobj
= 0;
36813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36814 wxTreeItemId
*arg2
= 0 ;
36819 PyObject
* obj0
= 0 ;
36820 PyObject
* obj1
= 0 ;
36821 char * kwnames
[] = {
36822 (char *) "self",(char *) "item", NULL
36825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36827 if (!SWIG_IsOK(res1
)) {
36828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36830 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36832 if (!SWIG_IsOK(res2
)) {
36833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36838 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= SWIG_Py_Void();
36852 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
= 0;
36854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36855 wxPoint
*arg2
= 0 ;
36857 wxTreeItemId result
;
36862 int res3
= SWIG_TMPOBJ
;
36863 PyObject
* obj0
= 0 ;
36864 PyObject
* obj1
= 0 ;
36865 char * kwnames
[] = {
36866 (char *) "self",(char *) "point", NULL
36870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36872 if (!SWIG_IsOK(res1
)) {
36873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36875 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36882 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36883 wxPyEndAllowThreads(__tstate
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36886 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36887 if (SWIG_IsTmpObj(res3
)) {
36888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36890 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36899 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
= 0;
36901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36902 wxTreeItemId
*arg2
= 0 ;
36903 bool arg3
= (bool) false ;
36904 PyObject
*result
= 0 ;
36911 PyObject
* obj0
= 0 ;
36912 PyObject
* obj1
= 0 ;
36913 PyObject
* obj2
= 0 ;
36914 char * kwnames
[] = {
36915 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36920 if (!SWIG_IsOK(res1
)) {
36921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36923 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36925 if (!SWIG_IsOK(res2
)) {
36926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36931 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36933 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36934 if (!SWIG_IsOK(ecode3
)) {
36935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36937 arg3
= static_cast< bool >(val3
);
36940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36941 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36942 wxPyEndAllowThreads(__tstate
);
36943 if (PyErr_Occurred()) SWIG_fail
;
36945 resultobj
= result
;
36952 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36953 PyObject
*resultobj
= 0;
36954 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36955 SwigValueWrapper
<wxVisualAttributes
> result
;
36958 PyObject
* obj0
= 0 ;
36959 char * kwnames
[] = {
36960 (char *) "variant", NULL
36963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36966 if (!SWIG_IsOK(ecode1
)) {
36967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36969 arg1
= static_cast< wxWindowVariant
>(val1
);
36972 if (!wxPyCheckForApp()) SWIG_fail
;
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36985 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
= 0;
36987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36993 PyObject
* obj0
= 0 ;
36994 PyObject
* obj1
= 0 ;
36995 char * kwnames
[] = {
36996 (char *) "self",(char *) "q", NULL
36999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37001 if (!SWIG_IsOK(res1
)) {
37002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37004 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37005 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37006 if (!SWIG_IsOK(ecode2
)) {
37007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37009 arg2
= static_cast< bool >(val2
);
37011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37012 (arg1
)->SetQuickBestSize(arg2
);
37013 wxPyEndAllowThreads(__tstate
);
37014 if (PyErr_Occurred()) SWIG_fail
;
37016 resultobj
= SWIG_Py_Void();
37023 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37024 PyObject
*resultobj
= 0;
37025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37029 PyObject
*swig_obj
[1] ;
37031 if (!args
) SWIG_fail
;
37032 swig_obj
[0] = args
;
37033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37034 if (!SWIG_IsOK(res1
)) {
37035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37037 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37040 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37053 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37056 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37057 return SWIG_Py_Void();
37060 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37061 return SWIG_Python_InitShadowInstance(args
);
37064 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37065 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37070 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37071 PyObject
*pyobj
= 0;
37075 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37077 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37084 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37085 PyObject
*resultobj
= 0;
37086 wxWindow
*arg1
= (wxWindow
*) 0 ;
37087 int arg2
= (int) (int)-1 ;
37088 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37089 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37094 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37095 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37097 int arg8
= (int) 0 ;
37098 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37099 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37100 wxGenericDirCtrl
*result
= 0 ;
37105 bool temp3
= false ;
37110 bool temp7
= false ;
37113 bool temp9
= false ;
37114 PyObject
* obj0
= 0 ;
37115 PyObject
* obj1
= 0 ;
37116 PyObject
* obj2
= 0 ;
37117 PyObject
* obj3
= 0 ;
37118 PyObject
* obj4
= 0 ;
37119 PyObject
* obj5
= 0 ;
37120 PyObject
* obj6
= 0 ;
37121 PyObject
* obj7
= 0 ;
37122 PyObject
* obj8
= 0 ;
37123 char * kwnames
[] = {
37124 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37129 if (!SWIG_IsOK(res1
)) {
37130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37135 if (!SWIG_IsOK(ecode2
)) {
37136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37138 arg2
= static_cast< int >(val2
);
37142 arg3
= wxString_in_helper(obj2
);
37143 if (arg3
== NULL
) SWIG_fail
;
37150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37160 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37161 if (!SWIG_IsOK(ecode6
)) {
37162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37164 arg6
= static_cast< long >(val6
);
37168 arg7
= wxString_in_helper(obj6
);
37169 if (arg7
== NULL
) SWIG_fail
;
37174 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37175 if (!SWIG_IsOK(ecode8
)) {
37176 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37178 arg8
= static_cast< int >(val8
);
37182 arg9
= wxString_in_helper(obj8
);
37183 if (arg9
== NULL
) SWIG_fail
;
37188 if (!wxPyCheckForApp()) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37191 wxPyEndAllowThreads(__tstate
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37225 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37226 PyObject
*resultobj
= 0;
37227 wxGenericDirCtrl
*result
= 0 ;
37229 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37231 if (!wxPyCheckForApp()) SWIG_fail
;
37232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37233 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37234 wxPyEndAllowThreads(__tstate
);
37235 if (PyErr_Occurred()) SWIG_fail
;
37237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37244 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37245 PyObject
*resultobj
= 0;
37246 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37247 wxWindow
*arg2
= (wxWindow
*) 0 ;
37248 int arg3
= (int) (int)-1 ;
37249 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37250 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37251 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37252 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37253 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37254 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37255 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37256 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37257 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37258 int arg9
= (int) 0 ;
37259 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37260 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37268 bool temp4
= false ;
37273 bool temp8
= false ;
37276 bool temp10
= false ;
37277 PyObject
* obj0
= 0 ;
37278 PyObject
* obj1
= 0 ;
37279 PyObject
* obj2
= 0 ;
37280 PyObject
* obj3
= 0 ;
37281 PyObject
* obj4
= 0 ;
37282 PyObject
* obj5
= 0 ;
37283 PyObject
* obj6
= 0 ;
37284 PyObject
* obj7
= 0 ;
37285 PyObject
* obj8
= 0 ;
37286 PyObject
* obj9
= 0 ;
37287 char * kwnames
[] = {
37288 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37293 if (!SWIG_IsOK(res1
)) {
37294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37296 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37298 if (!SWIG_IsOK(res2
)) {
37299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37304 if (!SWIG_IsOK(ecode3
)) {
37305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37307 arg3
= static_cast< int >(val3
);
37311 arg4
= wxString_in_helper(obj3
);
37312 if (arg4
== NULL
) SWIG_fail
;
37319 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37325 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37329 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37330 if (!SWIG_IsOK(ecode7
)) {
37331 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37333 arg7
= static_cast< long >(val7
);
37337 arg8
= wxString_in_helper(obj7
);
37338 if (arg8
== NULL
) SWIG_fail
;
37343 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37344 if (!SWIG_IsOK(ecode9
)) {
37345 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37347 arg9
= static_cast< int >(val9
);
37351 arg10
= wxString_in_helper(obj9
);
37352 if (arg10
== NULL
) SWIG_fail
;
37357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37358 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37359 wxPyEndAllowThreads(__tstate
);
37360 if (PyErr_Occurred()) SWIG_fail
;
37363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37395 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37396 PyObject
*resultobj
= 0;
37397 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37398 wxString
*arg2
= 0 ;
37402 bool temp2
= false ;
37403 PyObject
* obj0
= 0 ;
37404 PyObject
* obj1
= 0 ;
37405 char * kwnames
[] = {
37406 (char *) "self",(char *) "path", NULL
37409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37411 if (!SWIG_IsOK(res1
)) {
37412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37414 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37416 arg2
= wxString_in_helper(obj1
);
37417 if (arg2
== NULL
) SWIG_fail
;
37421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37422 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37423 wxPyEndAllowThreads(__tstate
);
37424 if (PyErr_Occurred()) SWIG_fail
;
37427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37443 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37444 PyObject
*resultobj
= 0;
37445 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37446 wxString
*arg2
= 0 ;
37450 bool temp2
= false ;
37451 PyObject
* obj0
= 0 ;
37452 PyObject
* obj1
= 0 ;
37453 char * kwnames
[] = {
37454 (char *) "self",(char *) "path", NULL
37457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37459 if (!SWIG_IsOK(res1
)) {
37460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37462 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37464 arg2
= wxString_in_helper(obj1
);
37465 if (arg2
== NULL
) SWIG_fail
;
37469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37470 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37471 wxPyEndAllowThreads(__tstate
);
37472 if (PyErr_Occurred()) SWIG_fail
;
37475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37491 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37492 PyObject
*resultobj
= 0;
37493 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37497 PyObject
*swig_obj
[1] ;
37499 if (!args
) SWIG_fail
;
37500 swig_obj
[0] = args
;
37501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37502 if (!SWIG_IsOK(res1
)) {
37503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37505 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37508 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37509 wxPyEndAllowThreads(__tstate
);
37510 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37525 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37526 PyObject
*resultobj
= 0;
37527 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37528 wxString
*arg2
= 0 ;
37531 bool temp2
= false ;
37532 PyObject
* obj0
= 0 ;
37533 PyObject
* obj1
= 0 ;
37534 char * kwnames
[] = {
37535 (char *) "self",(char *) "path", NULL
37538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37540 if (!SWIG_IsOK(res1
)) {
37541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37543 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37545 arg2
= wxString_in_helper(obj1
);
37546 if (arg2
== NULL
) SWIG_fail
;
37550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37551 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37552 wxPyEndAllowThreads(__tstate
);
37553 if (PyErr_Occurred()) SWIG_fail
;
37555 resultobj
= SWIG_Py_Void();
37570 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37571 PyObject
*resultobj
= 0;
37572 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37576 PyObject
*swig_obj
[1] ;
37578 if (!args
) SWIG_fail
;
37579 swig_obj
[0] = args
;
37580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37581 if (!SWIG_IsOK(res1
)) {
37582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37584 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37587 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37588 wxPyEndAllowThreads(__tstate
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37604 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37605 PyObject
*resultobj
= 0;
37606 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37610 PyObject
*swig_obj
[1] ;
37612 if (!args
) SWIG_fail
;
37613 swig_obj
[0] = args
;
37614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37615 if (!SWIG_IsOK(res1
)) {
37616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37618 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37621 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37622 wxPyEndAllowThreads(__tstate
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37638 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
= 0;
37640 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37641 wxString
*arg2
= 0 ;
37644 bool temp2
= false ;
37645 PyObject
* obj0
= 0 ;
37646 PyObject
* obj1
= 0 ;
37647 char * kwnames
[] = {
37648 (char *) "self",(char *) "path", NULL
37651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37653 if (!SWIG_IsOK(res1
)) {
37654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37656 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37658 arg2
= wxString_in_helper(obj1
);
37659 if (arg2
== NULL
) SWIG_fail
;
37663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37664 (arg1
)->SetPath((wxString
const &)*arg2
);
37665 wxPyEndAllowThreads(__tstate
);
37666 if (PyErr_Occurred()) SWIG_fail
;
37668 resultobj
= SWIG_Py_Void();
37683 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37684 PyObject
*resultobj
= 0;
37685 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37691 PyObject
* obj0
= 0 ;
37692 PyObject
* obj1
= 0 ;
37693 char * kwnames
[] = {
37694 (char *) "self",(char *) "show", NULL
37697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37699 if (!SWIG_IsOK(res1
)) {
37700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37702 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37703 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37704 if (!SWIG_IsOK(ecode2
)) {
37705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37707 arg2
= static_cast< bool >(val2
);
37709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37710 (arg1
)->ShowHidden(arg2
);
37711 wxPyEndAllowThreads(__tstate
);
37712 if (PyErr_Occurred()) SWIG_fail
;
37714 resultobj
= SWIG_Py_Void();
37721 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37722 PyObject
*resultobj
= 0;
37723 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37727 PyObject
*swig_obj
[1] ;
37729 if (!args
) SWIG_fail
;
37730 swig_obj
[0] = args
;
37731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37732 if (!SWIG_IsOK(res1
)) {
37733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37735 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37738 result
= (bool)(arg1
)->GetShowHidden();
37739 wxPyEndAllowThreads(__tstate
);
37740 if (PyErr_Occurred()) SWIG_fail
;
37743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37751 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37752 PyObject
*resultobj
= 0;
37753 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37757 PyObject
*swig_obj
[1] ;
37759 if (!args
) SWIG_fail
;
37760 swig_obj
[0] = args
;
37761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37762 if (!SWIG_IsOK(res1
)) {
37763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37765 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37768 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37769 wxPyEndAllowThreads(__tstate
);
37770 if (PyErr_Occurred()) SWIG_fail
;
37774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37785 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37786 PyObject
*resultobj
= 0;
37787 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37788 wxString
*arg2
= 0 ;
37791 bool temp2
= false ;
37792 PyObject
* obj0
= 0 ;
37793 PyObject
* obj1
= 0 ;
37794 char * kwnames
[] = {
37795 (char *) "self",(char *) "filter", NULL
37798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37800 if (!SWIG_IsOK(res1
)) {
37801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37803 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37805 arg2
= wxString_in_helper(obj1
);
37806 if (arg2
== NULL
) SWIG_fail
;
37810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37811 (arg1
)->SetFilter((wxString
const &)*arg2
);
37812 wxPyEndAllowThreads(__tstate
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37815 resultobj
= SWIG_Py_Void();
37830 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37831 PyObject
*resultobj
= 0;
37832 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37836 PyObject
*swig_obj
[1] ;
37838 if (!args
) SWIG_fail
;
37839 swig_obj
[0] = args
;
37840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37841 if (!SWIG_IsOK(res1
)) {
37842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37844 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37847 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37848 wxPyEndAllowThreads(__tstate
);
37849 if (PyErr_Occurred()) SWIG_fail
;
37851 resultobj
= SWIG_From_int(static_cast< int >(result
));
37858 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37859 PyObject
*resultobj
= 0;
37860 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37866 PyObject
* obj0
= 0 ;
37867 PyObject
* obj1
= 0 ;
37868 char * kwnames
[] = {
37869 (char *) "self",(char *) "n", NULL
37872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37874 if (!SWIG_IsOK(res1
)) {
37875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37877 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37879 if (!SWIG_IsOK(ecode2
)) {
37880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37882 arg2
= static_cast< int >(val2
);
37884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37885 (arg1
)->SetFilterIndex(arg2
);
37886 wxPyEndAllowThreads(__tstate
);
37887 if (PyErr_Occurred()) SWIG_fail
;
37889 resultobj
= SWIG_Py_Void();
37896 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37897 PyObject
*resultobj
= 0;
37898 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37899 wxTreeItemId result
;
37902 PyObject
*swig_obj
[1] ;
37904 if (!args
) SWIG_fail
;
37905 swig_obj
[0] = args
;
37906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37907 if (!SWIG_IsOK(res1
)) {
37908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37910 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37913 result
= (arg1
)->GetRootId();
37914 wxPyEndAllowThreads(__tstate
);
37915 if (PyErr_Occurred()) SWIG_fail
;
37917 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37924 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37925 PyObject
*resultobj
= 0;
37926 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37927 wxPyTreeCtrl
*result
= 0 ;
37930 PyObject
*swig_obj
[1] ;
37932 if (!args
) SWIG_fail
;
37933 swig_obj
[0] = args
;
37934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37935 if (!SWIG_IsOK(res1
)) {
37936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37938 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37941 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37942 wxPyEndAllowThreads(__tstate
);
37943 if (PyErr_Occurred()) SWIG_fail
;
37946 resultobj
= wxPyMake_wxObject(result
, 0);
37954 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37955 PyObject
*resultobj
= 0;
37956 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37957 wxDirFilterListCtrl
*result
= 0 ;
37960 PyObject
*swig_obj
[1] ;
37962 if (!args
) SWIG_fail
;
37963 swig_obj
[0] = args
;
37964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37965 if (!SWIG_IsOK(res1
)) {
37966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37968 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37971 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37972 wxPyEndAllowThreads(__tstate
);
37973 if (PyErr_Occurred()) SWIG_fail
;
37975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37982 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37983 PyObject
*resultobj
= 0;
37984 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37985 wxTreeItemId arg2
;
37986 wxString
*arg3
= 0 ;
37988 wxTreeItemId result
;
37993 bool temp3
= false ;
37995 int res4
= SWIG_TMPOBJ
;
37996 PyObject
* obj0
= 0 ;
37997 PyObject
* obj1
= 0 ;
37998 PyObject
* obj2
= 0 ;
37999 char * kwnames
[] = {
38000 (char *) "self",(char *) "parentId",(char *) "path", NULL
38004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38006 if (!SWIG_IsOK(res1
)) {
38007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38009 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38012 if (!SWIG_IsOK(res2
)) {
38013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38018 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38020 if (SWIG_IsNewObj(res2
)) delete temp
;
38024 arg3
= wxString_in_helper(obj2
);
38025 if (arg3
== NULL
) SWIG_fail
;
38029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38030 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38034 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38035 if (SWIG_IsTmpObj(res4
)) {
38036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38038 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38055 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38056 PyObject
*resultobj
= 0;
38057 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38060 PyObject
*swig_obj
[1] ;
38062 if (!args
) SWIG_fail
;
38063 swig_obj
[0] = args
;
38064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38065 if (!SWIG_IsOK(res1
)) {
38066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38068 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38071 (arg1
)->DoResize();
38072 wxPyEndAllowThreads(__tstate
);
38073 if (PyErr_Occurred()) SWIG_fail
;
38075 resultobj
= SWIG_Py_Void();
38082 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38083 PyObject
*resultobj
= 0;
38084 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38087 PyObject
*swig_obj
[1] ;
38089 if (!args
) SWIG_fail
;
38090 swig_obj
[0] = args
;
38091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38092 if (!SWIG_IsOK(res1
)) {
38093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38095 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38098 (arg1
)->ReCreateTree();
38099 wxPyEndAllowThreads(__tstate
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38102 resultobj
= SWIG_Py_Void();
38109 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38112 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38113 return SWIG_Py_Void();
38116 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38117 return SWIG_Python_InitShadowInstance(args
);
38120 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38121 PyObject
*resultobj
= 0;
38122 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38123 int arg2
= (int) (int)-1 ;
38124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38128 long arg5
= (long) 0 ;
38129 wxDirFilterListCtrl
*result
= 0 ;
38138 PyObject
* obj0
= 0 ;
38139 PyObject
* obj1
= 0 ;
38140 PyObject
* obj2
= 0 ;
38141 PyObject
* obj3
= 0 ;
38142 PyObject
* obj4
= 0 ;
38143 char * kwnames
[] = {
38144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38149 if (!SWIG_IsOK(res1
)) {
38150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38152 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38155 if (!SWIG_IsOK(ecode2
)) {
38156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38158 arg2
= static_cast< int >(val2
);
38163 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38169 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38173 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38174 if (!SWIG_IsOK(ecode5
)) {
38175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38177 arg5
= static_cast< long >(val5
);
38180 if (!wxPyCheckForApp()) SWIG_fail
;
38181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38182 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38183 wxPyEndAllowThreads(__tstate
);
38184 if (PyErr_Occurred()) SWIG_fail
;
38186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38193 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38194 PyObject
*resultobj
= 0;
38195 wxDirFilterListCtrl
*result
= 0 ;
38197 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38199 if (!wxPyCheckForApp()) SWIG_fail
;
38200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38201 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38202 wxPyEndAllowThreads(__tstate
);
38203 if (PyErr_Occurred()) SWIG_fail
;
38205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38212 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38213 PyObject
*resultobj
= 0;
38214 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38215 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38216 int arg3
= (int) (int)-1 ;
38217 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38218 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38219 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38220 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38221 long arg6
= (long) 0 ;
38233 PyObject
* obj0
= 0 ;
38234 PyObject
* obj1
= 0 ;
38235 PyObject
* obj2
= 0 ;
38236 PyObject
* obj3
= 0 ;
38237 PyObject
* obj4
= 0 ;
38238 PyObject
* obj5
= 0 ;
38239 char * kwnames
[] = {
38240 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38245 if (!SWIG_IsOK(res1
)) {
38246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38248 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38250 if (!SWIG_IsOK(res2
)) {
38251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38253 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38256 if (!SWIG_IsOK(ecode3
)) {
38257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38259 arg3
= static_cast< int >(val3
);
38264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38274 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38275 if (!SWIG_IsOK(ecode6
)) {
38276 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38278 arg6
= static_cast< long >(val6
);
38281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38283 wxPyEndAllowThreads(__tstate
);
38284 if (PyErr_Occurred()) SWIG_fail
;
38287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38295 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38296 PyObject
*resultobj
= 0;
38297 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38298 wxString
*arg2
= 0 ;
38302 bool temp2
= false ;
38305 PyObject
* obj0
= 0 ;
38306 PyObject
* obj1
= 0 ;
38307 PyObject
* obj2
= 0 ;
38308 char * kwnames
[] = {
38309 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38314 if (!SWIG_IsOK(res1
)) {
38315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38317 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38319 arg2
= wxString_in_helper(obj1
);
38320 if (arg2
== NULL
) SWIG_fail
;
38323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38324 if (!SWIG_IsOK(ecode3
)) {
38325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38327 arg3
= static_cast< int >(val3
);
38329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38330 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38331 wxPyEndAllowThreads(__tstate
);
38332 if (PyErr_Occurred()) SWIG_fail
;
38334 resultobj
= SWIG_Py_Void();
38349 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38352 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38353 return SWIG_Py_Void();
38356 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38357 return SWIG_Python_InitShadowInstance(args
);
38360 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38361 PyObject
*resultobj
= 0;
38362 wxWindow
*arg1
= (wxWindow
*) 0 ;
38363 int arg2
= (int) (int)-1 ;
38364 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38365 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38366 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38367 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38368 long arg5
= (long) 0 ;
38369 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38370 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38371 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38373 wxPyControl
*result
= 0 ;
38384 bool temp7
= false ;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 PyObject
* obj2
= 0 ;
38388 PyObject
* obj3
= 0 ;
38389 PyObject
* obj4
= 0 ;
38390 PyObject
* obj5
= 0 ;
38391 PyObject
* obj6
= 0 ;
38392 char * kwnames
[] = {
38393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38398 if (!SWIG_IsOK(res1
)) {
38399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38404 if (!SWIG_IsOK(ecode2
)) {
38405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38407 arg2
= static_cast< int >(val2
);
38412 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38418 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38422 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38423 if (!SWIG_IsOK(ecode5
)) {
38424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38426 arg5
= static_cast< long >(val5
);
38429 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38430 if (!SWIG_IsOK(res6
)) {
38431 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38436 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38440 arg7
= wxString_in_helper(obj6
);
38441 if (arg7
== NULL
) SWIG_fail
;
38446 if (!wxPyCheckForApp()) SWIG_fail
;
38447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38448 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38467 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38468 PyObject
*resultobj
= 0;
38469 wxPyControl
*result
= 0 ;
38471 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38473 if (!wxPyCheckForApp()) SWIG_fail
;
38474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38475 result
= (wxPyControl
*)new wxPyControl();
38476 wxPyEndAllowThreads(__tstate
);
38477 if (PyErr_Occurred()) SWIG_fail
;
38479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38486 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38487 PyObject
*resultobj
= 0;
38488 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38489 PyObject
*arg2
= (PyObject
*) 0 ;
38490 PyObject
*arg3
= (PyObject
*) 0 ;
38493 PyObject
* obj0
= 0 ;
38494 PyObject
* obj1
= 0 ;
38495 PyObject
* obj2
= 0 ;
38496 char * kwnames
[] = {
38497 (char *) "self",(char *) "self",(char *) "_class", NULL
38500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38502 if (!SWIG_IsOK(res1
)) {
38503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38505 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38510 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38511 wxPyEndAllowThreads(__tstate
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38514 resultobj
= SWIG_Py_Void();
38521 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38522 PyObject
*resultobj
= 0;
38523 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38528 PyObject
* obj0
= 0 ;
38529 PyObject
* obj1
= 0 ;
38530 char * kwnames
[] = {
38531 (char *) "self",(char *) "size", NULL
38534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38536 if (!SWIG_IsOK(res1
)) {
38537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38539 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38542 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38546 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38547 wxPyEndAllowThreads(__tstate
);
38548 if (PyErr_Occurred()) SWIG_fail
;
38550 resultobj
= SWIG_Py_Void();
38557 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38558 PyObject
*resultobj
= 0;
38559 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38560 wxDC
*arg2
= (wxDC
*) 0 ;
38566 PyObject
* obj0
= 0 ;
38567 PyObject
* obj1
= 0 ;
38568 char * kwnames
[] = {
38569 (char *) "self",(char *) "dc", NULL
38572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38574 if (!SWIG_IsOK(res1
)) {
38575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38577 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38579 if (!SWIG_IsOK(res2
)) {
38580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38582 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38585 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38586 wxPyEndAllowThreads(__tstate
);
38587 if (PyErr_Occurred()) SWIG_fail
;
38590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38598 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38599 PyObject
*resultobj
= 0;
38600 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38615 PyObject
* obj0
= 0 ;
38616 PyObject
* obj1
= 0 ;
38617 PyObject
* obj2
= 0 ;
38618 PyObject
* obj3
= 0 ;
38619 PyObject
* obj4
= 0 ;
38620 char * kwnames
[] = {
38621 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38626 if (!SWIG_IsOK(res1
)) {
38627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38629 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38631 if (!SWIG_IsOK(ecode2
)) {
38632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38634 arg2
= static_cast< int >(val2
);
38635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38636 if (!SWIG_IsOK(ecode3
)) {
38637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38639 arg3
= static_cast< int >(val3
);
38640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38641 if (!SWIG_IsOK(ecode4
)) {
38642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38644 arg4
= static_cast< int >(val4
);
38645 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38646 if (!SWIG_IsOK(ecode5
)) {
38647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38649 arg5
= static_cast< int >(val5
);
38651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38652 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38653 wxPyEndAllowThreads(__tstate
);
38654 if (PyErr_Occurred()) SWIG_fail
;
38656 resultobj
= SWIG_Py_Void();
38663 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38664 PyObject
*resultobj
= 0;
38665 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38670 int arg6
= (int) wxSIZE_AUTO
;
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 char * kwnames
[] = {
38690 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38695 if (!SWIG_IsOK(res1
)) {
38696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38698 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38700 if (!SWIG_IsOK(ecode2
)) {
38701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38703 arg2
= static_cast< int >(val2
);
38704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38705 if (!SWIG_IsOK(ecode3
)) {
38706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38708 arg3
= static_cast< int >(val3
);
38709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38710 if (!SWIG_IsOK(ecode4
)) {
38711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38713 arg4
= static_cast< int >(val4
);
38714 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38715 if (!SWIG_IsOK(ecode5
)) {
38716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38718 arg5
= static_cast< int >(val5
);
38720 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38721 if (!SWIG_IsOK(ecode6
)) {
38722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38724 arg6
= static_cast< int >(val6
);
38727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38728 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38729 wxPyEndAllowThreads(__tstate
);
38730 if (PyErr_Occurred()) SWIG_fail
;
38732 resultobj
= SWIG_Py_Void();
38739 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38740 PyObject
*resultobj
= 0;
38741 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38750 PyObject
* obj0
= 0 ;
38751 PyObject
* obj1
= 0 ;
38752 PyObject
* obj2
= 0 ;
38753 char * kwnames
[] = {
38754 (char *) "self",(char *) "width",(char *) "height", NULL
38757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38759 if (!SWIG_IsOK(res1
)) {
38760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38762 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38764 if (!SWIG_IsOK(ecode2
)) {
38765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38767 arg2
= static_cast< int >(val2
);
38768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38769 if (!SWIG_IsOK(ecode3
)) {
38770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38772 arg3
= static_cast< int >(val3
);
38774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38775 (arg1
)->DoSetClientSize(arg2
,arg3
);
38776 wxPyEndAllowThreads(__tstate
);
38777 if (PyErr_Occurred()) SWIG_fail
;
38779 resultobj
= SWIG_Py_Void();
38786 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38787 PyObject
*resultobj
= 0;
38788 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38797 PyObject
* obj0
= 0 ;
38798 PyObject
* obj1
= 0 ;
38799 PyObject
* obj2
= 0 ;
38800 char * kwnames
[] = {
38801 (char *) "self",(char *) "x",(char *) "y", NULL
38804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38806 if (!SWIG_IsOK(res1
)) {
38807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38809 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38811 if (!SWIG_IsOK(ecode2
)) {
38812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38814 arg2
= static_cast< int >(val2
);
38815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38816 if (!SWIG_IsOK(ecode3
)) {
38817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38819 arg3
= static_cast< int >(val3
);
38821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38822 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38823 wxPyEndAllowThreads(__tstate
);
38824 if (PyErr_Occurred()) SWIG_fail
;
38826 resultobj
= SWIG_Py_Void();
38833 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38834 PyObject
*resultobj
= 0;
38835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38836 int *arg2
= (int *) 0 ;
38837 int *arg3
= (int *) 0 ;
38841 int res2
= SWIG_TMPOBJ
;
38843 int res3
= SWIG_TMPOBJ
;
38844 PyObject
*swig_obj
[1] ;
38848 if (!args
) SWIG_fail
;
38849 swig_obj
[0] = args
;
38850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38851 if (!SWIG_IsOK(res1
)) {
38852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38854 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38857 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38858 wxPyEndAllowThreads(__tstate
);
38859 if (PyErr_Occurred()) SWIG_fail
;
38861 resultobj
= SWIG_Py_Void();
38862 if (SWIG_IsTmpObj(res2
)) {
38863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38865 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38868 if (SWIG_IsTmpObj(res3
)) {
38869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38871 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38880 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38881 PyObject
*resultobj
= 0;
38882 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38883 int *arg2
= (int *) 0 ;
38884 int *arg3
= (int *) 0 ;
38888 int res2
= SWIG_TMPOBJ
;
38890 int res3
= SWIG_TMPOBJ
;
38891 PyObject
*swig_obj
[1] ;
38895 if (!args
) SWIG_fail
;
38896 swig_obj
[0] = args
;
38897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38898 if (!SWIG_IsOK(res1
)) {
38899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38901 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38904 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38908 resultobj
= SWIG_Py_Void();
38909 if (SWIG_IsTmpObj(res2
)) {
38910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38912 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38915 if (SWIG_IsTmpObj(res3
)) {
38916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38918 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38927 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38928 PyObject
*resultobj
= 0;
38929 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38930 int *arg2
= (int *) 0 ;
38931 int *arg3
= (int *) 0 ;
38935 int res2
= SWIG_TMPOBJ
;
38937 int res3
= SWIG_TMPOBJ
;
38938 PyObject
*swig_obj
[1] ;
38942 if (!args
) SWIG_fail
;
38943 swig_obj
[0] = args
;
38944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38945 if (!SWIG_IsOK(res1
)) {
38946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38948 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38951 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38952 wxPyEndAllowThreads(__tstate
);
38953 if (PyErr_Occurred()) SWIG_fail
;
38955 resultobj
= SWIG_Py_Void();
38956 if (SWIG_IsTmpObj(res2
)) {
38957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38959 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38962 if (SWIG_IsTmpObj(res3
)) {
38963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38965 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38974 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38975 PyObject
*resultobj
= 0;
38976 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38980 PyObject
*swig_obj
[1] ;
38982 if (!args
) SWIG_fail
;
38983 swig_obj
[0] = args
;
38984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38985 if (!SWIG_IsOK(res1
)) {
38986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38988 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38991 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38992 wxPyEndAllowThreads(__tstate
);
38993 if (PyErr_Occurred()) SWIG_fail
;
38995 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39002 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39003 PyObject
*resultobj
= 0;
39004 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39008 PyObject
*swig_obj
[1] ;
39010 if (!args
) SWIG_fail
;
39011 swig_obj
[0] = args
;
39012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39013 if (!SWIG_IsOK(res1
)) {
39014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39016 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39019 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39020 wxPyEndAllowThreads(__tstate
);
39021 if (PyErr_Occurred()) SWIG_fail
;
39023 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39030 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39031 PyObject
*resultobj
= 0;
39032 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39033 SwigValueWrapper
<wxVisualAttributes
> result
;
39036 PyObject
*swig_obj
[1] ;
39038 if (!args
) SWIG_fail
;
39039 swig_obj
[0] = args
;
39040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39041 if (!SWIG_IsOK(res1
)) {
39042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39044 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39047 result
= (arg1
)->GetDefaultAttributes();
39048 wxPyEndAllowThreads(__tstate
);
39049 if (PyErr_Occurred()) SWIG_fail
;
39051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39058 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39059 PyObject
*resultobj
= 0;
39060 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39063 PyObject
*swig_obj
[1] ;
39065 if (!args
) SWIG_fail
;
39066 swig_obj
[0] = args
;
39067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39068 if (!SWIG_IsOK(res1
)) {
39069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39071 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39074 (arg1
)->OnInternalIdle();
39075 wxPyEndAllowThreads(__tstate
);
39076 if (PyErr_Occurred()) SWIG_fail
;
39078 resultobj
= SWIG_Py_Void();
39085 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39088 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39089 return SWIG_Py_Void();
39092 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39093 return SWIG_Python_InitShadowInstance(args
);
39096 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39097 PyObject
*resultobj
= 0;
39098 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39099 int arg2
= (int) 0 ;
39100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39102 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39103 wxHelpEvent
*result
= 0 ;
39111 PyObject
* obj0
= 0 ;
39112 PyObject
* obj1
= 0 ;
39113 PyObject
* obj2
= 0 ;
39114 PyObject
* obj3
= 0 ;
39115 char * kwnames
[] = {
39116 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39122 if (!SWIG_IsOK(ecode1
)) {
39123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39125 arg1
= static_cast< wxEventType
>(val1
);
39128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39129 if (!SWIG_IsOK(ecode2
)) {
39130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39132 arg2
= static_cast< int >(val2
);
39137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39142 if (!SWIG_IsOK(ecode4
)) {
39143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39145 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39149 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39150 wxPyEndAllowThreads(__tstate
);
39151 if (PyErr_Occurred()) SWIG_fail
;
39153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39160 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39161 PyObject
*resultobj
= 0;
39162 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39166 PyObject
*swig_obj
[1] ;
39168 if (!args
) SWIG_fail
;
39169 swig_obj
[0] = args
;
39170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39171 if (!SWIG_IsOK(res1
)) {
39172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39174 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39177 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39178 wxPyEndAllowThreads(__tstate
);
39179 if (PyErr_Occurred()) SWIG_fail
;
39181 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39188 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39189 PyObject
*resultobj
= 0;
39190 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39191 wxPoint
*arg2
= 0 ;
39195 PyObject
* obj0
= 0 ;
39196 PyObject
* obj1
= 0 ;
39197 char * kwnames
[] = {
39198 (char *) "self",(char *) "pos", NULL
39201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39203 if (!SWIG_IsOK(res1
)) {
39204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39206 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39209 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39213 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39214 wxPyEndAllowThreads(__tstate
);
39215 if (PyErr_Occurred()) SWIG_fail
;
39217 resultobj
= SWIG_Py_Void();
39224 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39225 PyObject
*resultobj
= 0;
39226 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39227 wxString
*result
= 0 ;
39230 PyObject
*swig_obj
[1] ;
39232 if (!args
) SWIG_fail
;
39233 swig_obj
[0] = args
;
39234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39235 if (!SWIG_IsOK(res1
)) {
39236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39238 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39242 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39243 result
= (wxString
*) &_result_ref
;
39245 wxPyEndAllowThreads(__tstate
);
39246 if (PyErr_Occurred()) SWIG_fail
;
39250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39261 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39262 PyObject
*resultobj
= 0;
39263 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39264 wxString
*arg2
= 0 ;
39267 bool temp2
= false ;
39268 PyObject
* obj0
= 0 ;
39269 PyObject
* obj1
= 0 ;
39270 char * kwnames
[] = {
39271 (char *) "self",(char *) "link", NULL
39274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39276 if (!SWIG_IsOK(res1
)) {
39277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39279 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39281 arg2
= wxString_in_helper(obj1
);
39282 if (arg2
== NULL
) SWIG_fail
;
39286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39287 (arg1
)->SetLink((wxString
const &)*arg2
);
39288 wxPyEndAllowThreads(__tstate
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39291 resultobj
= SWIG_Py_Void();
39306 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39307 PyObject
*resultobj
= 0;
39308 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39309 wxString
*result
= 0 ;
39312 PyObject
*swig_obj
[1] ;
39314 if (!args
) SWIG_fail
;
39315 swig_obj
[0] = args
;
39316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39317 if (!SWIG_IsOK(res1
)) {
39318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39320 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39324 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39325 result
= (wxString
*) &_result_ref
;
39327 wxPyEndAllowThreads(__tstate
);
39328 if (PyErr_Occurred()) SWIG_fail
;
39332 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39334 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39343 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39344 PyObject
*resultobj
= 0;
39345 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39346 wxString
*arg2
= 0 ;
39349 bool temp2
= false ;
39350 PyObject
* obj0
= 0 ;
39351 PyObject
* obj1
= 0 ;
39352 char * kwnames
[] = {
39353 (char *) "self",(char *) "target", NULL
39356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39358 if (!SWIG_IsOK(res1
)) {
39359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39361 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39363 arg2
= wxString_in_helper(obj1
);
39364 if (arg2
== NULL
) SWIG_fail
;
39368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39369 (arg1
)->SetTarget((wxString
const &)*arg2
);
39370 wxPyEndAllowThreads(__tstate
);
39371 if (PyErr_Occurred()) SWIG_fail
;
39373 resultobj
= SWIG_Py_Void();
39388 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39389 PyObject
*resultobj
= 0;
39390 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39391 wxHelpEvent::Origin result
;
39394 PyObject
*swig_obj
[1] ;
39396 if (!args
) SWIG_fail
;
39397 swig_obj
[0] = args
;
39398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39399 if (!SWIG_IsOK(res1
)) {
39400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39402 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39406 wxPyEndAllowThreads(__tstate
);
39407 if (PyErr_Occurred()) SWIG_fail
;
39409 resultobj
= SWIG_From_int(static_cast< int >(result
));
39416 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39417 PyObject
*resultobj
= 0;
39418 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39419 wxHelpEvent::Origin arg2
;
39424 PyObject
* obj0
= 0 ;
39425 PyObject
* obj1
= 0 ;
39426 char * kwnames
[] = {
39427 (char *) "self",(char *) "origin", NULL
39430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39432 if (!SWIG_IsOK(res1
)) {
39433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39435 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39437 if (!SWIG_IsOK(ecode2
)) {
39438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39440 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39443 (arg1
)->SetOrigin(arg2
);
39444 wxPyEndAllowThreads(__tstate
);
39445 if (PyErr_Occurred()) SWIG_fail
;
39447 resultobj
= SWIG_Py_Void();
39454 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39457 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39458 return SWIG_Py_Void();
39461 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39462 return SWIG_Python_InitShadowInstance(args
);
39465 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39466 PyObject
*resultobj
= 0;
39467 wxWindow
*arg1
= (wxWindow
*) NULL
;
39468 bool arg2
= (bool) true ;
39469 wxContextHelp
*result
= 0 ;
39474 PyObject
* obj0
= 0 ;
39475 PyObject
* obj1
= 0 ;
39476 char * kwnames
[] = {
39477 (char *) "window",(char *) "doNow", NULL
39480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39483 if (!SWIG_IsOK(res1
)) {
39484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39489 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39490 if (!SWIG_IsOK(ecode2
)) {
39491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39493 arg2
= static_cast< bool >(val2
);
39496 if (!wxPyCheckForApp()) SWIG_fail
;
39497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39498 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39499 wxPyEndAllowThreads(__tstate
);
39500 if (PyErr_Occurred()) SWIG_fail
;
39502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39509 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39510 PyObject
*resultobj
= 0;
39511 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39514 PyObject
*swig_obj
[1] ;
39516 if (!args
) SWIG_fail
;
39517 swig_obj
[0] = args
;
39518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39519 if (!SWIG_IsOK(res1
)) {
39520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39522 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39527 wxPyEndAllowThreads(__tstate
);
39528 if (PyErr_Occurred()) SWIG_fail
;
39530 resultobj
= SWIG_Py_Void();
39537 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39538 PyObject
*resultobj
= 0;
39539 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39540 wxWindow
*arg2
= (wxWindow
*) NULL
;
39546 PyObject
* obj0
= 0 ;
39547 PyObject
* obj1
= 0 ;
39548 char * kwnames
[] = {
39549 (char *) "self",(char *) "window", NULL
39552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39554 if (!SWIG_IsOK(res1
)) {
39555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39557 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39559 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39560 if (!SWIG_IsOK(res2
)) {
39561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39563 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39567 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39568 wxPyEndAllowThreads(__tstate
);
39569 if (PyErr_Occurred()) SWIG_fail
;
39572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39580 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39581 PyObject
*resultobj
= 0;
39582 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39586 PyObject
*swig_obj
[1] ;
39588 if (!args
) SWIG_fail
;
39589 swig_obj
[0] = args
;
39590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39591 if (!SWIG_IsOK(res1
)) {
39592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39594 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39597 result
= (bool)(arg1
)->EndContextHelp();
39598 wxPyEndAllowThreads(__tstate
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39610 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39613 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39614 return SWIG_Py_Void();
39617 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39618 return SWIG_Python_InitShadowInstance(args
);
39621 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39622 PyObject
*resultobj
= 0;
39623 wxWindow
*arg1
= (wxWindow
*) 0 ;
39624 int arg2
= (int) wxID_CONTEXT_HELP
;
39625 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39626 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39627 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39628 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39629 long arg5
= (long) wxBU_AUTODRAW
;
39630 wxContextHelpButton
*result
= 0 ;
39639 PyObject
* obj0
= 0 ;
39640 PyObject
* obj1
= 0 ;
39641 PyObject
* obj2
= 0 ;
39642 PyObject
* obj3
= 0 ;
39643 PyObject
* obj4
= 0 ;
39644 char * kwnames
[] = {
39645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39650 if (!SWIG_IsOK(res1
)) {
39651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39656 if (!SWIG_IsOK(ecode2
)) {
39657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39659 arg2
= static_cast< int >(val2
);
39664 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39670 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39674 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39675 if (!SWIG_IsOK(ecode5
)) {
39676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39678 arg5
= static_cast< long >(val5
);
39681 if (!wxPyCheckForApp()) SWIG_fail
;
39682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39683 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39684 wxPyEndAllowThreads(__tstate
);
39685 if (PyErr_Occurred()) SWIG_fail
;
39687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39694 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39697 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39698 return SWIG_Py_Void();
39701 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39702 return SWIG_Python_InitShadowInstance(args
);
39705 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39706 PyObject
*resultobj
= 0;
39707 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39710 PyObject
*swig_obj
[1] ;
39712 if (!args
) SWIG_fail
;
39713 swig_obj
[0] = args
;
39714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39715 if (!SWIG_IsOK(res1
)) {
39716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39718 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39723 wxPyEndAllowThreads(__tstate
);
39724 if (PyErr_Occurred()) SWIG_fail
;
39726 resultobj
= SWIG_Py_Void();
39733 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39734 PyObject
*resultobj
= 0;
39735 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39736 wxHelpProvider
*result
= 0 ;
39738 PyObject
* obj0
= 0 ;
39739 char * kwnames
[] = {
39740 (char *) "helpProvider", NULL
39743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39744 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39745 if (!SWIG_IsOK(res1
)) {
39746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39750 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39751 wxPyEndAllowThreads(__tstate
);
39752 if (PyErr_Occurred()) SWIG_fail
;
39754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39761 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39762 PyObject
*resultobj
= 0;
39763 wxHelpProvider
*result
= 0 ;
39765 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39768 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39769 wxPyEndAllowThreads(__tstate
);
39770 if (PyErr_Occurred()) SWIG_fail
;
39772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39779 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39780 PyObject
*resultobj
= 0;
39781 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39782 wxWindow
*arg2
= (wxWindow
*) 0 ;
39788 PyObject
* obj0
= 0 ;
39789 PyObject
* obj1
= 0 ;
39790 char * kwnames
[] = {
39791 (char *) "self",(char *) "window", NULL
39794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39796 if (!SWIG_IsOK(res1
)) {
39797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39799 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39801 if (!SWIG_IsOK(res2
)) {
39802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39804 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39807 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39808 wxPyEndAllowThreads(__tstate
);
39809 if (PyErr_Occurred()) SWIG_fail
;
39813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39824 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39825 PyObject
*resultobj
= 0;
39826 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39827 wxWindow
*arg2
= (wxWindow
*) 0 ;
39833 PyObject
* obj0
= 0 ;
39834 PyObject
* obj1
= 0 ;
39835 char * kwnames
[] = {
39836 (char *) "self",(char *) "window", NULL
39839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39841 if (!SWIG_IsOK(res1
)) {
39842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39844 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39846 if (!SWIG_IsOK(res2
)) {
39847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39849 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39852 result
= (bool)(arg1
)->ShowHelp(arg2
);
39853 wxPyEndAllowThreads(__tstate
);
39854 if (PyErr_Occurred()) SWIG_fail
;
39857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39865 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39866 PyObject
*resultobj
= 0;
39867 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39868 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39869 wxPoint
*arg3
= 0 ;
39870 wxHelpEvent::Origin arg4
;
39879 PyObject
* obj0
= 0 ;
39880 PyObject
* obj1
= 0 ;
39881 PyObject
* obj2
= 0 ;
39882 PyObject
* obj3
= 0 ;
39883 char * kwnames
[] = {
39884 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39889 if (!SWIG_IsOK(res1
)) {
39890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39892 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39894 if (!SWIG_IsOK(res2
)) {
39895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39897 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39903 if (!SWIG_IsOK(ecode4
)) {
39904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39906 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39909 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39910 wxPyEndAllowThreads(__tstate
);
39911 if (PyErr_Occurred()) SWIG_fail
;
39914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39922 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
= 0;
39924 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39925 wxWindow
*arg2
= (wxWindow
*) 0 ;
39926 wxString
*arg3
= 0 ;
39931 bool temp3
= false ;
39932 PyObject
* obj0
= 0 ;
39933 PyObject
* obj1
= 0 ;
39934 PyObject
* obj2
= 0 ;
39935 char * kwnames
[] = {
39936 (char *) "self",(char *) "window",(char *) "text", NULL
39939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39941 if (!SWIG_IsOK(res1
)) {
39942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39944 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39946 if (!SWIG_IsOK(res2
)) {
39947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39949 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39951 arg3
= wxString_in_helper(obj2
);
39952 if (arg3
== NULL
) SWIG_fail
;
39956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39957 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39958 wxPyEndAllowThreads(__tstate
);
39959 if (PyErr_Occurred()) SWIG_fail
;
39961 resultobj
= SWIG_Py_Void();
39976 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39977 PyObject
*resultobj
= 0;
39978 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39980 wxString
*arg3
= 0 ;
39985 bool temp3
= false ;
39986 PyObject
* obj0
= 0 ;
39987 PyObject
* obj1
= 0 ;
39988 PyObject
* obj2
= 0 ;
39989 char * kwnames
[] = {
39990 (char *) "self",(char *) "id",(char *) "text", NULL
39993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39995 if (!SWIG_IsOK(res1
)) {
39996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39998 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40000 if (!SWIG_IsOK(ecode2
)) {
40001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40003 arg2
= static_cast< int >(val2
);
40005 arg3
= wxString_in_helper(obj2
);
40006 if (arg3
== NULL
) SWIG_fail
;
40010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40011 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40012 wxPyEndAllowThreads(__tstate
);
40013 if (PyErr_Occurred()) SWIG_fail
;
40015 resultobj
= SWIG_Py_Void();
40030 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40031 PyObject
*resultobj
= 0;
40032 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40033 wxWindow
*arg2
= (wxWindow
*) 0 ;
40038 PyObject
* obj0
= 0 ;
40039 PyObject
* obj1
= 0 ;
40040 char * kwnames
[] = {
40041 (char *) "self",(char *) "window", NULL
40044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40046 if (!SWIG_IsOK(res1
)) {
40047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40049 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40051 if (!SWIG_IsOK(res2
)) {
40052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40054 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40057 (arg1
)->RemoveHelp(arg2
);
40058 wxPyEndAllowThreads(__tstate
);
40059 if (PyErr_Occurred()) SWIG_fail
;
40061 resultobj
= SWIG_Py_Void();
40068 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40069 PyObject
*resultobj
= 0;
40070 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40073 PyObject
*swig_obj
[1] ;
40075 if (!args
) SWIG_fail
;
40076 swig_obj
[0] = args
;
40077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40078 if (!SWIG_IsOK(res1
)) {
40079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40081 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 wxHelpProvider_Destroy(arg1
);
40085 wxPyEndAllowThreads(__tstate
);
40086 if (PyErr_Occurred()) SWIG_fail
;
40088 resultobj
= SWIG_Py_Void();
40095 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40098 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40099 return SWIG_Py_Void();
40102 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40103 PyObject
*resultobj
= 0;
40104 wxSimpleHelpProvider
*result
= 0 ;
40106 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40109 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40120 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40123 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40124 return SWIG_Py_Void();
40127 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40128 return SWIG_Python_InitShadowInstance(args
);
40131 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40132 PyObject
*resultobj
= 0;
40133 wxBitmap
*arg1
= 0 ;
40134 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40135 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40136 wxGenericDragImage
*result
= 0 ;
40141 PyObject
* obj0
= 0 ;
40142 PyObject
* obj1
= 0 ;
40143 char * kwnames
[] = {
40144 (char *) "image",(char *) "cursor", NULL
40147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40148 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40149 if (!SWIG_IsOK(res1
)) {
40150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40155 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40158 if (!SWIG_IsOK(res2
)) {
40159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40164 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40167 if (!wxPyCheckForApp()) SWIG_fail
;
40168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40169 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40170 wxPyEndAllowThreads(__tstate
);
40171 if (PyErr_Occurred()) SWIG_fail
;
40173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40180 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40181 PyObject
*resultobj
= 0;
40183 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40184 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40185 wxGenericDragImage
*result
= 0 ;
40190 PyObject
* obj0
= 0 ;
40191 PyObject
* obj1
= 0 ;
40192 char * kwnames
[] = {
40193 (char *) "image",(char *) "cursor", NULL
40196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40197 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40198 if (!SWIG_IsOK(res1
)) {
40199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40204 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40207 if (!SWIG_IsOK(res2
)) {
40208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40213 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40216 if (!wxPyCheckForApp()) SWIG_fail
;
40217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40218 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40219 wxPyEndAllowThreads(__tstate
);
40220 if (PyErr_Occurred()) SWIG_fail
;
40222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40229 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40230 PyObject
*resultobj
= 0;
40231 wxString
*arg1
= 0 ;
40232 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40233 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40234 wxGenericDragImage
*result
= 0 ;
40235 bool temp1
= false ;
40238 PyObject
* obj0
= 0 ;
40239 PyObject
* obj1
= 0 ;
40240 char * kwnames
[] = {
40241 (char *) "str",(char *) "cursor", NULL
40244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40246 arg1
= wxString_in_helper(obj0
);
40247 if (arg1
== NULL
) SWIG_fail
;
40251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40252 if (!SWIG_IsOK(res2
)) {
40253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40258 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40261 if (!wxPyCheckForApp()) SWIG_fail
;
40262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40263 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40264 wxPyEndAllowThreads(__tstate
);
40265 if (PyErr_Occurred()) SWIG_fail
;
40267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40282 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40283 PyObject
*resultobj
= 0;
40284 wxPyTreeCtrl
*arg1
= 0 ;
40285 wxTreeItemId
*arg2
= 0 ;
40286 wxGenericDragImage
*result
= 0 ;
40291 PyObject
* obj0
= 0 ;
40292 PyObject
* obj1
= 0 ;
40293 char * kwnames
[] = {
40294 (char *) "treeCtrl",(char *) "id", NULL
40297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40298 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40299 if (!SWIG_IsOK(res1
)) {
40300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40305 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40307 if (!SWIG_IsOK(res2
)) {
40308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40313 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40315 if (!wxPyCheckForApp()) SWIG_fail
;
40316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40317 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40318 wxPyEndAllowThreads(__tstate
);
40319 if (PyErr_Occurred()) SWIG_fail
;
40321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40328 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40329 PyObject
*resultobj
= 0;
40330 wxPyListCtrl
*arg1
= 0 ;
40332 wxGenericDragImage
*result
= 0 ;
40337 PyObject
* obj0
= 0 ;
40338 PyObject
* obj1
= 0 ;
40339 char * kwnames
[] = {
40340 (char *) "listCtrl",(char *) "id", NULL
40343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40344 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40345 if (!SWIG_IsOK(res1
)) {
40346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40351 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40352 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40353 if (!SWIG_IsOK(ecode2
)) {
40354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40356 arg2
= static_cast< long >(val2
);
40358 if (!wxPyCheckForApp()) SWIG_fail
;
40359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40360 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40361 wxPyEndAllowThreads(__tstate
);
40362 if (PyErr_Occurred()) SWIG_fail
;
40364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40371 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40372 PyObject
*resultobj
= 0;
40373 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40376 PyObject
*swig_obj
[1] ;
40378 if (!args
) SWIG_fail
;
40379 swig_obj
[0] = args
;
40380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40381 if (!SWIG_IsOK(res1
)) {
40382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40384 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 wxPyEndAllowThreads(__tstate
);
40390 if (PyErr_Occurred()) SWIG_fail
;
40392 resultobj
= SWIG_Py_Void();
40399 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40400 PyObject
*resultobj
= 0;
40401 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40402 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40407 PyObject
* obj0
= 0 ;
40408 PyObject
* obj1
= 0 ;
40409 char * kwnames
[] = {
40410 (char *) "self",(char *) "bitmap", NULL
40413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40415 if (!SWIG_IsOK(res1
)) {
40416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40418 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40420 if (!SWIG_IsOK(res2
)) {
40421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40423 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40426 (arg1
)->SetBackingBitmap(arg2
);
40427 wxPyEndAllowThreads(__tstate
);
40428 if (PyErr_Occurred()) SWIG_fail
;
40430 resultobj
= SWIG_Py_Void();
40437 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40438 PyObject
*resultobj
= 0;
40439 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40440 wxPoint
*arg2
= 0 ;
40441 wxWindow
*arg3
= (wxWindow
*) 0 ;
40442 bool arg4
= (bool) false ;
40443 wxRect
*arg5
= (wxRect
*) NULL
;
40454 PyObject
* obj0
= 0 ;
40455 PyObject
* obj1
= 0 ;
40456 PyObject
* obj2
= 0 ;
40457 PyObject
* obj3
= 0 ;
40458 PyObject
* obj4
= 0 ;
40459 char * kwnames
[] = {
40460 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40465 if (!SWIG_IsOK(res1
)) {
40466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40468 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40473 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40474 if (!SWIG_IsOK(res3
)) {
40475 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40477 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40479 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40480 if (!SWIG_IsOK(ecode4
)) {
40481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40483 arg4
= static_cast< bool >(val4
);
40486 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40487 if (!SWIG_IsOK(res5
)) {
40488 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40490 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40494 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40495 wxPyEndAllowThreads(__tstate
);
40496 if (PyErr_Occurred()) SWIG_fail
;
40499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40507 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40508 PyObject
*resultobj
= 0;
40509 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40510 wxPoint
*arg2
= 0 ;
40511 wxWindow
*arg3
= (wxWindow
*) 0 ;
40512 wxWindow
*arg4
= (wxWindow
*) 0 ;
40521 PyObject
* obj0
= 0 ;
40522 PyObject
* obj1
= 0 ;
40523 PyObject
* obj2
= 0 ;
40524 PyObject
* obj3
= 0 ;
40525 char * kwnames
[] = {
40526 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40531 if (!SWIG_IsOK(res1
)) {
40532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40534 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40539 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40540 if (!SWIG_IsOK(res3
)) {
40541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40543 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40544 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40545 if (!SWIG_IsOK(res4
)) {
40546 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40548 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40551 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40552 wxPyEndAllowThreads(__tstate
);
40553 if (PyErr_Occurred()) SWIG_fail
;
40556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40564 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40565 PyObject
*resultobj
= 0;
40566 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40570 PyObject
*swig_obj
[1] ;
40572 if (!args
) SWIG_fail
;
40573 swig_obj
[0] = args
;
40574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40575 if (!SWIG_IsOK(res1
)) {
40576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40578 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40581 result
= (bool)(arg1
)->EndDrag();
40582 wxPyEndAllowThreads(__tstate
);
40583 if (PyErr_Occurred()) SWIG_fail
;
40586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40594 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40595 PyObject
*resultobj
= 0;
40596 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40597 wxPoint
*arg2
= 0 ;
40602 PyObject
* obj0
= 0 ;
40603 PyObject
* obj1
= 0 ;
40604 char * kwnames
[] = {
40605 (char *) "self",(char *) "pt", NULL
40608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40610 if (!SWIG_IsOK(res1
)) {
40611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40613 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40620 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40621 wxPyEndAllowThreads(__tstate
);
40622 if (PyErr_Occurred()) SWIG_fail
;
40625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40633 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40634 PyObject
*resultobj
= 0;
40635 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40639 PyObject
*swig_obj
[1] ;
40641 if (!args
) SWIG_fail
;
40642 swig_obj
[0] = args
;
40643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40644 if (!SWIG_IsOK(res1
)) {
40645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40647 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40650 result
= (bool)(arg1
)->Show();
40651 wxPyEndAllowThreads(__tstate
);
40652 if (PyErr_Occurred()) SWIG_fail
;
40655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40663 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40664 PyObject
*resultobj
= 0;
40665 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40669 PyObject
*swig_obj
[1] ;
40671 if (!args
) SWIG_fail
;
40672 swig_obj
[0] = args
;
40673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40674 if (!SWIG_IsOK(res1
)) {
40675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40677 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40680 result
= (bool)(arg1
)->Hide();
40681 wxPyEndAllowThreads(__tstate
);
40682 if (PyErr_Occurred()) SWIG_fail
;
40685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40693 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40694 PyObject
*resultobj
= 0;
40695 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40696 wxPoint
*arg2
= 0 ;
40701 PyObject
* obj0
= 0 ;
40702 PyObject
* obj1
= 0 ;
40703 char * kwnames
[] = {
40704 (char *) "self",(char *) "pos", NULL
40707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40709 if (!SWIG_IsOK(res1
)) {
40710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40712 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40719 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40720 wxPyEndAllowThreads(__tstate
);
40721 if (PyErr_Occurred()) SWIG_fail
;
40723 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40730 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40731 PyObject
*resultobj
= 0;
40732 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40734 wxPoint
*arg3
= 0 ;
40741 PyObject
* obj0
= 0 ;
40742 PyObject
* obj1
= 0 ;
40743 PyObject
* obj2
= 0 ;
40744 char * kwnames
[] = {
40745 (char *) "self",(char *) "dc",(char *) "pos", NULL
40748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40750 if (!SWIG_IsOK(res1
)) {
40751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40753 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40755 if (!SWIG_IsOK(res2
)) {
40756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40761 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40768 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40769 wxPyEndAllowThreads(__tstate
);
40770 if (PyErr_Occurred()) SWIG_fail
;
40773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40781 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40782 PyObject
*resultobj
= 0;
40783 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40785 wxMemoryDC
*arg3
= 0 ;
40797 PyObject
* obj0
= 0 ;
40798 PyObject
* obj1
= 0 ;
40799 PyObject
* obj2
= 0 ;
40800 PyObject
* obj3
= 0 ;
40801 PyObject
* obj4
= 0 ;
40802 char * kwnames
[] = {
40803 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40808 if (!SWIG_IsOK(res1
)) {
40809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40811 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40813 if (!SWIG_IsOK(res2
)) {
40814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40819 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40820 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40821 if (!SWIG_IsOK(res3
)) {
40822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40827 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40830 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40834 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40838 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40839 wxPyEndAllowThreads(__tstate
);
40840 if (PyErr_Occurred()) SWIG_fail
;
40843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40851 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40852 PyObject
*resultobj
= 0;
40853 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40854 wxPoint
*arg2
= 0 ;
40855 wxPoint
*arg3
= 0 ;
40867 PyObject
* obj0
= 0 ;
40868 PyObject
* obj1
= 0 ;
40869 PyObject
* obj2
= 0 ;
40870 PyObject
* obj3
= 0 ;
40871 PyObject
* obj4
= 0 ;
40872 char * kwnames
[] = {
40873 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40878 if (!SWIG_IsOK(res1
)) {
40879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40881 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40890 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40891 if (!SWIG_IsOK(ecode4
)) {
40892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40894 arg4
= static_cast< bool >(val4
);
40895 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40896 if (!SWIG_IsOK(ecode5
)) {
40897 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40899 arg5
= static_cast< bool >(val5
);
40901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40902 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40903 wxPyEndAllowThreads(__tstate
);
40904 if (PyErr_Occurred()) SWIG_fail
;
40907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40915 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40918 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40919 return SWIG_Py_Void();
40922 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40923 return SWIG_Python_InitShadowInstance(args
);
40926 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40927 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40932 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40933 PyObject
*pyobj
= 0;
40937 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40939 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40946 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40947 PyObject
*resultobj
= 0;
40948 wxWindow
*arg1
= (wxWindow
*) 0 ;
40949 int arg2
= (int) -1 ;
40950 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40951 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40956 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40957 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40958 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40959 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40960 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40961 wxDatePickerCtrl
*result
= 0 ;
40974 bool temp8
= false ;
40975 PyObject
* obj0
= 0 ;
40976 PyObject
* obj1
= 0 ;
40977 PyObject
* obj2
= 0 ;
40978 PyObject
* obj3
= 0 ;
40979 PyObject
* obj4
= 0 ;
40980 PyObject
* obj5
= 0 ;
40981 PyObject
* obj6
= 0 ;
40982 PyObject
* obj7
= 0 ;
40983 char * kwnames
[] = {
40984 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40989 if (!SWIG_IsOK(res1
)) {
40990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40995 if (!SWIG_IsOK(ecode2
)) {
40996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40998 arg2
= static_cast< int >(val2
);
41001 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41002 if (!SWIG_IsOK(res3
)) {
41003 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41008 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41023 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41024 if (!SWIG_IsOK(ecode6
)) {
41025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41027 arg6
= static_cast< long >(val6
);
41030 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41031 if (!SWIG_IsOK(res7
)) {
41032 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41037 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41041 arg8
= wxString_in_helper(obj7
);
41042 if (arg8
== NULL
) SWIG_fail
;
41047 if (!wxPyCheckForApp()) SWIG_fail
;
41048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41049 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41050 wxPyEndAllowThreads(__tstate
);
41051 if (PyErr_Occurred()) SWIG_fail
;
41053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41068 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41069 PyObject
*resultobj
= 0;
41070 wxDatePickerCtrl
*result
= 0 ;
41072 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41074 if (!wxPyCheckForApp()) SWIG_fail
;
41075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41076 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41077 wxPyEndAllowThreads(__tstate
);
41078 if (PyErr_Occurred()) SWIG_fail
;
41080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41087 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41088 PyObject
*resultobj
= 0;
41089 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41090 wxWindow
*arg2
= (wxWindow
*) 0 ;
41091 int arg3
= (int) -1 ;
41092 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41093 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41094 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41095 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41096 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41097 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41098 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41099 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41100 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41101 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41102 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41118 bool temp9
= false ;
41119 PyObject
* obj0
= 0 ;
41120 PyObject
* obj1
= 0 ;
41121 PyObject
* obj2
= 0 ;
41122 PyObject
* obj3
= 0 ;
41123 PyObject
* obj4
= 0 ;
41124 PyObject
* obj5
= 0 ;
41125 PyObject
* obj6
= 0 ;
41126 PyObject
* obj7
= 0 ;
41127 PyObject
* obj8
= 0 ;
41128 char * kwnames
[] = {
41129 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41134 if (!SWIG_IsOK(res1
)) {
41135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41137 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41139 if (!SWIG_IsOK(res2
)) {
41140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41142 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41145 if (!SWIG_IsOK(ecode3
)) {
41146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41148 arg3
= static_cast< int >(val3
);
41151 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41152 if (!SWIG_IsOK(res4
)) {
41153 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41158 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41163 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41169 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41173 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41174 if (!SWIG_IsOK(ecode7
)) {
41175 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41177 arg7
= static_cast< long >(val7
);
41180 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41181 if (!SWIG_IsOK(res8
)) {
41182 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41187 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41191 arg9
= wxString_in_helper(obj8
);
41192 if (arg9
== NULL
) SWIG_fail
;
41197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41198 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41199 wxPyEndAllowThreads(__tstate
);
41200 if (PyErr_Occurred()) SWIG_fail
;
41203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41219 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41220 PyObject
*resultobj
= 0;
41221 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41222 wxDateTime
*arg2
= 0 ;
41227 PyObject
* obj0
= 0 ;
41228 PyObject
* obj1
= 0 ;
41229 char * kwnames
[] = {
41230 (char *) "self",(char *) "dt", NULL
41233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41235 if (!SWIG_IsOK(res1
)) {
41236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41238 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41240 if (!SWIG_IsOK(res2
)) {
41241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41246 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41249 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41250 wxPyEndAllowThreads(__tstate
);
41251 if (PyErr_Occurred()) SWIG_fail
;
41253 resultobj
= SWIG_Py_Void();
41260 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41261 PyObject
*resultobj
= 0;
41262 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41266 PyObject
*swig_obj
[1] ;
41268 if (!args
) SWIG_fail
;
41269 swig_obj
[0] = args
;
41270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41271 if (!SWIG_IsOK(res1
)) {
41272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41274 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41277 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41278 wxPyEndAllowThreads(__tstate
);
41279 if (PyErr_Occurred()) SWIG_fail
;
41281 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41288 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41289 PyObject
*resultobj
= 0;
41290 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41291 wxDateTime
*arg2
= 0 ;
41292 wxDateTime
*arg3
= 0 ;
41299 PyObject
* obj0
= 0 ;
41300 PyObject
* obj1
= 0 ;
41301 PyObject
* obj2
= 0 ;
41302 char * kwnames
[] = {
41303 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41308 if (!SWIG_IsOK(res1
)) {
41309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41311 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41313 if (!SWIG_IsOK(res2
)) {
41314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41319 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41320 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41321 if (!SWIG_IsOK(res3
)) {
41322 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41327 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41330 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41331 wxPyEndAllowThreads(__tstate
);
41332 if (PyErr_Occurred()) SWIG_fail
;
41334 resultobj
= SWIG_Py_Void();
41341 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41342 PyObject
*resultobj
= 0;
41343 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41347 PyObject
*swig_obj
[1] ;
41349 if (!args
) SWIG_fail
;
41350 swig_obj
[0] = args
;
41351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41352 if (!SWIG_IsOK(res1
)) {
41353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41355 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41358 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41359 wxPyEndAllowThreads(__tstate
);
41360 if (PyErr_Occurred()) SWIG_fail
;
41362 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41369 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41370 PyObject
*resultobj
= 0;
41371 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41375 PyObject
*swig_obj
[1] ;
41377 if (!args
) SWIG_fail
;
41378 swig_obj
[0] = args
;
41379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41380 if (!SWIG_IsOK(res1
)) {
41381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41383 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41386 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41387 wxPyEndAllowThreads(__tstate
);
41388 if (PyErr_Occurred()) SWIG_fail
;
41390 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41397 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41400 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41401 return SWIG_Py_Void();
41404 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41405 return SWIG_Python_InitShadowInstance(args
);
41408 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41409 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41414 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41415 PyObject
*pyobj
= 0;
41419 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41421 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41428 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41429 PyObject
*resultobj
= 0;
41430 wxWindow
*arg1
= (wxWindow
*) 0 ;
41432 wxString
*arg3
= 0 ;
41433 wxString
*arg4
= 0 ;
41434 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41435 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41436 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41437 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41438 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41439 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41440 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41441 wxHyperlinkCtrl
*result
= 0 ;
41446 bool temp3
= false ;
41447 bool temp4
= false ;
41452 bool temp8
= false ;
41453 PyObject
* obj0
= 0 ;
41454 PyObject
* obj1
= 0 ;
41455 PyObject
* obj2
= 0 ;
41456 PyObject
* obj3
= 0 ;
41457 PyObject
* obj4
= 0 ;
41458 PyObject
* obj5
= 0 ;
41459 PyObject
* obj6
= 0 ;
41460 PyObject
* obj7
= 0 ;
41461 char * kwnames
[] = {
41462 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41467 if (!SWIG_IsOK(res1
)) {
41468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41472 if (!SWIG_IsOK(ecode2
)) {
41473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41475 arg2
= static_cast< int >(val2
);
41477 arg3
= wxString_in_helper(obj2
);
41478 if (arg3
== NULL
) SWIG_fail
;
41482 arg4
= wxString_in_helper(obj3
);
41483 if (arg4
== NULL
) SWIG_fail
;
41489 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41495 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41499 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41500 if (!SWIG_IsOK(ecode7
)) {
41501 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41503 arg7
= static_cast< long >(val7
);
41507 arg8
= wxString_in_helper(obj7
);
41508 if (arg8
== NULL
) SWIG_fail
;
41513 if (!wxPyCheckForApp()) SWIG_fail
;
41514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41515 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41516 wxPyEndAllowThreads(__tstate
);
41517 if (PyErr_Occurred()) SWIG_fail
;
41519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41550 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41551 PyObject
*resultobj
= 0;
41552 wxHyperlinkCtrl
*result
= 0 ;
41554 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41556 if (!wxPyCheckForApp()) SWIG_fail
;
41557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41558 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41559 wxPyEndAllowThreads(__tstate
);
41560 if (PyErr_Occurred()) SWIG_fail
;
41562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41569 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41570 PyObject
*resultobj
= 0;
41571 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41572 wxWindow
*arg2
= (wxWindow
*) 0 ;
41574 wxString
*arg4
= 0 ;
41575 wxString
*arg5
= 0 ;
41576 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41577 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41578 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41579 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41580 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41581 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41582 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41590 bool temp4
= false ;
41591 bool temp5
= false ;
41596 bool temp9
= false ;
41597 PyObject
* obj0
= 0 ;
41598 PyObject
* obj1
= 0 ;
41599 PyObject
* obj2
= 0 ;
41600 PyObject
* obj3
= 0 ;
41601 PyObject
* obj4
= 0 ;
41602 PyObject
* obj5
= 0 ;
41603 PyObject
* obj6
= 0 ;
41604 PyObject
* obj7
= 0 ;
41605 PyObject
* obj8
= 0 ;
41606 char * kwnames
[] = {
41607 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41612 if (!SWIG_IsOK(res1
)) {
41613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41615 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41617 if (!SWIG_IsOK(res2
)) {
41618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41620 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41622 if (!SWIG_IsOK(ecode3
)) {
41623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41625 arg3
= static_cast< int >(val3
);
41627 arg4
= wxString_in_helper(obj3
);
41628 if (arg4
== NULL
) SWIG_fail
;
41632 arg5
= wxString_in_helper(obj4
);
41633 if (arg5
== NULL
) SWIG_fail
;
41639 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41645 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41649 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41650 if (!SWIG_IsOK(ecode8
)) {
41651 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41653 arg8
= static_cast< long >(val8
);
41657 arg9
= wxString_in_helper(obj8
);
41658 if (arg9
== NULL
) SWIG_fail
;
41663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41665 wxPyEndAllowThreads(__tstate
);
41666 if (PyErr_Occurred()) SWIG_fail
;
41669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41701 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41702 PyObject
*resultobj
= 0;
41703 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41707 PyObject
*swig_obj
[1] ;
41709 if (!args
) SWIG_fail
;
41710 swig_obj
[0] = args
;
41711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41712 if (!SWIG_IsOK(res1
)) {
41713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41715 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41718 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41719 wxPyEndAllowThreads(__tstate
);
41720 if (PyErr_Occurred()) SWIG_fail
;
41722 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41729 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41730 PyObject
*resultobj
= 0;
41731 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41732 wxColour
*arg2
= 0 ;
41736 PyObject
* obj0
= 0 ;
41737 PyObject
* obj1
= 0 ;
41738 char * kwnames
[] = {
41739 (char *) "self",(char *) "colour", NULL
41742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41744 if (!SWIG_IsOK(res1
)) {
41745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41747 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41754 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41755 wxPyEndAllowThreads(__tstate
);
41756 if (PyErr_Occurred()) SWIG_fail
;
41758 resultobj
= SWIG_Py_Void();
41765 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41766 PyObject
*resultobj
= 0;
41767 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41771 PyObject
*swig_obj
[1] ;
41773 if (!args
) SWIG_fail
;
41774 swig_obj
[0] = args
;
41775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41776 if (!SWIG_IsOK(res1
)) {
41777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41779 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41782 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41783 wxPyEndAllowThreads(__tstate
);
41784 if (PyErr_Occurred()) SWIG_fail
;
41786 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41793 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41794 PyObject
*resultobj
= 0;
41795 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41796 wxColour
*arg2
= 0 ;
41800 PyObject
* obj0
= 0 ;
41801 PyObject
* obj1
= 0 ;
41802 char * kwnames
[] = {
41803 (char *) "self",(char *) "colour", NULL
41806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41808 if (!SWIG_IsOK(res1
)) {
41809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41811 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41818 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41819 wxPyEndAllowThreads(__tstate
);
41820 if (PyErr_Occurred()) SWIG_fail
;
41822 resultobj
= SWIG_Py_Void();
41829 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41830 PyObject
*resultobj
= 0;
41831 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41835 PyObject
*swig_obj
[1] ;
41837 if (!args
) SWIG_fail
;
41838 swig_obj
[0] = args
;
41839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41840 if (!SWIG_IsOK(res1
)) {
41841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41843 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41846 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41847 wxPyEndAllowThreads(__tstate
);
41848 if (PyErr_Occurred()) SWIG_fail
;
41850 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41857 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41858 PyObject
*resultobj
= 0;
41859 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41860 wxColour
*arg2
= 0 ;
41864 PyObject
* obj0
= 0 ;
41865 PyObject
* obj1
= 0 ;
41866 char * kwnames
[] = {
41867 (char *) "self",(char *) "colour", NULL
41870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41872 if (!SWIG_IsOK(res1
)) {
41873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41875 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41878 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41882 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41883 wxPyEndAllowThreads(__tstate
);
41884 if (PyErr_Occurred()) SWIG_fail
;
41886 resultobj
= SWIG_Py_Void();
41893 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41894 PyObject
*resultobj
= 0;
41895 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41899 PyObject
*swig_obj
[1] ;
41901 if (!args
) SWIG_fail
;
41902 swig_obj
[0] = args
;
41903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41904 if (!SWIG_IsOK(res1
)) {
41905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41907 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41910 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41911 wxPyEndAllowThreads(__tstate
);
41912 if (PyErr_Occurred()) SWIG_fail
;
41916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41927 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41928 PyObject
*resultobj
= 0;
41929 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41930 wxString
*arg2
= 0 ;
41933 bool temp2
= false ;
41934 PyObject
* obj0
= 0 ;
41935 PyObject
* obj1
= 0 ;
41936 char * kwnames
[] = {
41937 (char *) "self",(char *) "url", NULL
41940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41942 if (!SWIG_IsOK(res1
)) {
41943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41945 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41947 arg2
= wxString_in_helper(obj1
);
41948 if (arg2
== NULL
) SWIG_fail
;
41952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41953 (arg1
)->SetURL((wxString
const &)*arg2
);
41954 wxPyEndAllowThreads(__tstate
);
41955 if (PyErr_Occurred()) SWIG_fail
;
41957 resultobj
= SWIG_Py_Void();
41972 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41973 PyObject
*resultobj
= 0;
41974 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41975 bool arg2
= (bool) true ;
41980 PyObject
* obj0
= 0 ;
41981 PyObject
* obj1
= 0 ;
41982 char * kwnames
[] = {
41983 (char *) "self",(char *) "visited", NULL
41986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41988 if (!SWIG_IsOK(res1
)) {
41989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41991 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41993 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41994 if (!SWIG_IsOK(ecode2
)) {
41995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41997 arg2
= static_cast< bool >(val2
);
42000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42001 (arg1
)->SetVisited(arg2
);
42002 wxPyEndAllowThreads(__tstate
);
42003 if (PyErr_Occurred()) SWIG_fail
;
42005 resultobj
= SWIG_Py_Void();
42012 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42013 PyObject
*resultobj
= 0;
42014 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42018 PyObject
*swig_obj
[1] ;
42020 if (!args
) SWIG_fail
;
42021 swig_obj
[0] = args
;
42022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42023 if (!SWIG_IsOK(res1
)) {
42024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42026 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42029 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42030 wxPyEndAllowThreads(__tstate
);
42031 if (PyErr_Occurred()) SWIG_fail
;
42034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42042 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42045 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42046 return SWIG_Py_Void();
42049 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42050 return SWIG_Python_InitShadowInstance(args
);
42053 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42054 PyObject
*resultobj
= 0;
42055 wxObject
*arg1
= (wxObject
*) 0 ;
42057 wxString
*arg3
= 0 ;
42058 wxHyperlinkEvent
*result
= 0 ;
42063 bool temp3
= false ;
42064 PyObject
* obj0
= 0 ;
42065 PyObject
* obj1
= 0 ;
42066 PyObject
* obj2
= 0 ;
42067 char * kwnames
[] = {
42068 (char *) "generator",(char *) "id",(char *) "url", NULL
42071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42073 if (!SWIG_IsOK(res1
)) {
42074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42076 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42078 if (!SWIG_IsOK(ecode2
)) {
42079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42081 arg2
= static_cast< int >(val2
);
42083 arg3
= wxString_in_helper(obj2
);
42084 if (arg3
== NULL
) SWIG_fail
;
42088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42089 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42090 wxPyEndAllowThreads(__tstate
);
42091 if (PyErr_Occurred()) SWIG_fail
;
42093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42108 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42109 PyObject
*resultobj
= 0;
42110 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42114 PyObject
*swig_obj
[1] ;
42116 if (!args
) SWIG_fail
;
42117 swig_obj
[0] = args
;
42118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42119 if (!SWIG_IsOK(res1
)) {
42120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42122 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42125 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42126 wxPyEndAllowThreads(__tstate
);
42127 if (PyErr_Occurred()) SWIG_fail
;
42131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42142 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42143 PyObject
*resultobj
= 0;
42144 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42145 wxString
*arg2
= 0 ;
42148 bool temp2
= false ;
42149 PyObject
* obj0
= 0 ;
42150 PyObject
* obj1
= 0 ;
42151 char * kwnames
[] = {
42152 (char *) "self",(char *) "url", NULL
42155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42157 if (!SWIG_IsOK(res1
)) {
42158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42160 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42162 arg2
= wxString_in_helper(obj1
);
42163 if (arg2
== NULL
) SWIG_fail
;
42167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42168 (arg1
)->SetURL((wxString
const &)*arg2
);
42169 wxPyEndAllowThreads(__tstate
);
42170 if (PyErr_Occurred()) SWIG_fail
;
42172 resultobj
= SWIG_Py_Void();
42187 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42190 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42191 return SWIG_Py_Void();
42194 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42195 return SWIG_Python_InitShadowInstance(args
);
42198 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42199 PyObject
*resultobj
= 0;
42200 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42201 wxWindow
*arg2
= (wxWindow
*) 0 ;
42203 wxString
const &arg4_defvalue
= wxEmptyString
;
42204 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42205 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42206 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42207 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42208 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42209 long arg7
= (long) 0 ;
42210 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42211 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42212 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42213 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42221 bool temp4
= false ;
42228 bool temp9
= false ;
42229 PyObject
* obj0
= 0 ;
42230 PyObject
* obj1
= 0 ;
42231 PyObject
* obj2
= 0 ;
42232 PyObject
* obj3
= 0 ;
42233 PyObject
* obj4
= 0 ;
42234 PyObject
* obj5
= 0 ;
42235 PyObject
* obj6
= 0 ;
42236 PyObject
* obj7
= 0 ;
42237 PyObject
* obj8
= 0 ;
42238 char * kwnames
[] = {
42239 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42244 if (!SWIG_IsOK(res1
)) {
42245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42247 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42249 if (!SWIG_IsOK(res2
)) {
42250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42254 if (!SWIG_IsOK(ecode3
)) {
42255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42257 arg3
= static_cast< int >(val3
);
42260 arg4
= wxString_in_helper(obj3
);
42261 if (arg4
== NULL
) SWIG_fail
;
42268 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42274 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42278 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42279 if (!SWIG_IsOK(ecode7
)) {
42280 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42282 arg7
= static_cast< long >(val7
);
42285 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42286 if (!SWIG_IsOK(res8
)) {
42287 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42292 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42296 arg9
= wxString_in_helper(obj8
);
42297 if (arg9
== NULL
) SWIG_fail
;
42302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42303 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42304 wxPyEndAllowThreads(__tstate
);
42305 if (PyErr_Occurred()) SWIG_fail
;
42308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42332 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42333 PyObject
*resultobj
= 0;
42334 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42340 PyObject
* obj0
= 0 ;
42341 PyObject
* obj1
= 0 ;
42342 char * kwnames
[] = {
42343 (char *) "self",(char *) "newmargin", NULL
42346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42348 if (!SWIG_IsOK(res1
)) {
42349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42351 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42353 if (!SWIG_IsOK(ecode2
)) {
42354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42356 arg2
= static_cast< int >(val2
);
42358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42359 (arg1
)->SetInternalMargin(arg2
);
42360 wxPyEndAllowThreads(__tstate
);
42361 if (PyErr_Occurred()) SWIG_fail
;
42363 resultobj
= SWIG_Py_Void();
42370 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42371 PyObject
*resultobj
= 0;
42372 wxPickerBase
*arg1
= (wxPickerBase
*) 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_wxPickerBase
, 0 | 0 );
42381 if (!SWIG_IsOK(res1
)) {
42382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42384 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42387 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42388 wxPyEndAllowThreads(__tstate
);
42389 if (PyErr_Occurred()) SWIG_fail
;
42391 resultobj
= SWIG_From_int(static_cast< int >(result
));
42398 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42399 PyObject
*resultobj
= 0;
42400 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42406 PyObject
* obj0
= 0 ;
42407 PyObject
* obj1
= 0 ;
42408 char * kwnames
[] = {
42409 (char *) "self",(char *) "prop", NULL
42412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42414 if (!SWIG_IsOK(res1
)) {
42415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42417 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42419 if (!SWIG_IsOK(ecode2
)) {
42420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42422 arg2
= static_cast< int >(val2
);
42424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42425 (arg1
)->SetTextCtrlProportion(arg2
);
42426 wxPyEndAllowThreads(__tstate
);
42427 if (PyErr_Occurred()) SWIG_fail
;
42429 resultobj
= SWIG_Py_Void();
42436 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42437 PyObject
*resultobj
= 0;
42438 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42442 PyObject
*swig_obj
[1] ;
42444 if (!args
) SWIG_fail
;
42445 swig_obj
[0] = args
;
42446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42447 if (!SWIG_IsOK(res1
)) {
42448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42450 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42453 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42454 wxPyEndAllowThreads(__tstate
);
42455 if (PyErr_Occurred()) SWIG_fail
;
42457 resultobj
= SWIG_From_int(static_cast< int >(result
));
42464 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42465 PyObject
*resultobj
= 0;
42466 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42470 PyObject
*swig_obj
[1] ;
42472 if (!args
) SWIG_fail
;
42473 swig_obj
[0] = args
;
42474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42475 if (!SWIG_IsOK(res1
)) {
42476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42478 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42481 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42482 wxPyEndAllowThreads(__tstate
);
42483 if (PyErr_Occurred()) SWIG_fail
;
42486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42494 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42495 PyObject
*resultobj
= 0;
42496 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42497 bool arg2
= (bool) true ;
42502 PyObject
* obj0
= 0 ;
42503 PyObject
* obj1
= 0 ;
42504 char * kwnames
[] = {
42505 (char *) "self",(char *) "grow", NULL
42508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42510 if (!SWIG_IsOK(res1
)) {
42511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42513 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42515 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42516 if (!SWIG_IsOK(ecode2
)) {
42517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42519 arg2
= static_cast< bool >(val2
);
42522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42523 (arg1
)->SetTextCtrlGrowable(arg2
);
42524 wxPyEndAllowThreads(__tstate
);
42525 if (PyErr_Occurred()) SWIG_fail
;
42527 resultobj
= SWIG_Py_Void();
42534 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42535 PyObject
*resultobj
= 0;
42536 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42540 PyObject
*swig_obj
[1] ;
42542 if (!args
) SWIG_fail
;
42543 swig_obj
[0] = args
;
42544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42545 if (!SWIG_IsOK(res1
)) {
42546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42548 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42551 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42552 wxPyEndAllowThreads(__tstate
);
42553 if (PyErr_Occurred()) SWIG_fail
;
42556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42564 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42565 PyObject
*resultobj
= 0;
42566 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42567 bool arg2
= (bool) true ;
42572 PyObject
* obj0
= 0 ;
42573 PyObject
* obj1
= 0 ;
42574 char * kwnames
[] = {
42575 (char *) "self",(char *) "grow", NULL
42578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42580 if (!SWIG_IsOK(res1
)) {
42581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42583 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42585 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42586 if (!SWIG_IsOK(ecode2
)) {
42587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42589 arg2
= static_cast< bool >(val2
);
42592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42593 (arg1
)->SetPickerCtrlGrowable(arg2
);
42594 wxPyEndAllowThreads(__tstate
);
42595 if (PyErr_Occurred()) SWIG_fail
;
42597 resultobj
= SWIG_Py_Void();
42604 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42605 PyObject
*resultobj
= 0;
42606 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42610 PyObject
*swig_obj
[1] ;
42612 if (!args
) SWIG_fail
;
42613 swig_obj
[0] = args
;
42614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42615 if (!SWIG_IsOK(res1
)) {
42616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42618 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42621 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42622 wxPyEndAllowThreads(__tstate
);
42623 if (PyErr_Occurred()) SWIG_fail
;
42626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42634 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42635 PyObject
*resultobj
= 0;
42636 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42637 wxTextCtrl
*result
= 0 ;
42640 PyObject
*swig_obj
[1] ;
42642 if (!args
) SWIG_fail
;
42643 swig_obj
[0] = args
;
42644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42645 if (!SWIG_IsOK(res1
)) {
42646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42648 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42651 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42652 wxPyEndAllowThreads(__tstate
);
42653 if (PyErr_Occurred()) SWIG_fail
;
42656 resultobj
= wxPyMake_wxObject(result
, 0);
42664 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42665 PyObject
*resultobj
= 0;
42666 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42667 wxControl
*result
= 0 ;
42670 PyObject
*swig_obj
[1] ;
42672 if (!args
) SWIG_fail
;
42673 swig_obj
[0] = args
;
42674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42675 if (!SWIG_IsOK(res1
)) {
42676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42678 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42681 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42682 wxPyEndAllowThreads(__tstate
);
42683 if (PyErr_Occurred()) SWIG_fail
;
42686 resultobj
= wxPyMake_wxObject(result
, 0);
42694 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42697 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42698 return SWIG_Py_Void();
42701 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42702 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42707 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42708 PyObject
*pyobj
= 0;
42712 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42714 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42721 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42722 PyObject
*resultobj
= 0;
42723 wxWindow
*arg1
= (wxWindow
*) 0 ;
42724 int arg2
= (int) -1 ;
42725 wxColour
const &arg3_defvalue
= *wxBLACK
;
42726 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42727 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42728 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42729 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42730 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42731 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42732 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42733 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42734 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42735 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42736 wxColourPickerCtrl
*result
= 0 ;
42748 bool temp8
= false ;
42749 PyObject
* obj0
= 0 ;
42750 PyObject
* obj1
= 0 ;
42751 PyObject
* obj2
= 0 ;
42752 PyObject
* obj3
= 0 ;
42753 PyObject
* obj4
= 0 ;
42754 PyObject
* obj5
= 0 ;
42755 PyObject
* obj6
= 0 ;
42756 PyObject
* obj7
= 0 ;
42757 char * kwnames
[] = {
42758 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42763 if (!SWIG_IsOK(res1
)) {
42764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42769 if (!SWIG_IsOK(ecode2
)) {
42770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42772 arg2
= static_cast< int >(val2
);
42777 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42793 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42794 if (!SWIG_IsOK(ecode6
)) {
42795 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42797 arg6
= static_cast< long >(val6
);
42800 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42801 if (!SWIG_IsOK(res7
)) {
42802 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42807 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42811 arg8
= wxString_in_helper(obj7
);
42812 if (arg8
== NULL
) SWIG_fail
;
42817 if (!wxPyCheckForApp()) SWIG_fail
;
42818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42819 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42820 wxPyEndAllowThreads(__tstate
);
42821 if (PyErr_Occurred()) SWIG_fail
;
42823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42838 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42839 PyObject
*resultobj
= 0;
42840 wxColourPickerCtrl
*result
= 0 ;
42842 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42844 if (!wxPyCheckForApp()) SWIG_fail
;
42845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42846 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42847 wxPyEndAllowThreads(__tstate
);
42848 if (PyErr_Occurred()) SWIG_fail
;
42850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42857 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42858 PyObject
*resultobj
= 0;
42859 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42860 wxWindow
*arg2
= (wxWindow
*) 0 ;
42862 wxColour
const &arg4_defvalue
= *wxBLACK
;
42863 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42868 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42869 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42870 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42871 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42872 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42887 bool temp9
= false ;
42888 PyObject
* obj0
= 0 ;
42889 PyObject
* obj1
= 0 ;
42890 PyObject
* obj2
= 0 ;
42891 PyObject
* obj3
= 0 ;
42892 PyObject
* obj4
= 0 ;
42893 PyObject
* obj5
= 0 ;
42894 PyObject
* obj6
= 0 ;
42895 PyObject
* obj7
= 0 ;
42896 PyObject
* obj8
= 0 ;
42897 char * kwnames
[] = {
42898 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42903 if (!SWIG_IsOK(res1
)) {
42904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42906 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42908 if (!SWIG_IsOK(res2
)) {
42909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42911 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42913 if (!SWIG_IsOK(ecode3
)) {
42914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42916 arg3
= static_cast< int >(val3
);
42920 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
42926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42936 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42937 if (!SWIG_IsOK(ecode7
)) {
42938 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42940 arg7
= static_cast< long >(val7
);
42943 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42944 if (!SWIG_IsOK(res8
)) {
42945 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42950 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42954 arg9
= wxString_in_helper(obj8
);
42955 if (arg9
== NULL
) SWIG_fail
;
42960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42961 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42962 wxPyEndAllowThreads(__tstate
);
42963 if (PyErr_Occurred()) SWIG_fail
;
42966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42982 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42983 PyObject
*resultobj
= 0;
42984 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42988 PyObject
*swig_obj
[1] ;
42990 if (!args
) SWIG_fail
;
42991 swig_obj
[0] = args
;
42992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42993 if (!SWIG_IsOK(res1
)) {
42994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
42996 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42999 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43000 wxPyEndAllowThreads(__tstate
);
43001 if (PyErr_Occurred()) SWIG_fail
;
43003 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43010 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43011 PyObject
*resultobj
= 0;
43012 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43013 wxColour
*arg2
= 0 ;
43017 PyObject
* obj0
= 0 ;
43018 PyObject
* obj1
= 0 ;
43019 char * kwnames
[] = {
43020 (char *) "self",(char *) "col", NULL
43023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43025 if (!SWIG_IsOK(res1
)) {
43026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43028 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43035 (arg1
)->SetColour((wxColour
const &)*arg2
);
43036 wxPyEndAllowThreads(__tstate
);
43037 if (PyErr_Occurred()) SWIG_fail
;
43039 resultobj
= SWIG_Py_Void();
43046 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43049 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43050 return SWIG_Py_Void();
43053 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43054 return SWIG_Python_InitShadowInstance(args
);
43057 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43058 PyObject
*resultobj
= 0;
43059 wxObject
*arg1
= (wxObject
*) 0 ;
43061 wxColour
*arg3
= 0 ;
43062 wxColourPickerEvent
*result
= 0 ;
43068 PyObject
* obj0
= 0 ;
43069 PyObject
* obj1
= 0 ;
43070 PyObject
* obj2
= 0 ;
43071 char * kwnames
[] = {
43072 (char *) "generator",(char *) "id",(char *) "col", NULL
43075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43077 if (!SWIG_IsOK(res1
)) {
43078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43080 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43082 if (!SWIG_IsOK(ecode2
)) {
43083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43085 arg2
= static_cast< int >(val2
);
43088 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43092 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43093 wxPyEndAllowThreads(__tstate
);
43094 if (PyErr_Occurred()) SWIG_fail
;
43096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43103 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43104 PyObject
*resultobj
= 0;
43105 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43109 PyObject
*swig_obj
[1] ;
43111 if (!args
) SWIG_fail
;
43112 swig_obj
[0] = args
;
43113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43114 if (!SWIG_IsOK(res1
)) {
43115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43117 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43120 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43121 wxPyEndAllowThreads(__tstate
);
43122 if (PyErr_Occurred()) SWIG_fail
;
43124 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43131 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43132 PyObject
*resultobj
= 0;
43133 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43134 wxColour
*arg2
= 0 ;
43138 PyObject
* obj0
= 0 ;
43139 PyObject
* obj1
= 0 ;
43140 char * kwnames
[] = {
43141 (char *) "self",(char *) "c", NULL
43144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43146 if (!SWIG_IsOK(res1
)) {
43147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43149 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43152 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43156 (arg1
)->SetColour((wxColour
const &)*arg2
);
43157 wxPyEndAllowThreads(__tstate
);
43158 if (PyErr_Occurred()) SWIG_fail
;
43160 resultobj
= SWIG_Py_Void();
43167 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43170 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43171 return SWIG_Py_Void();
43174 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43175 return SWIG_Python_InitShadowInstance(args
);
43178 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43179 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43184 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43185 PyObject
*pyobj
= 0;
43189 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43191 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43198 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43199 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43204 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43205 PyObject
*pyobj
= 0;
43209 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43211 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43218 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43219 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43224 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43225 PyObject
*pyobj
= 0;
43229 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43231 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43238 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43239 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43244 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43245 PyObject
*pyobj
= 0;
43249 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43251 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43258 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43259 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43264 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43265 PyObject
*pyobj
= 0;
43269 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43271 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43278 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43279 PyObject
*resultobj
= 0;
43280 wxWindow
*arg1
= (wxWindow
*) 0 ;
43281 int arg2
= (int) -1 ;
43282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43284 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43286 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43287 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43288 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43289 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43290 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43291 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43292 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43293 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43294 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43295 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43296 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43297 wxFilePickerCtrl
*result
= 0 ;
43302 bool temp3
= false ;
43303 bool temp4
= false ;
43304 bool temp5
= false ;
43311 bool temp10
= false ;
43312 PyObject
* obj0
= 0 ;
43313 PyObject
* obj1
= 0 ;
43314 PyObject
* obj2
= 0 ;
43315 PyObject
* obj3
= 0 ;
43316 PyObject
* obj4
= 0 ;
43317 PyObject
* obj5
= 0 ;
43318 PyObject
* obj6
= 0 ;
43319 PyObject
* obj7
= 0 ;
43320 PyObject
* obj8
= 0 ;
43321 PyObject
* obj9
= 0 ;
43322 char * kwnames
[] = {
43323 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43328 if (!SWIG_IsOK(res1
)) {
43329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43331 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43334 if (!SWIG_IsOK(ecode2
)) {
43335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43337 arg2
= static_cast< int >(val2
);
43341 arg3
= wxString_in_helper(obj2
);
43342 if (arg3
== NULL
) SWIG_fail
;
43348 arg4
= wxString_in_helper(obj3
);
43349 if (arg4
== NULL
) SWIG_fail
;
43355 arg5
= wxString_in_helper(obj4
);
43356 if (arg5
== NULL
) SWIG_fail
;
43363 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43369 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43373 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43374 if (!SWIG_IsOK(ecode8
)) {
43375 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43377 arg8
= static_cast< long >(val8
);
43380 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43381 if (!SWIG_IsOK(res9
)) {
43382 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43387 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43391 arg10
= wxString_in_helper(obj9
);
43392 if (arg10
== NULL
) SWIG_fail
;
43397 if (!wxPyCheckForApp()) SWIG_fail
;
43398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43399 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
);
43400 wxPyEndAllowThreads(__tstate
);
43401 if (PyErr_Occurred()) SWIG_fail
;
43403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43442 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43443 PyObject
*resultobj
= 0;
43444 wxFilePickerCtrl
*result
= 0 ;
43446 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43448 if (!wxPyCheckForApp()) SWIG_fail
;
43449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43450 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43451 wxPyEndAllowThreads(__tstate
);
43452 if (PyErr_Occurred()) SWIG_fail
;
43454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43461 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43462 PyObject
*resultobj
= 0;
43463 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43464 wxWindow
*arg2
= (wxWindow
*) 0 ;
43465 int arg3
= (int) -1 ;
43466 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43468 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43469 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43470 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43471 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43472 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43473 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43474 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43475 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43476 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43477 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43478 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43479 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43480 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43488 bool temp4
= false ;
43489 bool temp5
= false ;
43490 bool temp6
= false ;
43497 bool temp11
= false ;
43498 PyObject
* obj0
= 0 ;
43499 PyObject
* obj1
= 0 ;
43500 PyObject
* obj2
= 0 ;
43501 PyObject
* obj3
= 0 ;
43502 PyObject
* obj4
= 0 ;
43503 PyObject
* obj5
= 0 ;
43504 PyObject
* obj6
= 0 ;
43505 PyObject
* obj7
= 0 ;
43506 PyObject
* obj8
= 0 ;
43507 PyObject
* obj9
= 0 ;
43508 PyObject
* obj10
= 0 ;
43509 char * kwnames
[] = {
43510 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43515 if (!SWIG_IsOK(res1
)) {
43516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43518 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43520 if (!SWIG_IsOK(res2
)) {
43521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43523 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43526 if (!SWIG_IsOK(ecode3
)) {
43527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43529 arg3
= static_cast< int >(val3
);
43533 arg4
= wxString_in_helper(obj3
);
43534 if (arg4
== NULL
) SWIG_fail
;
43540 arg5
= wxString_in_helper(obj4
);
43541 if (arg5
== NULL
) SWIG_fail
;
43547 arg6
= wxString_in_helper(obj5
);
43548 if (arg6
== NULL
) SWIG_fail
;
43555 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43561 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43565 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43566 if (!SWIG_IsOK(ecode9
)) {
43567 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43569 arg9
= static_cast< long >(val9
);
43572 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43573 if (!SWIG_IsOK(res10
)) {
43574 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43579 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43583 arg11
= wxString_in_helper(obj10
);
43584 if (arg11
== NULL
) SWIG_fail
;
43589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43590 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
);
43591 wxPyEndAllowThreads(__tstate
);
43592 if (PyErr_Occurred()) SWIG_fail
;
43595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43635 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43636 PyObject
*resultobj
= 0;
43637 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43641 PyObject
*swig_obj
[1] ;
43643 if (!args
) SWIG_fail
;
43644 swig_obj
[0] = args
;
43645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43646 if (!SWIG_IsOK(res1
)) {
43647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43649 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43652 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43653 wxPyEndAllowThreads(__tstate
);
43654 if (PyErr_Occurred()) SWIG_fail
;
43658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43669 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43670 PyObject
*resultobj
= 0;
43671 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43672 wxString
*arg2
= 0 ;
43675 bool temp2
= false ;
43676 PyObject
* obj0
= 0 ;
43677 PyObject
* obj1
= 0 ;
43678 char * kwnames
[] = {
43679 (char *) "self",(char *) "str", NULL
43682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43684 if (!SWIG_IsOK(res1
)) {
43685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43687 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43689 arg2
= wxString_in_helper(obj1
);
43690 if (arg2
== NULL
) SWIG_fail
;
43694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43695 (arg1
)->SetPath((wxString
const &)*arg2
);
43696 wxPyEndAllowThreads(__tstate
);
43697 if (PyErr_Occurred()) SWIG_fail
;
43699 resultobj
= SWIG_Py_Void();
43714 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43715 PyObject
*resultobj
= 0;
43716 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43717 wxString
*arg2
= 0 ;
43721 bool temp2
= false ;
43722 PyObject
* obj0
= 0 ;
43723 PyObject
* obj1
= 0 ;
43724 char * kwnames
[] = {
43725 (char *) "self",(char *) "path", NULL
43728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43730 if (!SWIG_IsOK(res1
)) {
43731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43733 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43735 arg2
= wxString_in_helper(obj1
);
43736 if (arg2
== NULL
) SWIG_fail
;
43740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43741 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43742 wxPyEndAllowThreads(__tstate
);
43743 if (PyErr_Occurred()) SWIG_fail
;
43746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43762 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43763 PyObject
*resultobj
= 0;
43764 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43768 PyObject
*swig_obj
[1] ;
43770 if (!args
) SWIG_fail
;
43771 swig_obj
[0] = args
;
43772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43773 if (!SWIG_IsOK(res1
)) {
43774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43776 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43779 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43780 wxPyEndAllowThreads(__tstate
);
43781 if (PyErr_Occurred()) SWIG_fail
;
43785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43796 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43799 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43800 return SWIG_Py_Void();
43803 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43804 return SWIG_Python_InitShadowInstance(args
);
43807 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43808 PyObject
*resultobj
= 0;
43809 wxWindow
*arg1
= (wxWindow
*) 0 ;
43810 int arg2
= (int) -1 ;
43811 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43812 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43813 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43814 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43815 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43816 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43817 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43818 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43819 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43820 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43821 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43822 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43823 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43824 wxDirPickerCtrl
*result
= 0 ;
43829 bool temp3
= false ;
43830 bool temp4
= false ;
43837 bool temp9
= false ;
43838 PyObject
* obj0
= 0 ;
43839 PyObject
* obj1
= 0 ;
43840 PyObject
* obj2
= 0 ;
43841 PyObject
* obj3
= 0 ;
43842 PyObject
* obj4
= 0 ;
43843 PyObject
* obj5
= 0 ;
43844 PyObject
* obj6
= 0 ;
43845 PyObject
* obj7
= 0 ;
43846 PyObject
* obj8
= 0 ;
43847 char * kwnames
[] = {
43848 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43853 if (!SWIG_IsOK(res1
)) {
43854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43859 if (!SWIG_IsOK(ecode2
)) {
43860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43862 arg2
= static_cast< int >(val2
);
43866 arg3
= wxString_in_helper(obj2
);
43867 if (arg3
== NULL
) SWIG_fail
;
43873 arg4
= wxString_in_helper(obj3
);
43874 if (arg4
== NULL
) SWIG_fail
;
43881 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43887 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43891 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43892 if (!SWIG_IsOK(ecode7
)) {
43893 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43895 arg7
= static_cast< long >(val7
);
43898 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43899 if (!SWIG_IsOK(res8
)) {
43900 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43905 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43909 arg9
= wxString_in_helper(obj8
);
43910 if (arg9
== NULL
) SWIG_fail
;
43915 if (!wxPyCheckForApp()) SWIG_fail
;
43916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43917 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
);
43918 wxPyEndAllowThreads(__tstate
);
43919 if (PyErr_Occurred()) SWIG_fail
;
43921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43952 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43953 PyObject
*resultobj
= 0;
43954 wxDirPickerCtrl
*result
= 0 ;
43956 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
43958 if (!wxPyCheckForApp()) SWIG_fail
;
43959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43960 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
43961 wxPyEndAllowThreads(__tstate
);
43962 if (PyErr_Occurred()) SWIG_fail
;
43964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43971 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43972 PyObject
*resultobj
= 0;
43973 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43974 wxWindow
*arg2
= (wxWindow
*) 0 ;
43975 int arg3
= (int) -1 ;
43976 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43977 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43978 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
43979 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43980 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43981 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43982 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43983 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43984 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
43985 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43986 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43987 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
43988 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43996 bool temp4
= false ;
43997 bool temp5
= false ;
44004 bool temp10
= false ;
44005 PyObject
* obj0
= 0 ;
44006 PyObject
* obj1
= 0 ;
44007 PyObject
* obj2
= 0 ;
44008 PyObject
* obj3
= 0 ;
44009 PyObject
* obj4
= 0 ;
44010 PyObject
* obj5
= 0 ;
44011 PyObject
* obj6
= 0 ;
44012 PyObject
* obj7
= 0 ;
44013 PyObject
* obj8
= 0 ;
44014 PyObject
* obj9
= 0 ;
44015 char * kwnames
[] = {
44016 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44021 if (!SWIG_IsOK(res1
)) {
44022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44024 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44025 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44026 if (!SWIG_IsOK(res2
)) {
44027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44029 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44032 if (!SWIG_IsOK(ecode3
)) {
44033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44035 arg3
= static_cast< int >(val3
);
44039 arg4
= wxString_in_helper(obj3
);
44040 if (arg4
== NULL
) SWIG_fail
;
44046 arg5
= wxString_in_helper(obj4
);
44047 if (arg5
== NULL
) SWIG_fail
;
44054 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44060 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44064 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44065 if (!SWIG_IsOK(ecode8
)) {
44066 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44068 arg8
= static_cast< long >(val8
);
44071 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44072 if (!SWIG_IsOK(res9
)) {
44073 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44078 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44082 arg10
= wxString_in_helper(obj9
);
44083 if (arg10
== NULL
) SWIG_fail
;
44088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44089 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
);
44090 wxPyEndAllowThreads(__tstate
);
44091 if (PyErr_Occurred()) SWIG_fail
;
44094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44126 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44127 PyObject
*resultobj
= 0;
44128 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44132 PyObject
*swig_obj
[1] ;
44134 if (!args
) SWIG_fail
;
44135 swig_obj
[0] = args
;
44136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44137 if (!SWIG_IsOK(res1
)) {
44138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44140 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44143 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44144 wxPyEndAllowThreads(__tstate
);
44145 if (PyErr_Occurred()) SWIG_fail
;
44149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44160 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44161 PyObject
*resultobj
= 0;
44162 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44163 wxString
*arg2
= 0 ;
44166 bool temp2
= false ;
44167 PyObject
* obj0
= 0 ;
44168 PyObject
* obj1
= 0 ;
44169 char * kwnames
[] = {
44170 (char *) "self",(char *) "str", NULL
44173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44175 if (!SWIG_IsOK(res1
)) {
44176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44178 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44180 arg2
= wxString_in_helper(obj1
);
44181 if (arg2
== NULL
) SWIG_fail
;
44185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44186 (arg1
)->SetPath((wxString
const &)*arg2
);
44187 wxPyEndAllowThreads(__tstate
);
44188 if (PyErr_Occurred()) SWIG_fail
;
44190 resultobj
= SWIG_Py_Void();
44205 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44206 PyObject
*resultobj
= 0;
44207 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44208 wxString
*arg2
= 0 ;
44212 bool temp2
= false ;
44213 PyObject
* obj0
= 0 ;
44214 PyObject
* obj1
= 0 ;
44215 char * kwnames
[] = {
44216 (char *) "self",(char *) "path", NULL
44219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44221 if (!SWIG_IsOK(res1
)) {
44222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44224 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44226 arg2
= wxString_in_helper(obj1
);
44227 if (arg2
== NULL
) SWIG_fail
;
44231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44232 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44233 wxPyEndAllowThreads(__tstate
);
44234 if (PyErr_Occurred()) SWIG_fail
;
44237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44253 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44254 PyObject
*resultobj
= 0;
44255 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44259 PyObject
*swig_obj
[1] ;
44261 if (!args
) SWIG_fail
;
44262 swig_obj
[0] = args
;
44263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44264 if (!SWIG_IsOK(res1
)) {
44265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44267 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44270 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44271 wxPyEndAllowThreads(__tstate
);
44272 if (PyErr_Occurred()) SWIG_fail
;
44276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44287 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44290 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44291 return SWIG_Py_Void();
44294 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44295 return SWIG_Python_InitShadowInstance(args
);
44298 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44299 PyObject
*resultobj
= 0;
44301 wxObject
*arg2
= (wxObject
*) 0 ;
44303 wxString
*arg4
= 0 ;
44304 wxFileDirPickerEvent
*result
= 0 ;
44311 bool temp4
= false ;
44312 PyObject
* obj0
= 0 ;
44313 PyObject
* obj1
= 0 ;
44314 PyObject
* obj2
= 0 ;
44315 PyObject
* obj3
= 0 ;
44316 char * kwnames
[] = {
44317 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44322 if (!SWIG_IsOK(ecode1
)) {
44323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44325 arg1
= static_cast< wxEventType
>(val1
);
44326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44327 if (!SWIG_IsOK(res2
)) {
44328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44330 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44332 if (!SWIG_IsOK(ecode3
)) {
44333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44335 arg3
= static_cast< int >(val3
);
44337 arg4
= wxString_in_helper(obj3
);
44338 if (arg4
== NULL
) SWIG_fail
;
44342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44343 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44344 wxPyEndAllowThreads(__tstate
);
44345 if (PyErr_Occurred()) SWIG_fail
;
44347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44362 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44363 PyObject
*resultobj
= 0;
44364 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44368 PyObject
*swig_obj
[1] ;
44370 if (!args
) SWIG_fail
;
44371 swig_obj
[0] = args
;
44372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44373 if (!SWIG_IsOK(res1
)) {
44374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44376 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44379 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44380 wxPyEndAllowThreads(__tstate
);
44381 if (PyErr_Occurred()) SWIG_fail
;
44385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44396 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44397 PyObject
*resultobj
= 0;
44398 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44399 wxString
*arg2
= 0 ;
44402 bool temp2
= false ;
44403 PyObject
* obj0
= 0 ;
44404 PyObject
* obj1
= 0 ;
44405 char * kwnames
[] = {
44406 (char *) "self",(char *) "p", NULL
44409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44411 if (!SWIG_IsOK(res1
)) {
44412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44414 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44416 arg2
= wxString_in_helper(obj1
);
44417 if (arg2
== NULL
) SWIG_fail
;
44421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44422 (arg1
)->SetPath((wxString
const &)*arg2
);
44423 wxPyEndAllowThreads(__tstate
);
44424 if (PyErr_Occurred()) SWIG_fail
;
44426 resultobj
= SWIG_Py_Void();
44441 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44443 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44444 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44445 return SWIG_Py_Void();
44448 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44449 return SWIG_Python_InitShadowInstance(args
);
44452 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44453 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44458 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44459 PyObject
*pyobj
= 0;
44463 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44465 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44472 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44473 PyObject
*resultobj
= 0;
44474 wxWindow
*arg1
= (wxWindow
*) 0 ;
44475 int arg2
= (int) -1 ;
44476 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44477 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44482 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44483 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44484 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44485 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44487 wxFontPickerCtrl
*result
= 0 ;
44500 bool temp8
= false ;
44501 PyObject
* obj0
= 0 ;
44502 PyObject
* obj1
= 0 ;
44503 PyObject
* obj2
= 0 ;
44504 PyObject
* obj3
= 0 ;
44505 PyObject
* obj4
= 0 ;
44506 PyObject
* obj5
= 0 ;
44507 PyObject
* obj6
= 0 ;
44508 PyObject
* obj7
= 0 ;
44509 char * kwnames
[] = {
44510 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44515 if (!SWIG_IsOK(res1
)) {
44516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44518 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44521 if (!SWIG_IsOK(ecode2
)) {
44522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44524 arg2
= static_cast< int >(val2
);
44527 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44528 if (!SWIG_IsOK(res3
)) {
44529 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44534 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44549 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44550 if (!SWIG_IsOK(ecode6
)) {
44551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44553 arg6
= static_cast< long >(val6
);
44556 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44557 if (!SWIG_IsOK(res7
)) {
44558 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44563 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44567 arg8
= wxString_in_helper(obj7
);
44568 if (arg8
== NULL
) SWIG_fail
;
44573 if (!wxPyCheckForApp()) SWIG_fail
;
44574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44575 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44576 wxPyEndAllowThreads(__tstate
);
44577 if (PyErr_Occurred()) SWIG_fail
;
44579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44594 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44595 PyObject
*resultobj
= 0;
44596 wxFontPickerCtrl
*result
= 0 ;
44598 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44600 if (!wxPyCheckForApp()) SWIG_fail
;
44601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44602 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44603 wxPyEndAllowThreads(__tstate
);
44604 if (PyErr_Occurred()) SWIG_fail
;
44606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44613 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44614 PyObject
*resultobj
= 0;
44615 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44616 wxWindow
*arg2
= (wxWindow
*) 0 ;
44617 int arg3
= (int) -1 ;
44618 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44619 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44620 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44621 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44622 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44623 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44624 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44625 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44626 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44627 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44628 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44644 bool temp9
= false ;
44645 PyObject
* obj0
= 0 ;
44646 PyObject
* obj1
= 0 ;
44647 PyObject
* obj2
= 0 ;
44648 PyObject
* obj3
= 0 ;
44649 PyObject
* obj4
= 0 ;
44650 PyObject
* obj5
= 0 ;
44651 PyObject
* obj6
= 0 ;
44652 PyObject
* obj7
= 0 ;
44653 PyObject
* obj8
= 0 ;
44654 char * kwnames
[] = {
44655 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44660 if (!SWIG_IsOK(res1
)) {
44661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44663 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44665 if (!SWIG_IsOK(res2
)) {
44666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44671 if (!SWIG_IsOK(ecode3
)) {
44672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44674 arg3
= static_cast< int >(val3
);
44677 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44678 if (!SWIG_IsOK(res4
)) {
44679 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44684 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44689 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44695 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44699 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44700 if (!SWIG_IsOK(ecode7
)) {
44701 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44703 arg7
= static_cast< long >(val7
);
44706 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44707 if (!SWIG_IsOK(res8
)) {
44708 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44713 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44717 arg9
= wxString_in_helper(obj8
);
44718 if (arg9
== NULL
) SWIG_fail
;
44723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44725 wxPyEndAllowThreads(__tstate
);
44726 if (PyErr_Occurred()) SWIG_fail
;
44729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44745 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44746 PyObject
*resultobj
= 0;
44747 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44751 PyObject
*swig_obj
[1] ;
44753 if (!args
) SWIG_fail
;
44754 swig_obj
[0] = args
;
44755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44756 if (!SWIG_IsOK(res1
)) {
44757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44759 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44762 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44763 wxPyEndAllowThreads(__tstate
);
44764 if (PyErr_Occurred()) SWIG_fail
;
44766 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44773 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44774 PyObject
*resultobj
= 0;
44775 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44781 PyObject
* obj0
= 0 ;
44782 PyObject
* obj1
= 0 ;
44783 char * kwnames
[] = {
44784 (char *) "self",(char *) "f", NULL
44787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44789 if (!SWIG_IsOK(res1
)) {
44790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44792 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44794 if (!SWIG_IsOK(res2
)) {
44795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44800 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44803 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44804 wxPyEndAllowThreads(__tstate
);
44805 if (PyErr_Occurred()) SWIG_fail
;
44807 resultobj
= SWIG_Py_Void();
44814 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44815 PyObject
*resultobj
= 0;
44816 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44817 unsigned int arg2
;
44820 unsigned int val2
;
44822 PyObject
* obj0
= 0 ;
44823 PyObject
* obj1
= 0 ;
44824 char * kwnames
[] = {
44825 (char *) "self",(char *) "max", NULL
44828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44830 if (!SWIG_IsOK(res1
)) {
44831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44833 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44834 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44835 if (!SWIG_IsOK(ecode2
)) {
44836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44838 arg2
= static_cast< unsigned int >(val2
);
44840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44841 (arg1
)->SetMaxPointSize(arg2
);
44842 wxPyEndAllowThreads(__tstate
);
44843 if (PyErr_Occurred()) SWIG_fail
;
44845 resultobj
= SWIG_Py_Void();
44852 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44853 PyObject
*resultobj
= 0;
44854 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44855 unsigned int result
;
44858 PyObject
*swig_obj
[1] ;
44860 if (!args
) SWIG_fail
;
44861 swig_obj
[0] = args
;
44862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44863 if (!SWIG_IsOK(res1
)) {
44864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44866 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44869 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44870 wxPyEndAllowThreads(__tstate
);
44871 if (PyErr_Occurred()) SWIG_fail
;
44873 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44880 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44883 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44884 return SWIG_Py_Void();
44887 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44888 return SWIG_Python_InitShadowInstance(args
);
44891 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44892 PyObject
*resultobj
= 0;
44893 wxObject
*arg1
= (wxObject
*) 0 ;
44896 wxFontPickerEvent
*result
= 0 ;
44903 PyObject
* obj0
= 0 ;
44904 PyObject
* obj1
= 0 ;
44905 PyObject
* obj2
= 0 ;
44906 char * kwnames
[] = {
44907 (char *) "generator",(char *) "id",(char *) "f", NULL
44910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44912 if (!SWIG_IsOK(res1
)) {
44913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44915 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44917 if (!SWIG_IsOK(ecode2
)) {
44918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44920 arg2
= static_cast< int >(val2
);
44921 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44922 if (!SWIG_IsOK(res3
)) {
44923 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44928 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44931 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
44932 wxPyEndAllowThreads(__tstate
);
44933 if (PyErr_Occurred()) SWIG_fail
;
44935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
44942 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44943 PyObject
*resultobj
= 0;
44944 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44948 PyObject
*swig_obj
[1] ;
44950 if (!args
) SWIG_fail
;
44951 swig_obj
[0] = args
;
44952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44953 if (!SWIG_IsOK(res1
)) {
44954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44956 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44959 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
44960 wxPyEndAllowThreads(__tstate
);
44961 if (PyErr_Occurred()) SWIG_fail
;
44963 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44970 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44971 PyObject
*resultobj
= 0;
44972 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44978 PyObject
* obj0
= 0 ;
44979 PyObject
* obj1
= 0 ;
44980 char * kwnames
[] = {
44981 (char *) "self",(char *) "c", NULL
44984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44986 if (!SWIG_IsOK(res1
)) {
44987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44989 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44991 if (!SWIG_IsOK(res2
)) {
44992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44997 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45000 (arg1
)->SetFont((wxFont
const &)*arg2
);
45001 wxPyEndAllowThreads(__tstate
);
45002 if (PyErr_Occurred()) SWIG_fail
;
45004 resultobj
= SWIG_Py_Void();
45011 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45014 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45015 return SWIG_Py_Void();
45018 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45019 return SWIG_Python_InitShadowInstance(args
);
45022 static PyMethodDef SwigMethods
[] = {
45023 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45025 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45027 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45028 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45030 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45031 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45033 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45035 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45036 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45037 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45038 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45039 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45046 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45047 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45048 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45049 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45051 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45053 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45054 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45056 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45058 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45059 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45061 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45062 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45064 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45066 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45068 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45069 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45071 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45073 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45075 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45076 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45077 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45079 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45080 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45083 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45087 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45089 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45090 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45091 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45092 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45093 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45094 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45095 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45096 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45097 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45099 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45100 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45102 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45105 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45107 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45108 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45110 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45112 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45114 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45115 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45117 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45120 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45121 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45123 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45125 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45126 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45128 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45129 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45131 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45135 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45136 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45138 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45140 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45144 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45145 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45147 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45158 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45163 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45169 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45170 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45172 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45176 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45177 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45179 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45180 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45190 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45191 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45192 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45193 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45194 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45195 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45196 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45198 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45199 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45200 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45201 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45202 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45203 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45204 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45205 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45206 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45207 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45209 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45210 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45212 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45214 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45219 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45220 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45221 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45222 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45223 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45224 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45225 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45226 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45231 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45232 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45241 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45247 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45248 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45249 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45250 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45251 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45252 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45253 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45254 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45255 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45256 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45258 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45259 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45260 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45262 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45267 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45268 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45270 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45271 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45272 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45273 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45274 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45276 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45278 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45279 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45280 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45281 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45282 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45285 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45286 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45288 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45290 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45291 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45292 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45297 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45299 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45300 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45302 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45304 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45308 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45309 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45312 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45313 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45315 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45317 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45318 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45320 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45323 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45324 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45326 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45334 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45335 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45342 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45343 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45345 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45347 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45350 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45351 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45353 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45355 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45358 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45359 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45364 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45365 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45367 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45369 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45370 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45372 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45373 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45374 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45377 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45378 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45380 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45383 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45385 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45386 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45387 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45389 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45390 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45395 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45400 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45402 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45404 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45406 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45407 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45410 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45417 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45419 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45421 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45423 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45424 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45426 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45428 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45431 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45433 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45434 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45436 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45437 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45439 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45441 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45442 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45443 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45445 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45446 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45448 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45450 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45451 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45452 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45454 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45455 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45457 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45465 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45466 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45467 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45469 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45470 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45472 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45474 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45475 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45476 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45477 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45479 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45480 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45481 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45482 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45483 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45484 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45485 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45486 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45487 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45488 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45489 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45490 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45491 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45492 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45493 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45494 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45495 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45496 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45497 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45499 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45506 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45508 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45510 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45518 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45523 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45524 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45541 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45542 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45543 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45544 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45547 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45548 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45550 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45551 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45554 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45555 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45556 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45558 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45561 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45562 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45564 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45568 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45569 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45570 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45571 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45572 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45573 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45575 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45576 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45577 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45578 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45579 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45580 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45581 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45595 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45596 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45597 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45598 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45599 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45600 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45601 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45602 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45603 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45604 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45605 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45606 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45607 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45608 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45609 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45610 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45611 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45612 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45613 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45614 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45615 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45616 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45617 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45618 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45619 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45620 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45621 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45622 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45623 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45624 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45625 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45626 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45627 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45628 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45629 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45630 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45632 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45633 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45634 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45635 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45636 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45637 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45638 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45639 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45640 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45641 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45642 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45643 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45644 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45645 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45646 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45647 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45648 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45649 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45650 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45651 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45652 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45653 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45654 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45655 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45657 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45658 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45660 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45667 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45668 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45669 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45684 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45685 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45686 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45688 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45689 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45691 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45697 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45698 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45703 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45705 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45706 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45729 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45731 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45732 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45734 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45738 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45740 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45744 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45745 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45746 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45747 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45748 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45751 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45752 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45753 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45754 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45756 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45757 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45759 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45761 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45762 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45763 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45764 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45765 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45767 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45769 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45771 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45772 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45774 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45776 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45779 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45780 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45781 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45783 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45786 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45787 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45789 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45791 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45792 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45820 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45821 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45822 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45829 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45839 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
45842 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45846 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45848 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45854 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45860 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45861 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45862 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45864 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45868 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45870 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45871 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45874 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45875 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45877 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45879 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45880 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45881 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45883 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45884 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45885 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45886 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45888 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45891 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45892 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45894 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45902 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45903 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45904 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45905 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45906 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45907 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45908 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45909 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45910 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45912 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45914 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45916 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45918 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45920 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45921 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
45923 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
45925 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
45926 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
45927 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
45929 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
45930 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
45931 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
45933 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
45940 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
45941 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
45942 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
45943 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
45944 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
45950 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
45954 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
45956 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
45957 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
45962 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
45963 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
45965 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
45968 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
45970 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
45971 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45972 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45973 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
45975 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
45977 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
45979 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
45981 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
45983 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
45986 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
45987 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
45988 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
45990 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
45992 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
45993 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
45996 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
45998 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
45999 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46001 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46003 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46004 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46005 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46006 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46008 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46010 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46012 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46013 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46015 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46017 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46018 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46020 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46022 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46025 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46026 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46027 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46029 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46031 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46034 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46035 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46036 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46038 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46040 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46041 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46043 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46045 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46048 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46049 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46050 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46052 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46054 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46055 { NULL
, NULL
, 0, NULL
}
46059 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46061 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46062 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46064 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46065 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46067 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46068 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46070 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46071 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46073 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46074 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46076 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46077 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46079 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46080 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46082 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46083 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46085 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46086 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46088 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46089 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46091 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46092 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46094 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46095 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46097 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46100 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46101 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46103 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46106 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46107 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46109 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46110 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46112 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46113 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46115 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46116 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46118 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46119 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46121 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46122 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46124 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46125 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46127 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46128 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46130 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46131 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46133 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46136 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46137 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46139 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46140 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46142 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46143 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46145 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46146 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46148 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46149 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46151 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46152 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46154 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46155 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46157 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46160 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46161 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46163 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46164 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46166 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46167 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46169 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46170 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46172 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46173 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46175 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46176 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46178 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46179 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46181 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46182 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46184 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46185 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46187 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46188 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46190 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46193 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46194 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46196 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46197 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46199 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46200 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46202 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46205 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46206 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46208 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46209 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46211 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46212 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46214 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46215 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46217 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46218 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46220 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46221 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46223 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46224 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46226 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46227 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46229 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46230 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46232 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46233 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46235 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46236 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46238 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46239 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46241 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46242 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46244 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46245 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46247 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46248 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46250 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46251 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46253 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46254 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46256 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46257 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46259 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46260 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46262 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46263 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46265 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46266 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46268 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46269 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46271 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46272 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46274 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46275 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46277 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46278 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46280 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46281 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46283 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46284 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46286 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46287 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46289 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46290 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46292 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46293 return (void *)((wxControl
*) ((wxGauge
*) x
));
46295 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46296 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46298 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46299 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46301 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46302 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46304 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46305 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46307 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46308 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46310 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46311 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46313 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46314 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46316 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46317 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46319 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46320 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46322 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46323 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46325 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46326 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46328 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46329 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46331 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46332 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46334 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46335 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46337 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46338 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46340 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46341 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46343 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46344 return (void *)((wxControl
*) ((wxSlider
*) x
));
46346 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46347 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46349 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46350 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46352 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46353 return (void *)((wxControl
*) ((wxButton
*) x
));
46355 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46356 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46358 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46359 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46361 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46362 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46364 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46365 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46367 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46368 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46370 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46371 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46373 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46374 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46376 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46377 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46379 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46380 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46382 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46383 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46385 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46386 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46388 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46389 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46391 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46392 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46394 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46395 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46397 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46398 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46400 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46401 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46403 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46404 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46406 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46407 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46409 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46410 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46412 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46413 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46415 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46416 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46418 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46419 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46421 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46422 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46424 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46425 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46427 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46428 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46430 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46433 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46434 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46436 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46437 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46439 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46442 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46445 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46446 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46448 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46451 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46454 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46457 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46458 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46460 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46461 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46463 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46466 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46469 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46472 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46475 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46478 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46479 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46481 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46484 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46487 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46490 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46493 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46496 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46499 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46502 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46505 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46508 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46511 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46514 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46517 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46520 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46523 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46526 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46529 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46532 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46535 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46538 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46541 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46544 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46547 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46550 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46553 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46556 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46559 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46560 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46562 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46563 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46565 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46568 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46571 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46574 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46577 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46578 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46580 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46581 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46583 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46584 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46586 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46587 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46589 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46590 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46592 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46593 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46595 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46598 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46599 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46601 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46602 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46604 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46607 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46608 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46610 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46611 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46613 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46614 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46616 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46617 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46619 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46620 return (void *)((wxObject
*) ((wxSizer
*) x
));
46622 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46623 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46625 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46628 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46631 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46632 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46634 static void *_p_wxEventTo_p_wxObject(void *x
) {
46635 return (void *)((wxObject
*) ((wxEvent
*) x
));
46637 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46638 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46640 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46641 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46643 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46644 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46646 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46649 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46652 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46655 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46658 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46661 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46662 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46664 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46665 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46667 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46668 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46670 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46671 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46673 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46674 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46676 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46677 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46679 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46682 static void *_p_wxControlTo_p_wxObject(void *x
) {
46683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46685 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46688 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46691 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46694 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46697 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46700 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46701 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46703 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46706 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46709 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46710 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46712 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46715 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46716 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46718 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46719 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46721 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46724 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46727 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46730 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46733 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46736 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46737 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46739 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46742 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46745 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46748 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46749 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46751 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46754 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46757 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46758 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46760 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46763 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46764 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46766 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46769 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46770 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46772 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46773 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46775 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46776 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46778 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46779 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46781 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46782 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46784 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46785 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46787 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46790 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46791 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46793 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46796 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46797 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46799 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46800 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46802 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46803 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46805 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46806 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46808 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46809 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46811 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46812 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46814 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46815 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46817 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46818 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46820 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46821 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46823 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46824 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46826 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46827 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46829 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46830 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46832 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46833 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46835 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46836 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46838 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46841 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46844 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46847 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46850 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46853 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46856 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46859 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46860 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46862 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46863 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46865 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46868 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46871 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46874 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46877 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46878 return (void *)((wxObject
*) ((wxListItem
*) x
));
46880 static void *_p_wxImageTo_p_wxObject(void *x
) {
46881 return (void *)((wxObject
*) ((wxImage
*) x
));
46883 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46884 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46886 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46889 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46890 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46892 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46895 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46898 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46901 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46902 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46904 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46905 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46907 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46908 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46910 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46913 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46914 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46916 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46917 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46919 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46920 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46922 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46923 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46925 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46928 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46929 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46931 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46934 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46935 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46937 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46940 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46943 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46946 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46949 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46952 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46955 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46958 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46961 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46964 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46967 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46970 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46973 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46976 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46979 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46982 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46985 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46988 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46991 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46994 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
46997 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47000 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47003 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47006 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47007 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47009 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47010 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47012 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47013 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47015 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47016 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47018 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47019 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47021 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47022 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47024 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47025 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47027 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47028 return (void *)((wxWindow
*) ((wxControl
*) x
));
47030 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47031 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47033 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47034 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47036 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47037 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47039 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47040 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47042 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47043 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47045 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47046 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47048 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47049 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47051 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47052 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47054 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47055 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47057 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47058 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47060 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47061 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47063 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47064 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47066 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47067 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47069 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47070 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47072 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47073 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47075 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47076 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47078 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47079 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47081 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47082 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47084 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47085 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47087 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47088 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47090 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47091 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47093 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47094 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47096 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47097 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47099 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47100 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47102 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47103 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47105 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47106 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47108 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47109 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47111 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47112 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47114 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47115 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47117 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47118 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47120 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47121 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47123 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47124 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47126 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47127 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47129 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47130 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47132 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47133 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47135 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47136 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47138 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47139 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47141 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47142 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47144 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47145 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47147 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47148 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47150 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47151 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47153 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47154 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47156 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47157 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47159 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47160 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47162 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47163 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47165 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47166 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47168 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47169 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47171 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47172 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47174 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47175 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47177 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47178 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47180 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47181 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47183 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47184 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47186 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47187 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47189 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47190 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47192 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47193 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47195 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47196 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47198 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47199 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47201 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47202 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47204 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47205 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47207 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47208 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47210 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47211 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47213 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47214 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47216 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47217 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47219 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47220 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47222 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47223 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47225 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47226 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47228 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47229 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47231 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47232 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47234 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47235 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47237 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47238 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47240 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47241 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47243 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47244 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47246 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47247 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47248 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};
47249 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47250 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47251 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47252 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47253 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47254 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47255 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47256 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47257 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47258 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47259 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47260 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47261 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47262 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47263 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47264 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47265 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47266 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47267 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47268 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47269 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47270 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47271 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47272 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47273 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47274 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47275 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47276 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47277 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47278 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47279 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47280 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47281 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47282 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47283 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47284 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47285 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47286 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47287 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47288 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47289 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47290 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47291 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47292 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47293 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47294 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47295 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47296 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47297 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47298 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47299 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47300 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47301 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47302 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47303 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47304 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47305 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47306 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47307 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47308 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47309 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47310 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47311 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47312 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47313 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47314 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47315 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47316 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47317 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47318 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47319 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47320 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47321 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47322 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47323 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47324 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47325 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47326 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47327 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47328 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47329 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47330 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47331 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47332 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47333 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47334 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47335 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47336 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47337 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47338 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47339 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47340 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47341 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47342 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47343 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47344 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47345 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47346 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47347 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47348 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47349 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47350 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47351 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47352 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47353 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47354 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47355 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47356 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47357 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47358 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47359 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47360 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47361 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47362 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47363 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47364 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47365 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47366 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47367 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47368 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47369 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47370 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47371 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47372 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47373 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47374 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47375 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47376 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47377 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47378 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47379 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47380 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47381 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47382 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47383 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47384 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47385 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47386 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47387 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47388 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47389 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47390 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47391 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47392 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47393 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47394 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47395 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47396 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47397 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47398 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47399 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47400 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47401 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47402 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47403 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47404 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47405 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47406 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47407 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47408 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47409 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47410 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47411 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47412 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
47413 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47414 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47415 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47416 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47417 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47418 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47419 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47420 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47422 static swig_type_info
*swig_type_initial
[] = {
47425 &_swigt__p_form_ops_t
,
47428 &_swigt__p_unsigned_char
,
47429 &_swigt__p_unsigned_int
,
47430 &_swigt__p_unsigned_long
,
47432 &_swigt__p_wxANIHandler
,
47433 &_swigt__p_wxAcceleratorTable
,
47434 &_swigt__p_wxActivateEvent
,
47435 &_swigt__p_wxArrayInt
,
47436 &_swigt__p_wxArrayString
,
47437 &_swigt__p_wxBMPHandler
,
47438 &_swigt__p_wxBitmap
,
47439 &_swigt__p_wxBitmapButton
,
47440 &_swigt__p_wxBookCtrlBase
,
47441 &_swigt__p_wxBookCtrlBaseEvent
,
47442 &_swigt__p_wxBoxSizer
,
47443 &_swigt__p_wxButton
,
47444 &_swigt__p_wxCURHandler
,
47445 &_swigt__p_wxCheckBox
,
47446 &_swigt__p_wxCheckListBox
,
47447 &_swigt__p_wxChildFocusEvent
,
47448 &_swigt__p_wxChoice
,
47449 &_swigt__p_wxChoicebook
,
47450 &_swigt__p_wxChoicebookEvent
,
47451 &_swigt__p_wxClipboardTextEvent
,
47452 &_swigt__p_wxCloseEvent
,
47453 &_swigt__p_wxColour
,
47454 &_swigt__p_wxColourPickerCtrl
,
47455 &_swigt__p_wxColourPickerEvent
,
47456 &_swigt__p_wxComboBox
,
47457 &_swigt__p_wxCommandEvent
,
47458 &_swigt__p_wxContextHelp
,
47459 &_swigt__p_wxContextHelpButton
,
47460 &_swigt__p_wxContextMenuEvent
,
47461 &_swigt__p_wxControl
,
47462 &_swigt__p_wxControlWithItems
,
47463 &_swigt__p_wxCursor
,
47465 &_swigt__p_wxDateEvent
,
47466 &_swigt__p_wxDatePickerCtrl
,
47467 &_swigt__p_wxDateTime
,
47468 &_swigt__p_wxDirFilterListCtrl
,
47469 &_swigt__p_wxDirPickerCtrl
,
47470 &_swigt__p_wxDisplayChangedEvent
,
47471 &_swigt__p_wxDropFilesEvent
,
47472 &_swigt__p_wxDuplexMode
,
47473 &_swigt__p_wxEraseEvent
,
47474 &_swigt__p_wxEvent
,
47475 &_swigt__p_wxEvtHandler
,
47476 &_swigt__p_wxFSFile
,
47477 &_swigt__p_wxFileDirPickerEvent
,
47478 &_swigt__p_wxFilePickerCtrl
,
47479 &_swigt__p_wxFileSystem
,
47480 &_swigt__p_wxFlexGridSizer
,
47481 &_swigt__p_wxFocusEvent
,
47483 &_swigt__p_wxFontPickerCtrl
,
47484 &_swigt__p_wxFontPickerEvent
,
47485 &_swigt__p_wxGBSizerItem
,
47486 &_swigt__p_wxGIFHandler
,
47487 &_swigt__p_wxGauge
,
47488 &_swigt__p_wxGenericDirCtrl
,
47489 &_swigt__p_wxGenericDragImage
,
47490 &_swigt__p_wxGridBagSizer
,
47491 &_swigt__p_wxGridSizer
,
47492 &_swigt__p_wxHelpEvent
,
47493 &_swigt__p_wxHelpProvider
,
47494 &_swigt__p_wxHyperlinkCtrl
,
47495 &_swigt__p_wxHyperlinkEvent
,
47496 &_swigt__p_wxICOHandler
,
47498 &_swigt__p_wxIconizeEvent
,
47499 &_swigt__p_wxIdleEvent
,
47500 &_swigt__p_wxImage
,
47501 &_swigt__p_wxImageHandler
,
47502 &_swigt__p_wxImageList
,
47503 &_swigt__p_wxIndividualLayoutConstraint
,
47504 &_swigt__p_wxInitDialogEvent
,
47505 &_swigt__p_wxItemContainer
,
47506 &_swigt__p_wxJPEGHandler
,
47507 &_swigt__p_wxKeyEvent
,
47508 &_swigt__p_wxLayoutConstraints
,
47509 &_swigt__p_wxListBox
,
47510 &_swigt__p_wxListEvent
,
47511 &_swigt__p_wxListItem
,
47512 &_swigt__p_wxListItemAttr
,
47513 &_swigt__p_wxListView
,
47514 &_swigt__p_wxListbook
,
47515 &_swigt__p_wxListbookEvent
,
47516 &_swigt__p_wxMaximizeEvent
,
47517 &_swigt__p_wxMemoryDC
,
47519 &_swigt__p_wxMenuBar
,
47520 &_swigt__p_wxMenuEvent
,
47521 &_swigt__p_wxMenuItem
,
47522 &_swigt__p_wxMouseCaptureChangedEvent
,
47523 &_swigt__p_wxMouseEvent
,
47524 &_swigt__p_wxMoveEvent
,
47525 &_swigt__p_wxNavigationKeyEvent
,
47526 &_swigt__p_wxNcPaintEvent
,
47527 &_swigt__p_wxNotebook
,
47528 &_swigt__p_wxNotebookEvent
,
47529 &_swigt__p_wxNotifyEvent
,
47530 &_swigt__p_wxObject
,
47531 &_swigt__p_wxPCXHandler
,
47532 &_swigt__p_wxPNGHandler
,
47533 &_swigt__p_wxPNMHandler
,
47534 &_swigt__p_wxPaintEvent
,
47535 &_swigt__p_wxPaletteChangedEvent
,
47536 &_swigt__p_wxPaperSize
,
47537 &_swigt__p_wxPickerBase
,
47538 &_swigt__p_wxPoint
,
47539 &_swigt__p_wxPyApp
,
47540 &_swigt__p_wxPyCommandEvent
,
47541 &_swigt__p_wxPyControl
,
47542 &_swigt__p_wxPyEvent
,
47543 &_swigt__p_wxPyImageHandler
,
47544 &_swigt__p_wxPyListCtrl
,
47545 &_swigt__p_wxPySizer
,
47546 &_swigt__p_wxPyTreeCtrl
,
47547 &_swigt__p_wxPyTreeItemData
,
47548 &_swigt__p_wxPyValidator
,
47549 &_swigt__p_wxQueryNewPaletteEvent
,
47550 &_swigt__p_wxRadioBox
,
47551 &_swigt__p_wxRadioButton
,
47553 &_swigt__p_wxScrollBar
,
47554 &_swigt__p_wxScrollEvent
,
47555 &_swigt__p_wxScrollWinEvent
,
47556 &_swigt__p_wxSetCursorEvent
,
47557 &_swigt__p_wxShowEvent
,
47558 &_swigt__p_wxSimpleHelpProvider
,
47560 &_swigt__p_wxSizeEvent
,
47561 &_swigt__p_wxSizer
,
47562 &_swigt__p_wxSizerItem
,
47563 &_swigt__p_wxSlider
,
47564 &_swigt__p_wxSpinButton
,
47565 &_swigt__p_wxSpinCtrl
,
47566 &_swigt__p_wxSpinEvent
,
47567 &_swigt__p_wxStaticBitmap
,
47568 &_swigt__p_wxStaticBox
,
47569 &_swigt__p_wxStaticBoxSizer
,
47570 &_swigt__p_wxStaticLine
,
47571 &_swigt__p_wxStaticText
,
47572 &_swigt__p_wxStdDialogButtonSizer
,
47573 &_swigt__p_wxString
,
47574 &_swigt__p_wxSysColourChangedEvent
,
47575 &_swigt__p_wxTIFFHandler
,
47576 &_swigt__p_wxTextAttr
,
47577 &_swigt__p_wxTextCtrl
,
47578 &_swigt__p_wxTextUrlEvent
,
47579 &_swigt__p_wxToggleButton
,
47580 &_swigt__p_wxToolBar
,
47581 &_swigt__p_wxToolBarBase
,
47582 &_swigt__p_wxToolBarToolBase
,
47583 &_swigt__p_wxToolbook
,
47584 &_swigt__p_wxToolbookEvent
,
47585 &_swigt__p_wxTreeCtrl
,
47586 &_swigt__p_wxTreeEvent
,
47587 &_swigt__p_wxTreeItemId
,
47588 &_swigt__p_wxTreebook
,
47589 &_swigt__p_wxTreebookEvent
,
47590 &_swigt__p_wxUpdateUIEvent
,
47591 &_swigt__p_wxValidator
,
47592 &_swigt__p_wxVisualAttributes
,
47593 &_swigt__p_wxWindow
,
47594 &_swigt__p_wxWindowBase
,
47595 &_swigt__p_wxWindowCreateEvent
,
47596 &_swigt__p_wxWindowDestroyEvent
,
47597 &_swigt__p_wxXPMHandler
,
47600 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47601 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47602 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47603 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47604 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47605 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47606 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47607 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47608 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47609 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47610 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47611 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47612 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}};
47613 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}};
47614 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}};
47615 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}};
47616 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47617 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47618 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}};
47619 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47620 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47621 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47622 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47623 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47624 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47625 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47626 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47627 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47628 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47629 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47630 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47631 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47632 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47633 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47634 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
47635 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47636 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47637 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
47638 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}};
47639 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47640 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47641 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47642 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47643 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47644 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47645 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47646 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47647 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47648 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47649 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47650 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47651 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47652 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47653 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47654 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47655 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47656 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47657 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47658 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47659 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47660 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47661 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47662 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47663 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47664 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47665 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47666 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47667 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47668 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47669 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47670 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
47671 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47672 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47673 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47674 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47675 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
47676 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47677 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47678 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47679 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47680 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47681 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47682 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47683 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47684 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47685 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}};
47686 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47687 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47688 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47689 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47690 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}};
47691 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47692 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}};
47693 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47694 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47695 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47696 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47697 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47698 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47699 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47700 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47701 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47702 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47703 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}};
47704 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47705 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47706 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47707 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47708 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47709 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47710 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47711 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47712 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47713 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47714 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47715 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47716 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47717 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47718 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47719 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47720 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47721 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47722 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47723 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47724 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47725 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47726 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47727 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47728 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47729 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47730 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47731 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47732 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47733 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47734 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
47735 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47736 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}};
47737 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47738 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47739 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}};
47740 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47741 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47742 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47743 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47744 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47745 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47746 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47747 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47748 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47749 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47750 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47751 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47752 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47753 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47754 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47755 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47756 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47757 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47762 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}};
47763 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47765 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47766 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47767 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47768 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47769 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47770 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47771 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}};
47772 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47773 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
47774 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47776 static swig_cast_info
*swig_cast_initial
[] = {
47779 _swigc__p_form_ops_t
,
47782 _swigc__p_unsigned_char
,
47783 _swigc__p_unsigned_int
,
47784 _swigc__p_unsigned_long
,
47786 _swigc__p_wxANIHandler
,
47787 _swigc__p_wxAcceleratorTable
,
47788 _swigc__p_wxActivateEvent
,
47789 _swigc__p_wxArrayInt
,
47790 _swigc__p_wxArrayString
,
47791 _swigc__p_wxBMPHandler
,
47792 _swigc__p_wxBitmap
,
47793 _swigc__p_wxBitmapButton
,
47794 _swigc__p_wxBookCtrlBase
,
47795 _swigc__p_wxBookCtrlBaseEvent
,
47796 _swigc__p_wxBoxSizer
,
47797 _swigc__p_wxButton
,
47798 _swigc__p_wxCURHandler
,
47799 _swigc__p_wxCheckBox
,
47800 _swigc__p_wxCheckListBox
,
47801 _swigc__p_wxChildFocusEvent
,
47802 _swigc__p_wxChoice
,
47803 _swigc__p_wxChoicebook
,
47804 _swigc__p_wxChoicebookEvent
,
47805 _swigc__p_wxClipboardTextEvent
,
47806 _swigc__p_wxCloseEvent
,
47807 _swigc__p_wxColour
,
47808 _swigc__p_wxColourPickerCtrl
,
47809 _swigc__p_wxColourPickerEvent
,
47810 _swigc__p_wxComboBox
,
47811 _swigc__p_wxCommandEvent
,
47812 _swigc__p_wxContextHelp
,
47813 _swigc__p_wxContextHelpButton
,
47814 _swigc__p_wxContextMenuEvent
,
47815 _swigc__p_wxControl
,
47816 _swigc__p_wxControlWithItems
,
47817 _swigc__p_wxCursor
,
47819 _swigc__p_wxDateEvent
,
47820 _swigc__p_wxDatePickerCtrl
,
47821 _swigc__p_wxDateTime
,
47822 _swigc__p_wxDirFilterListCtrl
,
47823 _swigc__p_wxDirPickerCtrl
,
47824 _swigc__p_wxDisplayChangedEvent
,
47825 _swigc__p_wxDropFilesEvent
,
47826 _swigc__p_wxDuplexMode
,
47827 _swigc__p_wxEraseEvent
,
47829 _swigc__p_wxEvtHandler
,
47830 _swigc__p_wxFSFile
,
47831 _swigc__p_wxFileDirPickerEvent
,
47832 _swigc__p_wxFilePickerCtrl
,
47833 _swigc__p_wxFileSystem
,
47834 _swigc__p_wxFlexGridSizer
,
47835 _swigc__p_wxFocusEvent
,
47837 _swigc__p_wxFontPickerCtrl
,
47838 _swigc__p_wxFontPickerEvent
,
47839 _swigc__p_wxGBSizerItem
,
47840 _swigc__p_wxGIFHandler
,
47842 _swigc__p_wxGenericDirCtrl
,
47843 _swigc__p_wxGenericDragImage
,
47844 _swigc__p_wxGridBagSizer
,
47845 _swigc__p_wxGridSizer
,
47846 _swigc__p_wxHelpEvent
,
47847 _swigc__p_wxHelpProvider
,
47848 _swigc__p_wxHyperlinkCtrl
,
47849 _swigc__p_wxHyperlinkEvent
,
47850 _swigc__p_wxICOHandler
,
47852 _swigc__p_wxIconizeEvent
,
47853 _swigc__p_wxIdleEvent
,
47855 _swigc__p_wxImageHandler
,
47856 _swigc__p_wxImageList
,
47857 _swigc__p_wxIndividualLayoutConstraint
,
47858 _swigc__p_wxInitDialogEvent
,
47859 _swigc__p_wxItemContainer
,
47860 _swigc__p_wxJPEGHandler
,
47861 _swigc__p_wxKeyEvent
,
47862 _swigc__p_wxLayoutConstraints
,
47863 _swigc__p_wxListBox
,
47864 _swigc__p_wxListEvent
,
47865 _swigc__p_wxListItem
,
47866 _swigc__p_wxListItemAttr
,
47867 _swigc__p_wxListView
,
47868 _swigc__p_wxListbook
,
47869 _swigc__p_wxListbookEvent
,
47870 _swigc__p_wxMaximizeEvent
,
47871 _swigc__p_wxMemoryDC
,
47873 _swigc__p_wxMenuBar
,
47874 _swigc__p_wxMenuEvent
,
47875 _swigc__p_wxMenuItem
,
47876 _swigc__p_wxMouseCaptureChangedEvent
,
47877 _swigc__p_wxMouseEvent
,
47878 _swigc__p_wxMoveEvent
,
47879 _swigc__p_wxNavigationKeyEvent
,
47880 _swigc__p_wxNcPaintEvent
,
47881 _swigc__p_wxNotebook
,
47882 _swigc__p_wxNotebookEvent
,
47883 _swigc__p_wxNotifyEvent
,
47884 _swigc__p_wxObject
,
47885 _swigc__p_wxPCXHandler
,
47886 _swigc__p_wxPNGHandler
,
47887 _swigc__p_wxPNMHandler
,
47888 _swigc__p_wxPaintEvent
,
47889 _swigc__p_wxPaletteChangedEvent
,
47890 _swigc__p_wxPaperSize
,
47891 _swigc__p_wxPickerBase
,
47894 _swigc__p_wxPyCommandEvent
,
47895 _swigc__p_wxPyControl
,
47896 _swigc__p_wxPyEvent
,
47897 _swigc__p_wxPyImageHandler
,
47898 _swigc__p_wxPyListCtrl
,
47899 _swigc__p_wxPySizer
,
47900 _swigc__p_wxPyTreeCtrl
,
47901 _swigc__p_wxPyTreeItemData
,
47902 _swigc__p_wxPyValidator
,
47903 _swigc__p_wxQueryNewPaletteEvent
,
47904 _swigc__p_wxRadioBox
,
47905 _swigc__p_wxRadioButton
,
47907 _swigc__p_wxScrollBar
,
47908 _swigc__p_wxScrollEvent
,
47909 _swigc__p_wxScrollWinEvent
,
47910 _swigc__p_wxSetCursorEvent
,
47911 _swigc__p_wxShowEvent
,
47912 _swigc__p_wxSimpleHelpProvider
,
47914 _swigc__p_wxSizeEvent
,
47916 _swigc__p_wxSizerItem
,
47917 _swigc__p_wxSlider
,
47918 _swigc__p_wxSpinButton
,
47919 _swigc__p_wxSpinCtrl
,
47920 _swigc__p_wxSpinEvent
,
47921 _swigc__p_wxStaticBitmap
,
47922 _swigc__p_wxStaticBox
,
47923 _swigc__p_wxStaticBoxSizer
,
47924 _swigc__p_wxStaticLine
,
47925 _swigc__p_wxStaticText
,
47926 _swigc__p_wxStdDialogButtonSizer
,
47927 _swigc__p_wxString
,
47928 _swigc__p_wxSysColourChangedEvent
,
47929 _swigc__p_wxTIFFHandler
,
47930 _swigc__p_wxTextAttr
,
47931 _swigc__p_wxTextCtrl
,
47932 _swigc__p_wxTextUrlEvent
,
47933 _swigc__p_wxToggleButton
,
47934 _swigc__p_wxToolBar
,
47935 _swigc__p_wxToolBarBase
,
47936 _swigc__p_wxToolBarToolBase
,
47937 _swigc__p_wxToolbook
,
47938 _swigc__p_wxToolbookEvent
,
47939 _swigc__p_wxTreeCtrl
,
47940 _swigc__p_wxTreeEvent
,
47941 _swigc__p_wxTreeItemId
,
47942 _swigc__p_wxTreebook
,
47943 _swigc__p_wxTreebookEvent
,
47944 _swigc__p_wxUpdateUIEvent
,
47945 _swigc__p_wxValidator
,
47946 _swigc__p_wxVisualAttributes
,
47947 _swigc__p_wxWindow
,
47948 _swigc__p_wxWindowBase
,
47949 _swigc__p_wxWindowCreateEvent
,
47950 _swigc__p_wxWindowDestroyEvent
,
47951 _swigc__p_wxXPMHandler
,
47955 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47957 static swig_const_info swig_const_table
[] = {
47958 {0, 0, 0, 0.0, 0, 0}};
47963 /* -----------------------------------------------------------------------------
47964 * Type initialization:
47965 * This problem is tough by the requirement that no dynamic
47966 * memory is used. Also, since swig_type_info structures store pointers to
47967 * swig_cast_info structures and swig_cast_info structures store pointers back
47968 * to swig_type_info structures, we need some lookup code at initialization.
47969 * The idea is that swig generates all the structures that are needed.
47970 * The runtime then collects these partially filled structures.
47971 * The SWIG_InitializeModule function takes these initial arrays out of
47972 * swig_module, and does all the lookup, filling in the swig_module.types
47973 * array with the correct data and linking the correct swig_cast_info
47974 * structures together.
47976 * The generated swig_type_info structures are assigned staticly to an initial
47977 * array. We just loop though that array, and handle each type individually.
47978 * First we lookup if this type has been already loaded, and if so, use the
47979 * loaded structure instead of the generated one. Then we have to fill in the
47980 * cast linked list. The cast data is initially stored in something like a
47981 * two-dimensional array. Each row corresponds to a type (there are the same
47982 * number of rows as there are in the swig_type_initial array). Each entry in
47983 * a column is one of the swig_cast_info structures for that type.
47984 * The cast_initial array is actually an array of arrays, because each row has
47985 * a variable number of columns. So to actually build the cast linked list,
47986 * we find the array of casts associated with the type, and loop through it
47987 * adding the casts to the list. The one last trick we need to do is making
47988 * sure the type pointer in the swig_cast_info struct is correct.
47990 * First off, we lookup the cast->type name to see if it is already loaded.
47991 * There are three cases to handle:
47992 * 1) If the cast->type has already been loaded AND the type we are adding
47993 * casting info to has not been loaded (it is in this module), THEN we
47994 * replace the cast->type pointer with the type pointer that has already
47996 * 2) If BOTH types (the one we are adding casting info to, and the
47997 * cast->type) are loaded, THEN the cast info has already been loaded by
47998 * the previous module so we just ignore it.
47999 * 3) Finally, if cast->type has not already been loaded, then we add that
48000 * swig_cast_info to the linked list (because the cast->type) pointer will
48002 * ----------------------------------------------------------------------------- */
48012 #define SWIGRUNTIME_DEBUG
48016 SWIG_InitializeModule(void *clientdata
) {
48018 swig_module_info
*module_head
;
48019 static int init_run
= 0;
48021 clientdata
= clientdata
;
48023 if (init_run
) return;
48026 /* Initialize the swig_module */
48027 swig_module
.type_initial
= swig_type_initial
;
48028 swig_module
.cast_initial
= swig_cast_initial
;
48030 /* Try and load any already created modules */
48031 module_head
= SWIG_GetModule(clientdata
);
48033 swig_module
.next
= module_head
->next
;
48034 module_head
->next
= &swig_module
;
48036 /* This is the first module loaded */
48037 swig_module
.next
= &swig_module
;
48038 SWIG_SetModule(clientdata
, &swig_module
);
48041 /* Now work on filling in swig_module.types */
48042 #ifdef SWIGRUNTIME_DEBUG
48043 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48045 for (i
= 0; i
< swig_module
.size
; ++i
) {
48046 swig_type_info
*type
= 0;
48047 swig_type_info
*ret
;
48048 swig_cast_info
*cast
;
48050 #ifdef SWIGRUNTIME_DEBUG
48051 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48054 /* if there is another module already loaded */
48055 if (swig_module
.next
!= &swig_module
) {
48056 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48059 /* Overwrite clientdata field */
48060 #ifdef SWIGRUNTIME_DEBUG
48061 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48063 if (swig_module
.type_initial
[i
]->clientdata
) {
48064 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48065 #ifdef SWIGRUNTIME_DEBUG
48066 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48070 type
= swig_module
.type_initial
[i
];
48073 /* Insert casting types */
48074 cast
= swig_module
.cast_initial
[i
];
48075 while (cast
->type
) {
48076 /* Don't need to add information already in the list */
48078 #ifdef SWIGRUNTIME_DEBUG
48079 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48081 if (swig_module
.next
!= &swig_module
) {
48082 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48083 #ifdef SWIGRUNTIME_DEBUG
48084 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48088 if (type
== swig_module
.type_initial
[i
]) {
48089 #ifdef SWIGRUNTIME_DEBUG
48090 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48095 /* Check for casting already in the list */
48096 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48097 #ifdef SWIGRUNTIME_DEBUG
48098 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48100 if (!ocast
) ret
= 0;
48105 #ifdef SWIGRUNTIME_DEBUG
48106 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48109 type
->cast
->prev
= cast
;
48110 cast
->next
= type
->cast
;
48116 /* Set entry in modules->types array equal to the type */
48117 swig_module
.types
[i
] = type
;
48119 swig_module
.types
[i
] = 0;
48121 #ifdef SWIGRUNTIME_DEBUG
48122 printf("**** SWIG_InitializeModule: Cast List ******\n");
48123 for (i
= 0; i
< swig_module
.size
; ++i
) {
48125 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48126 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48127 while (cast
->type
) {
48128 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48132 printf("---- Total casts: %d\n",j
);
48134 printf("**** SWIG_InitializeModule: Cast List ******\n");
48138 /* This function will propagate the clientdata field of type to
48139 * any new swig_type_info structures that have been added into the list
48140 * of equivalent types. It is like calling
48141 * SWIG_TypeClientData(type, clientdata) a second time.
48144 SWIG_PropagateClientData(void) {
48146 swig_cast_info
*equiv
;
48147 static int init_run
= 0;
48149 if (init_run
) return;
48152 for (i
= 0; i
< swig_module
.size
; i
++) {
48153 if (swig_module
.types
[i
]->clientdata
) {
48154 equiv
= swig_module
.types
[i
]->cast
;
48156 if (!equiv
->converter
) {
48157 if (equiv
->type
&& !equiv
->type
->clientdata
)
48158 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48160 equiv
= equiv
->next
;
48180 /* Python-specific SWIG API */
48181 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48182 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48183 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48185 /* -----------------------------------------------------------------------------
48186 * global variable support code.
48187 * ----------------------------------------------------------------------------- */
48189 typedef struct swig_globalvar
{
48190 char *name
; /* Name of global variable */
48191 PyObject
*(*get_attr
)(void); /* Return the current value */
48192 int (*set_attr
)(PyObject
*); /* Set the value */
48193 struct swig_globalvar
*next
;
48196 typedef struct swig_varlinkobject
{
48198 swig_globalvar
*vars
;
48199 } swig_varlinkobject
;
48201 SWIGINTERN PyObject
*
48202 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48203 return PyString_FromString("<Swig global variables>");
48206 SWIGINTERN PyObject
*
48207 swig_varlink_str(swig_varlinkobject
*v
) {
48208 PyObject
*str
= PyString_FromString("(");
48209 swig_globalvar
*var
;
48210 for (var
= v
->vars
; var
; var
=var
->next
) {
48211 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48212 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48214 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48219 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48220 PyObject
*str
= swig_varlink_str(v
);
48221 fprintf(fp
,"Swig global variables ");
48222 fprintf(fp
,"%s\n", PyString_AsString(str
));
48228 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48229 swig_globalvar
*var
= v
->vars
;
48231 swig_globalvar
*n
= var
->next
;
48238 SWIGINTERN PyObject
*
48239 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48240 PyObject
*res
= NULL
;
48241 swig_globalvar
*var
= v
->vars
;
48243 if (strcmp(var
->name
,n
) == 0) {
48244 res
= (*var
->get_attr
)();
48249 if (res
== NULL
&& !PyErr_Occurred()) {
48250 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48256 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48258 swig_globalvar
*var
= v
->vars
;
48260 if (strcmp(var
->name
,n
) == 0) {
48261 res
= (*var
->set_attr
)(p
);
48266 if (res
== 1 && !PyErr_Occurred()) {
48267 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48272 SWIGINTERN PyTypeObject
*
48273 swig_varlink_type(void) {
48274 static char varlink__doc__
[] = "Swig var link object";
48275 static PyTypeObject varlink_type
;
48276 static int type_init
= 0;
48278 const PyTypeObject tmp
48280 PyObject_HEAD_INIT(NULL
)
48281 0, /* Number of items in variable part (ob_size) */
48282 (char *)"swigvarlink", /* Type name (tp_name) */
48283 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48284 0, /* Itemsize (tp_itemsize) */
48285 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48286 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48287 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48288 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48289 0, /* tp_compare */
48290 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48291 0, /* tp_as_number */
48292 0, /* tp_as_sequence */
48293 0, /* tp_as_mapping */
48296 (reprfunc
)swig_varlink_str
, /* tp_str */
48297 0, /* tp_getattro */
48298 0, /* tp_setattro */
48299 0, /* tp_as_buffer */
48301 varlink__doc__
, /* tp_doc */
48302 0, /* tp_traverse */
48304 0, /* tp_richcompare */
48305 0, /* tp_weaklistoffset */
48306 #if PY_VERSION_HEX >= 0x02020000
48307 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48309 #if PY_VERSION_HEX >= 0x02030000
48312 #ifdef COUNT_ALLOCS
48313 0,0,0,0 /* tp_alloc -> tp_next */
48316 varlink_type
= tmp
;
48317 varlink_type
.ob_type
= &PyType_Type
;
48320 return &varlink_type
;
48323 /* Create a variable linking object for use later */
48324 SWIGINTERN PyObject
*
48325 SWIG_Python_newvarlink(void) {
48326 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48330 return ((PyObject
*) result
);
48334 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48335 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48336 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48338 size_t size
= strlen(name
)+1;
48339 gv
->name
= (char *)malloc(size
);
48341 strncpy(gv
->name
,name
,size
);
48342 gv
->get_attr
= get_attr
;
48343 gv
->set_attr
= set_attr
;
48344 gv
->next
= v
->vars
;
48350 SWIGINTERN PyObject
*
48352 static PyObject
*_SWIG_globals
= 0;
48353 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48354 return _SWIG_globals
;
48357 /* -----------------------------------------------------------------------------
48358 * constants/methods manipulation
48359 * ----------------------------------------------------------------------------- */
48361 /* Install Constants */
48363 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48366 for (i
= 0; constants
[i
].type
; ++i
) {
48367 switch(constants
[i
].type
) {
48368 case SWIG_PY_POINTER
:
48369 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48371 case SWIG_PY_BINARY
:
48372 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48379 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48385 /* -----------------------------------------------------------------------------*/
48386 /* Fix SwigMethods to carry the callback ptrs when needed */
48387 /* -----------------------------------------------------------------------------*/
48390 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48391 swig_const_info
*const_table
,
48392 swig_type_info
**types
,
48393 swig_type_info
**types_initial
) {
48395 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48396 const char *c
= methods
[i
].ml_doc
;
48397 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48399 swig_const_info
*ci
= 0;
48400 const char *name
= c
+ 10;
48401 for (j
= 0; const_table
[j
].type
; ++j
) {
48402 if (strncmp(const_table
[j
].name
, name
,
48403 strlen(const_table
[j
].name
)) == 0) {
48404 ci
= &(const_table
[j
]);
48409 size_t shift
= (ci
->ptype
) - types
;
48410 swig_type_info
*ty
= types_initial
[shift
];
48411 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48412 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48413 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48416 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48418 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48420 strncpy(buff
, "swig_ptr: ", 10);
48422 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48423 methods
[i
].ml_doc
= ndoc
;
48435 /* -----------------------------------------------------------------------------*
48436 * Partial Init method
48437 * -----------------------------------------------------------------------------*/
48442 SWIGEXPORT
void SWIG_init(void) {
48445 /* Fix SwigMethods to carry the callback ptrs when needed */
48446 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48448 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48449 d
= PyModule_GetDict(m
);
48451 SWIG_InitializeModule(0);
48452 SWIG_InstallConstants(d
,swig_const_table
);
48455 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48456 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48457 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48458 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48459 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48460 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48461 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48462 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48463 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48464 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48465 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48466 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48467 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48468 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48469 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48470 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48471 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48472 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48473 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48474 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48475 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48476 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48477 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48478 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48479 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48480 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48481 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48482 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48483 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48484 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48485 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48486 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48487 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48488 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48489 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48490 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48491 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48492 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48493 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48494 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48495 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48496 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48497 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48498 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48499 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48500 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48501 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48502 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48503 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48504 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48505 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48506 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48507 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48508 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48509 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48510 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48511 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48512 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48513 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48514 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48515 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48516 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48517 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48518 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48519 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48520 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48521 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48522 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48523 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48524 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48525 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48526 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48527 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48528 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48529 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48530 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48531 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48532 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48533 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48534 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48535 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48536 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48537 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48538 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48539 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48540 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48541 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48542 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48543 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48544 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48545 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48546 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48547 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48548 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48549 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48550 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48551 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48552 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48553 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48554 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48555 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48556 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48557 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48558 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48559 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48560 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48561 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48562 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48563 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48564 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48565 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48566 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48567 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48568 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48569 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48570 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48571 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48572 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48573 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48574 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48575 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48576 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48577 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48578 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48579 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48580 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48581 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48582 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48583 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48584 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48585 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48586 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48587 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48588 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48589 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48590 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48591 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48592 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48593 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48594 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48595 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48596 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48597 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48598 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48599 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48600 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48601 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48602 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48603 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48604 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48605 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48606 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48607 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48608 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48609 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48610 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48611 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48612 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48613 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48614 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48615 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48616 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48617 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48618 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48619 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48620 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48621 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48622 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48623 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48624 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48625 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48626 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48627 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48628 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48629 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48630 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48631 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48632 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48633 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48634 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48635 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48636 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48637 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48638 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48639 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48640 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48641 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48642 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48643 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48644 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48645 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48646 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48647 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48648 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48649 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48650 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48651 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48652 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48653 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48654 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48655 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48656 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48657 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48658 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48659 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48660 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48661 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48662 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48663 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48664 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48665 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48666 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48667 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48668 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48669 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48670 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48671 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48672 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48673 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48674 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48675 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48676 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48677 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48678 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48679 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48680 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48681 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48682 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48683 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48684 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48685 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48686 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48687 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48688 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48689 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48690 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48691 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48692 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48706 // Map renamed classes back to their common name for OOR
48707 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48709 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48710 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48711 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48712 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48713 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48714 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48715 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48716 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48717 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48718 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48719 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48720 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48721 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48722 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48723 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48724 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48725 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48726 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48727 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48728 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48729 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48730 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48731 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48732 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48733 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48734 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48735 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48736 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48737 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48738 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48739 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48740 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48741 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48742 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48743 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48744 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48745 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48746 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48747 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48748 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48749 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48750 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48764 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48766 // Map renamed classes back to their common name for OOR
48767 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48768 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48770 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48771 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48772 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48773 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48774 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48775 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48776 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48777 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48778 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48779 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48780 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48781 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48782 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48784 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48786 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48787 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48788 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48789 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48790 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48791 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48792 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48793 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48794 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48795 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48796 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48797 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48798 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48799 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48800 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48801 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48802 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48803 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48804 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48805 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48806 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48807 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48808 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48809 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48810 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48811 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48812 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48813 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48814 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48815 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48816 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48817 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48818 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48819 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48820 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48821 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48822 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48823 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48824 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48825 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));